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

Re: Bug report against SVN 1.6.13

From: Stefan Sperling <stsp_at_elego.de>
Date: Thu, 14 Oct 2010 12:01:33 +0200

On Thu, Oct 14, 2010 at 01:42:36AM +0200, Paul Maier wrote:
> Hi there!
>
> file b should be read-write here; what do you think:
>
>
> Reproduction script:
> --------------------
> svn --version
> svnadmin create xx
> svn co "file:///C:/[...]/xx" yy
> cd yy
> echo a > a
> svn add a
> svn propset svn:needs-lock "*" a
> svn ci -m ""
> svn up
> svn cp a b
> ls -lA
>
>
> Observed behaviour:
> -------------------
> File b is read-only.
> No svn command is available to make file b read-write.
> svn lock won't do, because file b is not in the repository yet.
> Even a "svn lock a" before the copy doesn't help out.
>
>
> Expected behaviour:
> -------------------
> File b is read-write.
> Files without representation in the repository (files that come from a
> uncommitted svn cp or svn mv) should be read-write regardless
> svn:needs-lock setting.

I'm fine with this idea if the file is also made read-only after commit.

Would you like to try to write a patch against Subversion trunk that
implements this feature? (I wouldn't really call it a "bug". A bug is
when something doesn't work as designed. In this case, it seems like
the designers of the lock feature didn't care or overlooked this issue,
so the desired behaviour is simply "unspecified".)

Stefan
Received on 2010-10-14 12:02:17 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.