Ph. Marek wrote on Mon, 28 Apr 2008 at 09:51 +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 :-)
>
Exactly.
> 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.
>
And if the revprop exists when the master repository is duplicated?
(e.g. if there are two mirror sites.) One could make 'svnadmin dump'
and 'svnsync' ignore the new property, but some people might tar or
rsync their master when they create the mirror.
>
> 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 10:06:58 CEST