[ On Thursday, September 12, 2002 at 16:26:28 (+0200), Massimiliano Cialdi wrote: ]
> Subject: moving a file
>
> how can I move a file from a directory to another whithout loose the history?

        $ cd ..
        $ cp foodir/barfile blahdir
        $ cvs rm -f foodir/barfile
        $ cd blahdir
        $ cvs add barfile
        $ cd ..
        $ cvs commit -m '- moved foodir/barfile to blahdir/barfile' foodir/barfile 
blahdir/barfile

No history is lost.  You should still be able to do "cvs log foodir/barfile"

The final "death" entry in the log for the old file will tell you where
the new file is and the first entry in the log of the new file will tell
you where it came from.

-- 
                                                                Greg A. Woods

+1 416 218-0098;            <[EMAIL PROTECTED]>;           <[EMAIL PROTECTED]>
Planix, Inc. <[EMAIL PROTECTED]>; VE3TCP; Secrets of the Weird <[EMAIL PROTECTED]>


_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to