info-cvs
[Top][All Lists]
Advanced

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

Re: Q: commit to new repo?


From: Frederic Brehm
Subject: Re: Q: commit to new repo?
Date: Thu, 13 May 2004 16:29:03 -0400

At 03:58 PM 5/13/2004, kj wrote:
I have a whole bunch of source code that I have been committing to
one repository, and now I'm supposed to switch my commits to another
(pre-existing) repository (long story).  I know that I can just
use "cvs -d <second_repo> import", but I'm concerned about losing
a lot of valuable revision history when I do this.  Is there a way
to avoid this information loss?

The history of the file "joe.java" that you have been working on is in a file in the original repository. Do a "cvs status joe.java" and look on the line "Repository revision:". It has the name of the repository file. It ends in the string "/joe.java,v".

Simply copy the joe.java,v file from the original repository into the correct place in the new repository.

Fred



_______________________________________________________________
Frederic W. Brehm, Sarnoff Corporation, http://www.sarnoff.com/





reply via email to

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