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

Re: cvs2svn: log conversion

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2004-02-23 06:09:48 CET

On Thu, 2004-02-19 at 19:20, Dmitry Mikhin wrote:
> On Wed, 18 Feb 2004 at 21:13, Greg Hudson wrote:
> > Put another way: if you "svn add" a file, then "svn rm" it, then "svn
> > add" the same filename again (committing after each step), an svn log on
> > the filename will only show the new incarnation.

> But note: this is precisely the spot where something fishy happened! And I would
> want to know what happened and 'svn log' will tell me ... well, nothing. As if
> there was nothing here before. I would appreciate at least some indication that
> there was another file with the same name before the last 'svn add'. Or, better,
> the full history of that file.

The only way you can really get that behavior is to give up on
versioning directories and go back to the CVS model where all versioning
is by pathname. That may be the preferred behavior for some use cases,
but it's a radical departure from what Subversion is.

(Why is this the only way you can get that behavior? Because in
Subversion, the new file might have its own history reaching back to
before the old file was removed. Asking "svn log" to display some
history information about the file and some history information about
the pathname is a recipe for a complicated and mystifying system.)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Feb 23 06:09:45 2004

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

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