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

Re: Creating a duplicate folder

From: Kevin Grover <kevin_at_kevingrover.net>
Date: Thu, 13 Mar 2008 18:17:03 -0700

On Thu, Mar 13, 2008 at 3:56 PM, bbaxter <blakeb_at_gallerywatch.com> wrote:
>
> I have a pretty simple question.
>
> On my local computer I have a folder 'website1.0' that is in my repository.
> now I want to make a folder called 'website2.0' in the same directory and
> copy everything from 1.0 to 2.0 out of it, except 1.0's .svn material, so I
> an commit it as a new folder. How would I do this?
> --
> View this message in context: http://www.nabble.com/Creating-a-duplicate-folder-tp16040605p16040605.html
> Sent from the tortoisesvn - users mailing list archive at Nabble.com.
>

Is there a reason you want to bypass svn copy and lose history?

svn copy http://svn.server.com/repo/path/to/website1.0
http://svn.server.com/repo/path/to/website2.0 -m "Used website1.0 as
start for website2.0"

in TSVN, you can right-click drag-and-drop (and choose 'SVN Copy and
rename versioned file here.'), or use the repo browser.

If you _really_ want to get a copy of website1.0 without the .svn
directory, you can use svn export. However, you'll lose all history,
properties, and duplicate storage.

In TSVN you can right-click drag and drop and choose export. You'll
probably have to export to a different directory (than the source for
website1.0), so you can rename it, then drag it back in. However, the
'SVN Copy' is probably what you really want.

- Kevin

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-03-14 02:17:12 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.