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

'svn info URL' question... err, bikeshed?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-03-04 00:39:57 CET

I'm in process of teaching 'svn info' to show locking information --
both locally cached lock-token data attached to working-copy items, as
well as remote locks on URLs.

First of all, I just realized that while svn_client_info() takes a
revision, 'svn info' itself doesn't. I'll fix that on trunk real soon.
  :-)

But here's the question. Assume URL is locked. If I run 'svn info URL
-rX' where X != HEAD, should I see the lock information?

On the one hand, if we show the lock information, the user might think
that URL@X is locked. But locks only ever apply to HEAD.

On the other hand, would we be needlessly holding back useful
information? The user may already understand that locks only apply to
HEAD, and might appreciate seeing the extra lock information about the
latest version of the file, even though the query was on an older
version of the file...?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 4 00:42:55 2005

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.