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

Re: Question about 'svn move' and commit behaviour in the repository.

From: Ryan Schmidt <subversion-2012c_at_ryandesign.com>
Date: Sat, 29 Sep 2012 01:53:17 -0500

On Sep 28, 2012, at 23:10, Ravi Roy <ravi.aroy_at_gmail.com> wrote:

> /trunk has these three folders. What I did was created a WC of /trunk and run the following command to move "folderA" into "folderC" :
>
> svn move http://myserver.mydomain.com/svn/MyRepo/folderA http://myserver.mydomain.com/svn/MyRepo/folderC -m "folderA moved to folderC"
>
> and command run successfully and new revision committed in the repository.

Right, and important to understand: you didn't even need to have a working copy to do that. Because you used URLs to the repository, the copy happened directly in the repository.

> I checked in the repository and folder it moved, but when I right click and show log of that folder it says folder does not exist but TortoiseSVN Repo browser shows that folder is moved and it is visible.
>
> http://svnbook.red-bean.com/en/1.6/svn.ref.svn.c.move.html says that it is possible to move WC--> WC and URL-->URL. But i'm not sure if I'm missing something here?
>
> Does URL-->URL move retain the history too ?

Yes.

> Can someobdy point as to what is wrong here?

Your working copy is out of date. Update it.

http://subversion.apache.org/faq.html#hidden-log
Received on 2012-09-29 08:54:02 CEST

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.