On 29 Dec 2004, Roland Besserer wrote:
>[...]
> 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':
>
> started new transaction, based on original revision 1
> * adding path : documentation ... done.
> * adding path : branches ... done.
> * adding path : tags ... done.
> * adding path : trunk ... done.
> * adding path : trunk/business ... done.
> * adding path : trunk/design ... done.
> * adding path : trunk/meetings ... done.
> * adding path : trunk/presentations ... done.
> * adding path : trunk/reference ... done.
> * adding path : trunk/reference/DAVIC ... done.
> * adding path : trunk/design/DesignBook/DesignBook.pdf ...svn: Checksum mis
> match, rep 'a':
> expected: 225d1ed316bf0830dbdd6c50ff1e79e7
> actual: f41751bce1f5fe359351df3a9b37be30
>
> Has anyone seen this problem before?
I haven't, but the first thing that occurs to me is, what platform are you
running, and which version of 'sed'? Some versions are not very good with
long lines and/or lines containing control characters, so it may be that
'sed' is messing with the file contents.... If you're not using it already
you may have better luck with GNU 'sed'; failing that converting your
'sed' to 'perl' may well do the trick (the 's2p' utility will convert
'sed' to 'perl' if you're not a perl wizard...)
Patrick
--
The easy way to type accents in Windows: http://www.frkeys.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 14:33:33 2004