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

Re: Changing Dump Paths

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2004-01-09 14:56:27 CET

"Jan Hendrik" <jan.hendrik@bigfoot.com> writes:

> Concerning Re: Changing Dump Paths.
> > > > I'd do a simple search and replace to change the paths in the
> > > > project-a-dumpfile and project-b-dumpfile, but that would leave
> > > > empty 'Node-path:' entries lying around and probably cause
> > > > problems (I haven't actually tried it).
> At least under Win2000 it seems not to be possible to edit the
> dumpfile successfully. When I do so in either SciTE or EditPad and
> then load it into a new repository I get the message "Found
> malformed header block in dumpfiles stream". Comparing filesize
> before and after editing shows the file grew somewhat even if I just
> replaced one character by another. When saving with *nix style line
> endings the load process starts, but then stops for a mismatch of
> checksum. Am I missing something here or is this something I
> have to buy a Linux box for (and learn that OS first)?

All that you are missing is good council.

The Subversion dumpfile format is a binary one that just happens to be
(mostly) human readable. If you have versioned files with CRLF line
endings, and you dump that repository, you'll wind up with a dumpfile
that uses LF line endings for the dump meta-data, but CRLFs will
appear in the textual content of those files that have such endings.
This file is likely to break in any text editor, irrespective of OS.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 9 15:52:48 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.