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

RE: Re: Re: svn add *

From: Reedick, Andrew <jr9445_at_ATT.COM>
Date: Tue, 15 Jan 2008 11:54:49 -0600

> -----Original Message-----
> From: marc gonzalez-carnicer [mailto:carnicer.lists_at_gmail.com]
> Sent: Tuesday, January 15, 2008 11:54 AM
> To: Reedick, Andrew
> Cc: Subversion Users
> Subject: Re: Re: svn add *
> i know, although i am not an expert, about regex. my point is whether
> my proposed feature is useful or not, so that not everybody who wants
> to do wrapper scripts needs to rewrite it. actually, i've written
> several of
> these scripts.
> i have checked the source code, and implementing my proposal is
> *much* easier than doing wrapper scripts with regex. see file
> subversion/svn/status.c, function print_status(). it's a matter
> of deciding whether the feature is useful or not. if it is, i could
> provide
> the patch myself.

Well it couldn't hurt. =)

What about overloaded letter(s)? Currently 'M' is used by both columns
1 and 2 in order to flag changes to the item itself or the item's

However, if you're going to go down that road, why not go all the way?
ClearCase has a souped up printf that was actually useful. They gave %x
definitions to all of the information possible. Example:
        svn status --fmt "status: %M %m %L %n\n"
        %M is item was modified
        %m is item's properties were modified
        %L is lock status
        %n is the name of the item
        %N would be the full path to the item
        Ad nausem.

So the output would be:
        status: Modified Unchanged Unlocked foo.java
Words instead of letters would be more user friendly.

In theory, you would add --fmt to all information type commands: info,
status, log, etc.. It would be exceptionally user friendly, but a bit
of an effort to implement.


The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. GA621

To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-01-15 18:55:35 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.