patchify (a Patch command solution)
From: Sean Russell <ser_at_germane-software.com>
Date: 2002-02-11 10:32:08 CET
-----BEGIN PGP SIGNED MESSAGE-----
I'm sorry if anybody sees this multiple times. Karl says he didn't see it,
=== ORIGINAL MESSAGE
Here's the script. It is a Ruby script, but lord knows that one of you could
You run it thusly:
patchify.rb <reject_file>
It takes advantage of the fact that the reject file is named
When it is done, you will have <file> and <file>.xxxxx.local, where your file
The diff markers look like this:
a
It /should/ handle paths properly; IE,
patchify.rb some/relative/path/file.xxxxx.xxxxx.rej
should work, but I haven't tested it yet. Also, the .rej must be in the same
Attached, rather than quoted, to avoid formatting errors. Renaming it won't
- - --
|.. I started out with nothing! I have most of it left.
iD8DBQE8Z4+ZP0KxygnleI8RAgnZAJ92jgw6kHsSUzpabYa7IumwFvXUnQCgkges
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.