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

Issue 3908: showing wc directory locks in status

From: Philip Martin <philip_at_codematters.co.uk>
Date: Fri, 10 Jun 2011 10:28:17 +0100

Working copy locks were per-directory in 1.6 and 'svn status' showed 'L'
to indicate which directories were locked. There is currently a
behaviour change in 1.7, 'svn status' now only displays 'L' if the
directory is "interesting" for some other reason, added, prop-mod, etc.

1.6 clears locks that are not protecting log files, given the chance, so
after an interrupted operation status would typically show 'L' for just
the directory that had a log file rather than the whole tree.

In 1.7 there is generally only one lock per-tree, so if it is present
following an interrupted operation, status would probably have to show
'L' for every directory in the tree to behave like 1.6. However the
current behaviour means that status will sometimes show nothing for a
locked working copy.

Is this behaviour change acceptable? What behaviour do we want?

- the current behaviour, only show 'L' on otherwise interesting
  directories

- the 1.6 behaviour, show 'L' on every locked directory which will often
  be every directory in the tree

- something else

http://subversion.tigris.org/issues/show_bug.cgi?id=3908

-- 
Philip
Received on 2011-06-10 11:28:57 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.