[cvsnt] Unable to access a renamed filed

Gerhard Fiedler lists at connectionbrazil.com
Fri Sep 5 12:30:39 BST 2008


Arthur Barrett wrote:

>> Since I have only renamed one file, is it possible of hack the
>> repository to permanently change the file name? 
> 
> Yes - this is the 'old' way.  If this is the only renamed file just
> delete the .directory_history,v before renaming the ,v file. 

Actually, this is one of the 'old' ways; the other is remove old/add new.
The disadvantage of renaming in the repo is that checkouts with tags before
the rename still get the new file name, which may break a build. (If you
renamed a file that is referenced in other files by name, for example a .c
file that's referenced in a makefile, a .h file that's included in a .c
file, etc.)

Gerhard


More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook