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

Re: [PATCH] Was: Enhancement needed in svn status -u

From: Daniel Rall <dlr_at_finemaltcoding.com>
Date: 2005-08-23 22:47:55 CEST

On Tue, 23 Aug 2005, Paul Burba wrote:

> Mark Phippard <MarkP@softlanding.com> wrote on 08/23/2005 10:37:31 AM:
...
> > In summary, I would propose that at a minimum we ditch the new URL and
> > kind fields from this structure and instead update the existing fields in
> > the cases that we currently do not (new files in repos). I also think it
> > is worthy of consideration that we do the same for the other three fields
> > (revision, date, and author). However, since changing those fields would
> > visibly change the output of status, I can see where some people would
> > be against that. To me, it seems like a better way to change this.

This is a significant change in behavior for the 'status -u -v' view, but
certainly a more expected behavior with '-v' included. The '-u' argument
is the short-hand for '--show-updates', documented to 'add working
revision and server out-of-date information', while '-v' is 'print extra
information'. Both of these argumets trigger network access for 'status'
command (which is otherwise a local operation), and display extra information
which is not stored in the WC (so must be retrieved from the server). Because
the info in question (last committer) is only displayed when the info is
retrieved from the server, it should correspond to the info that the server
knows about the versioned resource (rather than to what the WC knows, which
is out of date).

Though '-u' also retrieves information from the server, it does not display
the user name of the last committer to a file, so I wouldn't necessarilly
expect the API equivalent of 'svn st -u' to fill in any such information in
the data structures it produces without '-v' also being included (I'd expect
such fields to be NULL).

- Dan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Aug 23 22:49:41 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.