Tip of the day: Using wiggle to reduce merge conflicts
From: Øyvind A. Holm <sunny_at_sunbase.org>
Date: 2005-04-04 08:40:52 CEST
The "svn merge" command usually works fine, but when the
As an example, I have this Perl project which contains some files, the
newbranch$ svn merge -r739:740 /path/to/repo/branches/oldbranch .
But, by using wiggle, another method is used: Create a diff, use
newbranch$ svn diff -r739:740 /path/to/repo/branches/oldbranch | patch -p0
If patch(1) is unable to patch the files properly, it creates a "reject
newbranch$ wiggle --replace index.cgi index.cgi.rej
Most of the conflicts were in old CVS keywords ($Id$ and such), but I'm
The wiggle program is just a "apt-get install wiggle" away if you're
http://cgi.cse.unsw.edu.au/~neilb/source/wiggle/
Happy patching from sunny256
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.