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

Copying code from one repository to another

From: Kamil Libich <kamil.libich_at_gmail.com>
Date: Thu, 31 May 2012 15:48:54 +0100

I have not to small repository with the one piece of software. This
software has a lot features; some of them are project specific, some of
them are not. I decided to 'extract' one of the non-specific features and
since that moment to maintain it in another existing repository which holds
my non-project specific features, which I can reuse later on in another
projects. I don't want to copy ALL history. I'd like to make a copy based
on one revision, and having that continuing development under newly created
repository. I don't care what will happen with the previous development
path in old repository.

What I wanted to do to use svn copy command but it finishes in error saying
the repositories don't seem to be the same.

The second approach was to define externals in the WC and having them
checked out do the svn copy command. I've finished with something similar
as formerly.

So what I did was: already having the externals checked out in the Init
folder in the WC linked with the destination repository I've created the
Source folder; then I've manually copied the stuff from Init folder, I've
added it, committed, and as the next step I've destroyed the external
association.

It works, because analysing the log I've the traceability, so I know what,
when, who and what for, but I'm thinking maybe there is a more gentle
solution.

Is there?

K.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2968145

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-06-02 02:58:46 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.