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

RE: Move directory

From: Harvey, Edward <Edward.Harvey_at_patni.com>
Date: Wed, 26 Mar 2008 23:44:13 -0400

No, I don't think this is a good idea, unless there's a misunderstanding. Just to be sure there's no misunderstanding, I'm going to restate what I think is the original question...

You have a repository, file:///path
You have a working copy, which I'll just assume is ~/workingcopy
You have a subdirectory, "project" which is inside your working copy, and full of a bunch of stuff. So you have a subdir of your working copy, which is associated to a repository URL as follows:
        ~/workingcopy/project <--> file:///path/project
You realized that you should have created "branches" "tags" and "trunk" for the project.

If you follow what Paul says, you'll end up with something like this...
        ~/workingcopy/project/trunk <--> file:///path/project

But I think you should do this:
        cd ~/workingcopy/project
        mkdir trunk
        svn add trunk
        svn mv * trunk
        mkdir branches tags
        svn add branches tags
If you follow what I say, you'll end up with something like this...
        ~/workingcopy/project/trunk <--> file:///path/project/trunk

> -----Original Message-----
> From: Paul Koning [mailto:Paul_Koning_at_dell.com]
> Sent: Wednesday, March 26, 2008 10:56 AM
> To: koen_at_vermeer.tv
> Cc: users_at_subversion.tigris.org
> Subject: Re: Move directory
>
> Try it in steps:
>
> 1. rename "project" to "foo"
> 2. mkdir "project"
> 3. rename "foo" to "project/trunk"
>
> paul
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-03-27 04:44:48 CET

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.