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

Re: svn commit: rev 4775 - in branches/issue-1037-uuids/subversion: include libsvn_repos

From: mark benedetto king <mbk_at_boredom.org>
Date: 2003-02-12 00:02:45 CET

On Tue, Feb 11, 2003 at 03:42:51PM -0600, Karl Fogel wrote:
>
> Am I correct in thinking that --force-uuid means "take the UUID found
> in this dump file and set the destination repository's UUID to it"?
>

That may be what it should mean, but what it actually means is
carefully explained in svn_repos.h:

  The repository's UUID will be updated iff
    the dumpstream contains a UUID and
    @a uuid_action is not equal to @c svn_repos_load_uuid_ignore and
    either the repository contains no revisions or
           @a uuid_action is equal to @c svn_repos_load_uuid_force

Unfortunately the user-facing documentation, svnadmin help load,
is less clear:

Read a 'dumpfile'-formatted stream from stdin, committing
new revisions into the repository's filesystem. If the repository
was previously empty, its UUID will, by default, be changed to the
one specified in the stream. Progress feedback is sent to stdout.

Valid options:
  --ignore-uuid : ignore the UUID specified in the file.
  --force-uuid : force the repository UUID to be updated.

My preference would be to change the message to match the existing
semantics, rather than the other way 'round.

--ben

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Feb 12 00:03:38 2003

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