[Top][All Lists]

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

Re: CVS - Removing the latest revision

From: Henner Zeller
Subject: Re: CVS - Removing the latest revision
Date: Thu, 2 Aug 2001 20:58:04 +0200 (CEST)

LS| How does one remove the latest revision of an "older" file to pick
LS| up the "newer" files
LS| ex.     1.16    "older" file
LS|         1.15    "updated" file

you can do this with cvs admin somehow, but saver, and more 'correct' from
the SCM point of view, is to checkout the older file and commit it newly.

$ cvs status foo.txt
[..] revision 1.16
# overwrite foo.txt with the 
$ cvs update -p -r1.15 foo.txt >  foo.txt
$ cvs commit foo.txt
[..] revision 1.17
this checks out rev 1.15 to stdout, used to overwrite the 1.16 based
working revision, that becomes 1.17, then.


reply via email to

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