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

RE: SVN Book Method for Splitting Repos doesn't work

From: Scott Hughes <Scott.Hughes_at_dalsemi.com>
Date: 2004-12-30 05:51:03 CET

> Still leaves me at a loss why a simple sed script like:
>
> sed 's|^Node-path: documentation/|Node-path: |' <
> dump1 > dump2
>
> which removes the leading 'documentation/' part from all node paths
> would create this error on running 'svnadmin load newrepo < dump2':

I ran into this same issue. The problem I believe is that 'sed' is not
suited for binary data. Also, if you have any text files in your repo which
use '\r\n' line endings, sed will convert these to '\n'. That was my
experience after lots of trial and error. I found the best way to get the
same result was to open the file in 'vim' and executing a similar regular
expression: ":%s/Node-path: doc\//Node-path: /"

Scott

--
Scott Hughes - Engineer
shughes aht dalsemi daut com 
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 30 11:49:59 2004

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.