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

Re: Bug in multipath unlock - fails on unrelated working copy locks

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: Fri, 15 Feb 2008 21:00:28 +0100

2008/2/15 Miller, Eric <Eric.Miller_at_amd.com>:
> Scenario:
>
> svn st wc
> L wc/dir/A
> K wc/dir/B/file1
> K wc/dir/C/file2
>
> I want to unlock file1 and file2 without messing with dir/A (for the
> moment anyways)
>
> svn unlock wc/dir/B/file1 wc/dir/C/file2
> svn: Working copy '/proj/gi1/emiller/test/svn/bugs/unlock/wc/dir/A'
> locked
> svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for
> details)
>
> This is a minor annoyance for my users. They (and I) don't understand
> why it is trying to get a recursive adm lock on the common parent of
> file1 and file2.

Because that's how the working copy library works. It never takes out
disjoint locks, only recursive locks or non-recursive locks on
directories with parent/child relations.

bye,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-02-15 21:00:39 CET

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.