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

Re: proposal: changelist feature

From: Marc Sherman <msherman_at_projectile.ca>
Date: 2006-04-17 22:02:07 CEST

"Justin Erenkrantz" <justin@erenkrantz.com> writes:
>
>> My hunch is that it'd be far easier to have it be:
>>
>> $ svn st
>> M baz.c
>> M foo.c (Changelist 'issue-2899')
>> A bar.c (Changelist 'issue-2899')

Eric Gillespie wrote:
>
> -1 on this output format. How am i supposed to get the filename
> out of that? The current output format has a fixed number of
> fixed-width columns, and everything after that is the filename.
> All existing scripts that parse status end up with a bogus
> filename "foo.c (Changelist 'issue-2899')".

Here's an option that's kind of ugly, but both streamy and fixed-width:

---
$ svn st
M      baz.c
M    1 foo.c
A    1 bar.c
Changelists:
  1 issue-2899
---
It does consume the last available empty column in the st output,
though, which might cause objections.
- Marc
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Apr 17 22:02:40 2006

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.