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

Re: [Locking] svn up and svn st -u output, take 2

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-01-06 22:47:06 CET

"Peter N. Lundblad" <peter@famlundblad.se> writes:

> svn up adds an extra column. "!" in that column means "this lock token was
> missing in the repository and got removed".

I don't like this, I prefer letters, see below.

> svn st -u uses K in the sixth column to show whtether the WC has a lock
> (like plain svn status does). It uses column nine to show the repository
> state. A space means that the WC and the repository are in aggreement,
> that is, if the WC has no lock, the repo has no lock and if the WC has a
> lock token, the repo has the same lock token. "!" means the repo has no
> lock token (the WC lock was broken) and "~" means that the lock was stolen
> and the repo has another token now.

Why use two columns? Just use one column:

  'K' locked in wc and repository
  'B' locked in wc but 'Broken' so not locked in repository
  'T' locked in wc but 'sTolen' so some other token in repository

If you really want to use two colums I'd prefer something like:

   K K for locked
   K B for broken
   K T for stolen

Now update can print 'B' when it removes a lock. It could even print
'T' if knows the lock has been stolen, does update have that info?

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jan 6 22:48:26 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.