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

Re: [PATCH] propset can't delete properties

From: Joe Orton <jorton_at_btconnect.com>
Date: 2001-07-07 12:59:30 CEST

On Sat, Jul 07, 2001 at 11:43:20AM +0100, Joe Orton wrote:
> The propset command can't delete properties at the moment, but the code
> thinks it can... the argument grammar is ambiguous:
>
> usage: propset PROPNAME [PROPVAL | --valfile VALFILE] [TARGETS]
>
> PROPVAL and TARGETS can't both be optional: "propset SomeProp Foo" can
> mean either
>
> propset SomeProp Foo . # remove 'foo' from .
> or propset SomeProp [] Foo # remove 'SomeProp' from Foo
>
> I think the best solution is to not use propset for deleting properties,
> and add a 'propdel' command instead, or a 'proprm' or whatever. Sound
> okay?

Oops, missed main.c...

Index: main.c
===================================================================
RCS file: /usr/local/tigris/data/helm/cvs/repository/subversion/subversion/clients/cmdline/main.c,v
retrieving revision 1.6
diff -u -r1.6 main.c
--- main.c 2001/07/04 20:11:29 1.6
+++ main.c 2001/07/07 11:05:05
@@ -120,6 +120,11 @@
   { "pset", TRUE, NULL, NULL },
   { "ps", TRUE, NULL, NULL },
 
+ { "propdel", FALSE, svn_cl__propdel,
+ "Remove property PROPNAME on files and directories.\n"
+ "usage: propdel PROPNAME [TARGETS]\n"},
+ { "pdel", TRUE, NULL, NULL },
+
   { "status", FALSE, svn_cl__status,
     "Print the status of working copy files and directories.\n"
     "usage: status [TARGETS]\n" },

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:33 2006

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