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

RE: Re: Changing Dump Paths

From: Leeuw van der, Tim <tim.leeuwvander_at_nl.unisys.com>
Date: 2004-01-09 11:33:03 CET

Hi,

I read somewhere, that the dumpfile-format is essentially a kind of binary
format, even though it appears as text.

Regarding the line-endings, I can imagine very well that svnadmin load is
sensitive to line-endings.

Regarding the checksum-error -- did you change a character somewhere in a
file contained in the dump? I can well imagine that file-contents are
checksummed in the dumpfile to protect against errors. That includes
probably text-files with non-unix type line-endings; meaning that the
dumpfile can potentially have mixed line-endings!

I don't know which text-editors would preserve such mixed line-endings in a
file.

About learning unix/linux before one can edit the dumpfile - I don't think
that should be required. There isn't anyhing that you magically can do on
unix/linux that you can't do on win2k. Perhaps you'll have to learn a few
unix-like textprocessing applications, to streamily search/replace through
the file. Depends on what you want, and what your editor can/can't do. But
no Linux text editor can magically do what your Win2k text editor can't do!
:-)

regards,

--Tim

-----Original Message-----
From: Jan Hendrik [mailto:jan.hendrik@bigfoot.com]
Sent: vrijdag 9 januari 2004 11:19
To: users@subversion.tigris.org
Subject: Re: Changing Dump Paths

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)? Not that I
needed dumpfile editing currently, just was curious, also in regard
of other possibilities this would offer.

TIA - Jan Hendrik

---------------------------------------
Freedom quote:

     Intellect annuls Fate. So far as a man thinks, he is free ...
     The revelation of Thought takes man out of servitude into freedom.
                 -- Ralph Waldo Emerson, Fate

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

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