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

Re: repository conversion on windows fails / binary file

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-06-11 22:51:32 CEST

Branko Čibej <brane@xbc.nu> writes:

> > The solution is to reopen the streams in binary mode, obviously. I
> > wonder how you do that in APR.
> >
> BTW, I can dump and reload a repo that only contains text files. And I
> just confirmed my suspicions by adding a ^Z in a file in the wrong
> place.

Branko, you rock. Thank you so much for finding the root of the problem.

> * Where are the checksums? I thought there would be checksums ...

Just never got around to it, "in the interest of rapidly getting the
product to market." It's an option in the dumpstream spec; I figured
we'd put it into version 2 of the dumpstream format someday. Feel
free to add them, though.

> * Why are we dumping timestamps in the old, weird format that we're
> about to forget how to parse?)

Timestamps? The only timestamps in the dumpstream are the values of
the svn:date property attached to revisions. That's generated by
libsvn_fs when you commit a revision... so the dumper has nothing to
do with it; those datestrings were made by the repository long ago.

[Regarding datestamps: ATM, the client knows how to parse old-style
and new-style (ISO8601) stamps; Hadaka plans to change the server
libraries to start producing *only* ISO8601 formats RSN.]

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jun 11 22:53:32 2002

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