You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Marko Kaening <mk...@mch.osram.de> on 2006/03/24 11:52:41 UTC

renaming a module without need for complete checkout possible?

Hi,

say I have a directory with lots of data in it and I need to rename it.
I can do this easily with svn, but this process deletes everything in the 
old directory and does a complete checkout for the whole (though only 
renamed) directory afterwards.

Is there a workaround for this if I want to avoid this (in some cases 
quite long) process.

Marko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: renaming a module without need for complete checkout possible?

Posted by Scott Palmer <sc...@2connected.org>.
On 24-Mar-06, at 6:52 AM, Marko Kaening wrote:

> Hi,
>
> say I have a directory with lots of data in it and I need to rename  
> it.
> I can do this easily with svn, but this process deletes everything  
> in the
> old directory and does a complete checkout for the whole (though only
> renamed) directory afterwards.
>
> Is there a workaround for this if I want to avoid this (in some cases
> quite long) process.

See: svn switch

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: renaming a module without need for complete checkout possible?

Posted by Nico Kadel-Garcia <nk...@comcast.net>.
Marko Kaening wrote:
> Hi,
> 
> say I have a directory with lots of data in it and I need to rename
> it. I can do this easily with svn, but this process deletes
> everything in the old directory and does a complete checkout for the
> whole (though only renamed) directory afterwards.
> 
> Is there a workaround for this if I want to avoid this (in some cases
> quite long) process.

svn move https://[reponame]/dirname https://[reponame]/newdirname

svn switch [localdir] https://[reponame]/newdirname

Or don't you have command line tools?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org