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

Re: General question about webdav and autoversioning

From: Toby Johnson <toby_at_etjohnson.us>
Date: 2005-06-11 22:35:58 CEST

Matheus Leite wrote:

>I am using WebDrive, and to test its behavior, I renamed a file and
>issued a "svn log --verbose" command. Below is the output. It seems
>the file got deleted, then added again. Does anyone else has had this
>experience with WebDrive?
>
>Autoversioning commit: a non-deltaV client made a change to
>/
>------------------------------------------------------------------------
>r3 | matheus | 2005-06-11 03:15:19 -0300 (sáb, 11 jun 2005) | 2 lines
>Changed paths:
> D /foo.doc
> A /bar.doc (from foo.doc:2)
>
>
Subversion does not currently have true "rename" support. What it does
is delete the old file, then add a new file "with history". This means
that you can inspect the new file's history and see everything that
happened to it under the old filename. For all intents and purposes,
this is really the same thing as a rename; Subversion just doesn't
really do a good job of hiding those details from the user.

That's what the "bar.doc (from foo.doc:2)" means: it added a new file,
but with all the history of foo.doc at Revision 2. So yes, your client
correctly performed a file rename. Do an "svn log" on bar.doc and you
will see all its history.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jun 11 22:37:54 2005

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