info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: merge revision conflict


From: Pierre Asselin
Subject: Re: merge revision conflict
Date: Thu, 19 May 2005 23:59:44 +0000 (UTC)
User-agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (NetBSD/2.0 (i386))

Dean Do <address@hidden> wrote:

> I'm currently running CVS 1.10.4 on Solaris.  I have a issue with merge in
> which the only conflict is the CVS revision.  Is there any switch to tell
> CVS to ignore diff in revs?  Oftentimes, both files on the branch and the
> HEAD are already in sync, however, only their CVS revisions are different,
> e.g.

> <<<<<<< foobar.c
> * $Revision: 1.1.12.5 $  $Date: 2005/05/13 00:51:04 $
> =======
> * $Revision: 1.4 $  $Date: 2005/05/12 23:12:08 $
> >>>>>>> 1.4

Add the "-kk" flag to the command that does the merge.  The keywords
won't be expanded (e.g. just "$Revision: $") and there won't be a
conflict.

The "-kk" flag is sticky to the sandbox.  Use "cvs update -A" to clear
it when you've committed your merge.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]