[Uml-devel] cvs

P. Fleury fleury at users.sourceforge.net
Sat Mar 8 05:25:04 UTC 2003


Mathias Meyer wrote:

>On Friday 07 March 2003 18:39 Andrew Sutton wrote:
>  
>
>>does anybody know how to remove a directory from a cvs tree? for some
>>reason i can't quite seem to make the removal stick.
>>
>>    
>>
>It's not possible with purely calling the cvs command (cvs remove in this 
>case). You can suppress creation of empty directories with -P, but I 
>think the only way of removing a directory from the repository is by 
>deleting it directly your cvs root. That's the penalty of using CVS, 
>since it doesn't really support versioning of directories ;(
>  
>
Note that you'll lose the history of the deleted files, as in the 
repository they are still the *,v files. This is the reason why you 
cannot remove them through cvs commands, because cvs allows you to 
reconstruct older versions of the repository (which did contain these 
files). However, in you case, there are probably no tags and no version 
you'd like to recover, so removing them directly in the cvs repository 
is ok. If you do need these files later, however, expect very strange 
messages and weird behavior of cvs commands:-)

The fact that creating directories and pruning empty directories are 
global flags does not make life easier...

Has anybody looked at mcvs ? It uses the regular CVS repository, but can 
handle moving files, renaming and version directories.

--Pascal

>Regards,
>Mathias
>  
>






More information about the umbrello-devel mailing list