You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Jim Jagielski <ji...@devsys.jaguNET.com> on 1999/06/22 21:09:56 UTC
CVS Question: moving files
Quick question. How does one move/rename files under CVS and maintain
history?
--
===========================================================================
Jim Jagielski ||| jim@jaguNET.com ||| http://www.jaguNET.com/
"That's no ordinary rabbit... that's the most foul,
cruel and bad-tempered rodent you ever laid eyes on"
Re: CVS Question: moving files
Posted by Wilfredo Sanchez <ws...@apple.com>.
| You generally log into the cvs server and "cp /cvsroot/old/file
| /cvsroot/new/file" and then from a working tree do a "cvs rm
old/file" ...
| that preserves the history in both locations.
You also might want to remove the existing tags in the new copy,
so that when one checks out -r FOO, they don't start getting new
files that weren't part of FOO when FOO was tagged.
-Fred
--
Wilfredo Sanchez, wsanchez@apple.com
Apple Computer, Inc., Core Operating Systems / BSD
Technical Lead, Darwin Project
1 Infinite Loop, 302-4K, Cupertino, CA 95014
Re: CVS Question: moving files
Posted by Dean Gaudet <dg...@arctic.org>.
You generally log into the cvs server and "cp /cvsroot/old/file
/cvsroot/new/file" and then from a working tree do a "cvs rm old/file" ...
that preserves the history in both locations.
Dean
On Tue, 22 Jun 1999, Jim Jagielski wrote:
> Quick question. How does one move/rename files under CVS and maintain
> history?
> --
> ===========================================================================
> Jim Jagielski ||| jim@jaguNET.com ||| http://www.jaguNET.com/
> "That's no ordinary rabbit... that's the most foul,
> cruel and bad-tempered rodent you ever laid eyes on"
>