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

Re: Aventures with the dump file format

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2003-12-08 04:51:00 CET

Edmund Horner <edmund@chrysophylax.cjb.net> writes:

> C. Michael Pilato wrote:
> > Are you opening the dumpfile input stream without the "binary" flag on
> > a Windows system? This sounds like a line-ending issue.
>
> I'm not sure that it is. Running under Cygwin, I haven't had any EOL
> problems that I know about. Though I do get lots of them when
> compiling with -mno-cygwin. I think it's just me messing up my own
> dump file.

Well, just keep in mind that the dumpfile format, while generally
human-readable, is a binary one. This mean, for example, that if you
use fopen() to parse it, you must pass the "b" flag to set the input
style to binary.

> If a loaded dump file node contains props that are exactly the same as
> the existing props for that path, will the DB record that as a prop
> change?

Yes. You will be tainting the history of your repository.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Dec 9 04:53:08 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.