Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I copy subdirectories of a working copy in svn 1.7 while keeping the metadata?

svn 1.7 improves the working copy metadata format so there are no .svn directories in every directory of a working copy but one central store per working copy.

Now I want to copy sudirectories of a wcorking copy to another place (not check them out in the new place) where there is no working copy and use them there with svn (and all this on Windows with TortoiseSVN or the commandline). This was easy till 1.6 (just copy the directories), but now obviously the copies don't have any metadata attached anymore.

How to do this?

like image 568
Martin Schröder Avatar asked Jan 13 '12 11:01

Martin Schröder


People also ask

How do I copy files from one SVN folder to another?

The easiest way to copy files and folders from within a working copy is to use the right drag menu. When you right drag a file or folder from one working copy to another, or even within the same folder, a context menu appears when you release the mouse.

What is a working copy in SVN?

Working copies A Subversion working copy is your own private working area, which looks like any other ordinary directory on your system. It contains a COPY of those files which you will have been editing on the website. You can edit these files however you wish, in the usual way.

How do I find my SVN working copy?

You can use the svn command line utility svn info from the working copy root directory. It will tell you revision, repository url and much more.


1 Answers

It's not supported yet. See http://www.mail-archive.com/[email protected]/msg09857.html

You'll have to do a fresh checkout, or to copy the subtree and do a switch on this subtree.

like image 152
JB Nizet Avatar answered Dec 03 '22 09:12

JB Nizet