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

[PATCH] Disambiguate description of dumpfile format

From: Michael Haggerty <mhagger_at_alum.mit.edu>
Date: Thu, 29 May 2008 21:26:48 +0200

The question is whether paths listed in dumpfiles should have leading
'/' characters or not. notes/dump-load-format.txt is inconsistent; in
the format description around line 82 it includes leading '/'
characters; in the example later in the file it excludes them.

"svnadmin dump" output omits leading '/' characters.

"svnadmin load" doesn't care.

cvs2svn [1] used to include leading '/' characters in some places until
a few minutes ago, when I changed it to omit them in all places.

SvnDumpTool [2] gets upset if a dumpfile includes leading '/' characters.

The "consensus" seems to be that it is better to omit the leading '/'
characters. So the patch below changes notes/dump-load-format.txt to
consistently omit the leading '/' characters.

Michael

[1] http://cvs2svn.tigris.org

[2] http://svn.borg.ch/svndumptool/

[[[
Consistently omit leading '/' characters in node paths.

The specification was previously inconsistent on whether node paths
should include a leading '/' character. The output of "svnadmin dump"
omits the characters, so change the file to consistently use that
convention.

* notes/dump-load-format.txt: Remove leading '/' characters that appear
  in node paths.

Patch by: Michael Haggerty <mhagger_at_alum.mit.edu>
]]]

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org

Received on 2008-05-29 21:27:24 CEST

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.