info-cvs
[Top][All Lists]
Advanced

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

Re: "<filename> created independently by second party"


From: Larry Jones
Subject: Re: "<filename> created independently by second party"
Date: Thu, 9 Oct 2003 11:21:10 -0400 (EDT)

Andy Jones writes:
> 
> So when I went to commit the files back in my local working copy I got 
> "<filename> created independantly by second party".  I couldn't merge away 
> the conflict.  In the end I just cvs remove'd the version from the import.
> 
> My question is, was there a better, cleaner way out of that conflict?

Temporarily rename your local file; do a "cvs rm" on the original name
to "unadd" it; update to get the file from the repository; check to be
sure that you really want your local file instead; then rename your
local file back, replacing the one you just got.

> Shouldn't a cvs update have merged the differences between the two 
> versions?

As far as CVS knows, the two file have nothing whatsoever to do with
each other.  Without a common ancestor, there's nothing to merge --
you'd just have one big conflict with the entire contents of both files,
so there's no point in even trying.

-Larry Jones

Hello, local Navy recruitment office?  Yes, this is an emergency... -- Calvin




reply via email to

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