[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [DEFECT] cvs2svn.py does not honor --no-prune

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2004-02-15 04:53:47 CET

Ling Li <ling@caltech.edu> writes:

> I am confused by your comment. cvs2svn help gives
> --no-prune don't prune empty directories
> So when --no-prune is used, the empty directories in CVS repository
> should be included in the SVN repository. Am I right? But what cvs2svn
> did was not.

Ah. This is likely a bug in cvs2svn. CVS (and the RCS on which is
built) does not version directories -- directories are just containers
for the file data that *is* versioned by CVS. Unless I'm mistaken,
cvs2svn only creates directories if they are needed as intermediate
path pieces toward some versioned file. If you have directories in
your CVS repository that are empty (have to ,v files at all), then
yes, I would expect cvs2svn to behave in the way you are seeing it
behave. I suppose we could, in --no-prune mode, forcibly create empty
directory structures where we lack them compared to the original CVS

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Feb 15 04:54:43 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.