[Cvsnt] Next release features

Bo Berglund Bo.Berglund at system3r.se
Fri Mar 8 13:01:41 GMT 2002


-----Original Message-----
From: tmh at nothing-on.tv [mailto:tmh at nothing-on.tv]
Sent: den 8 mars 2002 06:48
To: cvsnt at cvsnt.org
Subject: [Cvsnt] Next release features

..
rename and copy commands (easy)
..
Is this really easy???

Scenario:
File mystupidfile.c is included in the module
It has a number of revisions and tags
It is also mentioned in a number of header files and in the make script

Now if this file could be renamed to mygoodfile.c in the cvs repo,
then what will happen with old revisions?
I assume that the developer makes sure that when he does the rename in his
sandbox he also updates all dependent files before the commit. But that will
be for the current revisions only...

Now imagine an update to an old tag before the rename was done.
Will CVS then send back the file with the name as it is now in the repository
(changed in the future) or will the filename be the old name?

Or will the rename look for all occurencies within other files for the old
name and change to the new one?

Also in Pascal (Delphi) form files come in pairs (.pas and .dfm) so if one
is renamed the other must also be renamed otherwise catastrophy is imminent.

I doubt this to be an easy change....

/Bo

_______________________________________________
Cvsnt mailing list
Cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt



More information about the cvsnt mailing list