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

Re: multiple moves

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-11-26 19:44:27 CET

"Ich Selbst" <ichselbst@gmx.ch> writes:

> Hi,
>
> Right now if I do the following:
>
> svn mv file1 file2
> svn mv file2 file3
> then an error occurs since it's not allowed to move a file twice.
> But I think that should be possible. Imagine the following:
>
> svn mv this_is_my_file this_is_nt_my_file
> svn mv this_is_nt_my_file this_is_not_my_file
>
> in the first line there was a typo (nt instead of not) and
> now it's impossible to correct that typo. Ok, sure, a revert-copy-rm
> could solve that but as far as I remember a revert would also
> undo all changes made to the file since the last commit?
>
> comments?

We've had this discussion many times. Read the commentary at the very
bottom of libsvn_wc/copy.c.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Nov 26 19:47:13 2002

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.