[Top][All Lists]

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

Re: The best approach for moving files and retaining history

From: Todd Denniston
Subject: Re: The best approach for moving files and retaining history
Date: Tue, 30 Jun 2009 19:19:08 -0400
User-agent: Thunderbird (X11/20081209)

Arthur Barrett wrote, On 06/30/2009 04:34 PM:
Ultimately, I would like to know if my approach is good or bad.

The two techniques are neither good nor bad just different each with
it's own advantages and disadvantages.

Alternatively if you are using CVSNT (on unix/linux/win/mac) you can use
the rename command.

Curiosity has struck me...

Plagiarizing some from Rez P
method A:
copy the files to a newly created folder, add, and commit, with a cvs remove the originals and commit.
method B:
go to the server side and copy all the 'v' files, to the new folder, then cvs remove originals and commit.

I know:
Method A makes it look like the files, in the new directory, have no history.
        if comments are done properly cvs2cl shows the change over.
Method B has all the history, but can be a bit confusing if you checkout an old tag. Likely there will not be a comment in the new files to show that they moved, so cvs2cl will be less than useful at detecting it.

what is the behavior of the CVSNT rename command?
what does it's repository markings look like in cvs2cl? ( or
If I were trying to mimic it by hand what would it most look like?

Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

reply via email to

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