[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: merge/diff
From: |
Derek Scherger |
Subject: |
Re: merge/diff |
Date: |
Mon, 05 Mar 2001 13:36:01 -0700 |
Great idea, thanks Mike!
For the record, here's what I did:
cvs diff -bw -r HEAD -r branch-tag filename > patch.txt
vi patch.txt
patch < patch.txt
I was a bit surprised when the patch applied cleanly after I had
(carefully) hacked a bunch of stuff out, only one hunk failed and
everything else worked out great. A few minor edits the resulting file
and I'm away.
Thanks again!
Cheers,
Derek
Mike Castle wrote:
>
> On Fri, Mar 02, 2001 at 03:52:03PM -0700, Derek Scherger wrote:
> > Is there any way to control the diffing done by cvs update -j so that it
> > ignores whitespace differences? At the moment I'm reduced to manually
> > applying the changes that cvs diff -bw sees rather than trying to fix up
> > the conflicts caused by merging. Neither situation is particularly
> > pleasant however!
>
> If you do a cvs diff -bw -u and then use patch, do you get fewer conflicts
> than
> using cvs straight forward?
>
> I know that in the past I had a situation where I could not get cvs to
> merge and had to resort to using the patch program externally after
> generating diffs in a slightly different manner.
>
> mrc
> --
> Mike Castle Life is like a clock: You can work constantly
> address@hidden and be right all the time, or not work at all
> www.netcom.com/~dalgoda/ and be right at least twice a day. -- mrc
> We are all of us living in the shadow of Manhattan. -- Watchmen
>
> _______________________________________________
> Info-cvs mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/info-cvs