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

Re: Unable to svnadmin load an edited dumpfile

From: Flavio Stanchina <flavio_at_stanchina.net>
Date: 2007-03-23 17:53:51 CET

qbase wrote:
> I run step3 in alephzarros guide like this
> sed -e "s/Node-path: projects\//Node path: /" [...]
> sed -e "s/Node-copyfrom-path: projects\//Node path: /" [...]

Well... Are the missing hyphen between 'Node' and 'path' and the turning
of 'Node-copyfrom-path' into 'Node path' just typos you made while
writing your mail, or did you actually do that to your dump?

Some side notes:

Anchor the match to the beginning of lines for additional safety, and
use # rather than / as the delimiter to avoid the need to escape real
  sed -e "s#^Node-path: projects/#Node-path: #" [...]

Also note that you can run sed just once by using multiple -e options:
  sed -e "s/1/2/" -e "s/a/b/" < proj.dump > proj-fixed.dump

> <<< Started new transaction, based on original revision 4
> svnadmin: Unrecognized record type in stream
> It seems like it's the "sed -e..." part that causes my problem.

You're running sed on Windows, perchance? I've been doing this kind of
editing on Linux and I've never had problems.

Ciao, Flavio
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 23 17:54:34 2007

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.