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

Re: Change name of checkout directory

From: Andy Levy <andy.levy_at_gmail.com>
Date: Fri, 16 May 2008 13:43:47 -0400

Please make sure you Reply To All so that your responses come to the list.

On Fri, May 16, 2008 at 1:26 PM, Dieter Oberkofler
<d.1234567890_at_qualiant.at> wrote:
> So if checkout into a directory /MyDev/trunk, Im allowed to change MyDev but
> not trunk?

If you did:

svn co <URL> /MyDev

and trunk is a subdirectory of the URL (and thus created by the
checkout), then yes - you can rename MyDev, but trunk is
SVN-controlled and can't be renamed locally. If you locally rename it
(ren trunk mytrunk or mv trunk mytrunk instead of svn mv trunk
mytrunk) then Subversion will see trunk as "missing" and on your next
update, it will be re-created from the repository.

> -----Original Message-----
> From: Andy Levy [mailto:andy.levy_at_gmail.com]
> Sent: Friday, May 16, 2008 19:18
> To: d.1234567890_at_qualiant.at
> Cc: users_at_subversion.tigris.org
> Subject: Re: Change name of checkout directory
>
> On Fri, May 16, 2008 at 1:14 PM, Dieter Oberkofler
> <d.1234567890_at_qualiant.at> wrote:
>> Is it possible and supported to change the name of a checkout directory?
>
> As long as you're just changing the highest level directory (the one
> containing the entire working copy), rename it like you'd rename any other
> directory. WCs are self-contained and not tied to the name you gave them
> when you checked them out.
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-05-16 19:44:10 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.