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

Re: question on making a new module from a subdirectory of an existing one

From: Adam Monsen <haircut_at_gmail.com>
Date: 2005-06-05 20:58:06 CEST

On 6/3/05, Ben Collins-Sussman <sussman@collab.net> wrote:
[...]
> If so, then yes, you can 'svnadmin dump' the repository, then use
> 'svndumpfilter' and 'svnadmin load' to load the sub-project's
> histories into independent repositories. See chapter 5 in the book.

I'm running into a problem with this, and I wonder if there's already
a bug filed. I wasn't able to find a bug report, but it seems like
it's been mentioned before on the dev mailing list.

The error I'm encountering looks like this when I attempt to use
svndumpfilter on a repository dump. First, I dump the repository:

----------------------8<----------------------
$ svnadmin dump /home/adamm/svn/my_root > dumpfile
* Dumped revision 1.
...
* Dumped revision 1731.
---------------------->8----------------------

Then I try to filter the dumpfile:

----------------------8<----------------------
$ cat dumpfile | svndumpfilter include \
> trunk/personal/code/c++/quizmo \
> --drop-empty-revs --renumber-revs > quizmo.dump
Including (and dropping empty revisions for) prefixes:
   '/trunk/personal/code/c++/quizmo'

Revision 0 committed as 0.
Revision 1 skipped.
Revision 2 skipped.
...
Revision 1717 skipped.
svn: Invalid copy source path '/trunk/personal/code/c++/quizbot'
---------------------->8----------------------

(Note: the quizbot directory was renamed to quizmo)

This problem was mentioned here (repro steps included):
http://svn.haxx.se/dev/archive-2004-11/1094.shtml

and briefly here, though this post might not be as relevant:
http://svn.haxx.se/dev/archive-2004-11/0805.shtml

Is there a fix for this, or do you have any idea if there is a way for
me to manually edit the dumpfile and somehow work around this bug?

-- 
Adam Monsen
http://adammonsen.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Jun 5 21:19:53 2005

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.