[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: Branko ─îibej <brane_at_xbc.nu>
Date: Tue, 29 Apr 2008 05:30:53 +0200

Daniel Shahaf wrote:
> David Glasser wrote on Mon, 28 Apr 2008 at 11:56 -0700:
>
>> On Mon, Apr 28, 2008 at 10:36 AM, Daniel Shahaf <d.s_at_daniel.shahaf.co.il> wrote:
>>
>>> Possibly, but I don't think a check that prevents running 'svnsync init
>>> $R $R' (where $R is an empty repository) is very useful. Most likely $R
>>> can be thrown away and recreated.
>>>
>> OK, in that case then I don't think any such check at all is useful :-)
>>
>>
>
> :)
>
> Thanks David.
>

Perhaps that was meant as a joke, but I'd take it quite seriously. I
can't think of any 100% certain way of detecting a "same instance",
short of actually inventing another hidden repository UUID just for
svnsync. I also don't think it's worth the trouble; presumably admins
that do svnsync init sort of know what they're doing. And if they don't,
what real harm can it do?

-- Brane

---------------------------------------------------------------------
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-29 05:31:26 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.