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

Re: [ENHANCEMENT/BUG] svn list --verbose should not cut the author in the output

From: Leslie Kishalmi <lkishalmi_at_netbeans.org>
Date: 2005-01-13 12:27:37 CET

I'm sorry if you get this message twice. I've decided to watch the
subversion dev newsgroup on gmane.org, so I post this message directly
to the newsgroup.

I'd welcome a '--long' option to these commands where none of the output
were cut of, the main reason is to return a parseable (not especially
visually, but by a program) without information loss.

The most elegant solution would be an '--xml' option which would return
an xml format, like the log command, and have the client property
mentioned before.

kfogel@collab.net wrote:
> "Brass Tilde" <brasstilde@insightbb.com> writes:
>
>>>A new section "[output]" in ~/.subversion/config, with a new parameters
>>>"[ls-username-width]" and "[status-username-width]", thus:
>>
>>> ### Section for controlling output formats of the command-line client.
>>> [output]
>>> # Show up to this many columns of username in 'svn ls -v' output.
>>> # ls-username-width = 8
>>> # Show up to this many columns of username in 'svn status' output.
>>> # status-username-width = 12
>>
>>>I'm definitely open to more elegant solutions, by the way. It's
>>>somewhat displeasing to have to use two different parameter. Really
>>>there should only be one, "username-width". But the trouble is
>>
>>Could you not implement a prioritized check within each command along the
>>lines of:
>>
>>if username-width is present and has a value
>> use username-width
>>else if the command specific version is present and has a value
>> use the command specific version
>>else
>> use the command specific default
>
>
> We could, yes, it would just be a very unusual pattern in our code --
> not consistent with the way we usually handle configuration defaults
> internally... Hmmm, but now that I think about it, there's a
> more-or-less pretty way to do it. So the new proposal is just:
>
> ### Section for controlling output formats of the command-line client.
> [output]
> ### Show up to this many columns of username in (e.g.) 'svn ls -v'
> ### and 'svn status' output. If you specify a value, it will apply to
> ### all commands that print usernames. If you don't, the default is 8
> ### columns for 'svn ls', and 12 columns for 'svn status' (this is for
> ### backwards compatibility with versions before this parameter was
> ### configurable.
> # username-width = 12
>
> If there are any other width-sensitive places where we print username,
> we'll include them too, I just haven't dug around for them yet.
>
> -Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jan 13 13:13:01 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.