info-cvs
[Top][All Lists]
Advanced

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

Re: rename question -- urgent!!


From: David L. Martin
Subject: Re: rename question -- urgent!!
Date: Thu, 12 Apr 2001 21:38:06 -0500

----- Original Message ----- 
From: "Chen, Susie" <address@hidden>

> I have two branches (A and B) off the HEAD. Both branches have a file
> "old.txt". What I have done is:
> 
> 1) On branch B, rename the file from <old.txt> to <new.txt> by
> removing,adding and then committing
> 2) merge branch B into HEAD

At this point, the trunk has old.txt removed and new.txt added.

> Next I am planning to merge branch A into HEAD. But the filename in A is
> still "old.txt" , and the file content is modified. I hope to merge the
> change into HEAD and keep the "new.txt" filename on the HEAD as well.

The branch A change to old.txt will be disregarded in the merge to the trunk
since old.txt no longer exists there.

> Is CVS smart enough to deal with it?

No, CVS will not help you here.  The "smart" must come from the developer
in this case.  CVS makes no association between old.txt and new.txt; as far
as CVS is concerned, these are two unrelated files.

David Martin




reply via email to

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