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

Re: bring on your concerns about svn:hold, please

From: Greg Stein <gstein_at_gmail.com>
Date: Mon, 22 Aug 2011 18:00:41 -0400

On Mon, Aug 22, 2011 at 15:34, Daniel Shahaf <danielsh_at_elego.de> wrote:
> Greg Stein wrote on Mon, Aug 22, 2011 at 14:46:16 -0400:
>...
> Same thing if someone else sets svn:ignore and you have a local addition
> you hadn't told svn about yet.
>
> How would you explain that behaviour?  Perhaps by saying Alice should
> have warned Bob that she'd set svn:ignore?  And however you explain it
> --- why doesn't the same explanation apply to svn:hold?

'svn add foo' will *always* work, regardless of the svn:ignore
setting. The property only applies for recursive adds. During your
'add', it is also quite easy to see the file was not added. So you
just 'svn add foo/bar'.

'svn commit foo' will *never* work if svn:hold is set on the file. I
find that awfully confusing, until I realize that somebody applied
svn:hold to the file.

Cheers,
-g
Received on 2011-08-23 00:01:13 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.