patchify (a Patch command solution)
From: Sean Russell <ser_at_germane-software.com>
Date: 2002-02-10 01:39:58 CET
-----BEGIN PGP SIGNED MESSAGE-----
Whew. That was /tons/ easier, but not nearly as gratifying.
Here's the script. It is a Ruby script, but lord knows that one of you could
You run it thusly:
patchify.rb <file> <reject_file>
It creates:
<file>.orig # the file before you or your nemesis changed it
and it changes your <file> to include diff3 markers, that look like this:
a
It /should/ handle paths properly; IE,
patchify.rb some/relative/path/file 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
- --
iD8DBQE8ZcFeP0KxygnleI8RAhbOAKCR4TbIPX0awmDIn5Hy/hMcwBUbJwCfdkXE
---------------------------------------------------------------------
|
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.