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

Re: [PATCH] svnsync init URL1 URL1

From: Ph. Marek <philipp.marek_at_bmlv.gv.at>
Date: Mon, 28 Apr 2008 09:51:33 +0200

On Montag, 28. April 2008, Daniel Shahaf wrote:
> I am trying to prevent syncing an instance of a repository[1] to itself.
> Is it possible to tell apart two instances that have the same UUID?
>
> (Equality of UUIDs is a necessary but not sufficient condition for
> identity of instances, and equality of URLs is sufficient but not
> necessary.)
...
> [1] "An instance of", since in DAV mirroring, etc., there are actually
> two "instances" of the same repository.
Sounds to me like you need some second identity for each repository - not the
subversion-client-UUID, but another real-repository-UUID :-)

How about a revprop on r0? Seems to be the easiest, and most compatible, place
for that.

Set it if it doesn't exist; then query the other repository; if it's the same
there, it's the same repository.

Regards,

Phil

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-04-28 09:51:53 CEST

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