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

Re: Migrating a directory in a repository to a new repository - help! not working.

From: Johan Appelgren <johan.appelgren_at_gmail.com>
Date: 2005-08-19 17:52:45 CEST

On 8/19/05, James Lamanna <jamesl@appliedminds.com> wrote:
> Currently I have a repository, call it 'repos1', that has several
> top-level directories which all correspond to different projects (I
> didn't set up this structure).
> I want to move one of these project directories to a brand new
> repository, 'repos2'.
>
> I have done the following steps:
> - Wrote a small python script to parse the output of svn log
> http://server/repos1/Project1 to grab all pertinent revisions.
> - Ran svnadmin dump -r $rev --incremental /path/to/repos1 | svnadmin
> load /path/to/repos2 (where $rev is a revision range generated by the
> python script).
>
> After doing this I noticed I keep getting the following types of errors
> with the load:
>
> * adding path : path/file1 ...svn: File not found: revision 691, path
> 'path/file1'
> svn: Can't write to stream: Broken pipe
>
> or:
>
> * editing path : path/file2 ...svn: File not found: transaction 'jq',
> path 'path/file2'
>
> I really need help on this one because it's imperative that it get moved
> into its own repository.
>
> Thanks.
>

You might have better luck with svndumpfilter
<http://svnbook.red-bean.com/en/1.1/svn-book.html#svn-ch-5-sect-3.1.3>.

/Johan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 19 18:05:29 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.