Noel Yap wrote:
>[EMAIL PROTECTED] on 2000.07.20 13:37:52
>>Personally, I would like to see some sort of module "revert"
command.
>
>>Currently, I can only revert a file at a time by doing:
>>
>> rm file
>> cvs update file
>
>"cvs up -C" will revert files back to the repository copy. This is
available in
>cvs-1.10.8. I've posted a patch to fix a bug dealing with merges.
That's cool. I can use that.
>
>>Conceivably, I could write a script or an alias to do this
recursively
>>for every sub-module but I would prefer that cvs supported it "out
of
>>the box". To me, the meaning of "unedit" is the ideal command to do
>>this. So all I would do is:
>>
>> cvs unedit module
>>
>>and it would revert all my changes in module and all its
sub-modules.
>
>"cvs up" is the ideal place to do this, not "cvs unedit". Like I
said, "cvs
>unedit" is to facilitate communication -- nothing more, nothing less.
>
I think perhaps you are speaking as a cvs developer here not a cvs
user. To me "cvs unedit" has a closer meaning in english for
reverting files than "cvs update". But I guess the "cvs update -C"
isn't technically reverting files. Its updating them and throwing
away any local changes. I would still like to see "cvs unedit"
actually revert files (i.e. restore to the version you were editting
instead of the latest version).
--
Stephen Rasku E-mail: [EMAIL PROTECTED]
Senior Software Engineer Web: http://www.tgivan.com/
TGI Technologies http://www.pop-star.net/