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

Re: Over Including...

From: Blair Zajac <blair_at_orcaware.com>
Date: Mon, 28 Sep 2009 21:11:18 -0700

Kurt Federspiel wrote:
> Greets:
> I have a BIG repository that we are breaking apart into more manageable pieces. I got everyone to commit and sent them packing, updated everything to the latest & greatest, kicked everyone off the server (that didn't go packing), made a backup and began moving by removing from one repo and then adding to another.
> Then, I had an interesting issue; I got an error that said a directory was all ready under version control (as follows):
> user_at_PC:~/DEV $ svn add ./Include
> svn: warning: 'Include' is already under version control

So you have a checkout from one repository and you're trying to add it to a new
one? The working copy is still a working copy, so you'll have to get a fresh
checkout from the new repository and add the Include into there. There's no
distinction that the working copy is from a different repository.

Also, you know that you're not keeping history this way, just by adding it.

The real way to do this is to svnadmin dump and then use svndumpfilter to grab
portions of the repository into a new repository. The svn client shouldn't be


Blair Zajac, Ph.D.
CTO, OrcaWare Technologies
Subversion training, consulting and support
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-29 06:13:31 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.