You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Christian Sauer <ch...@endrun.org> on 2003/10/21 04:34:39 UTC

[PATCH] small change in the cmdline tool

First patch submit for me...just a small change for consistency sake.

-Christian

[[[
* subversion/clients/cmdline/main.c: Added "pd" as a shorthand for propdel
  so it is consistent with the shorthands for propedit, propget, proplist,
  propset.
]]]

Index: subversion/clients/cmdline/main.c
===================================================================
--- subversion/clients/cmdline/main.c	(revision 7461)
+++ subversion/clients/cmdline/main.c	(working copy)
@@ -366,7 +366,7 @@
      svn_cl__editor_cmd_opt, svn_cl__encoding_opt, svn_cl__force_log_opt,
      svn_cl__config_dir_opt} },

-  { "propdel", svn_cl__propdel, {"pdel"},
+  { "propdel", svn_cl__propdel, {"pdel", "pd"},
     "Remove PROPNAME from files, dirs, or revisions.\n"
     "usage: 1. propdel PROPNAME [PATH...]\n"
     "       2. propdel PROPNAME --revprop -r REV [URL]\n\n"


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: [PATCH] small change in the cmdline tool

Posted by "B. W. Fitzpatrick" <fi...@red-bean.com>.
"Christian Sauer" <ch...@endrun.org> writes:
> 
> First patch submit for me...just a small change for consistency sake.

> -  { "propdel", svn_cl__propdel, {"pdel"},
> +  { "propdel", svn_cl__propdel, {"pdel", "pd"},

I'm OK with this patch, but I seem to remember someone (sussman?) voting
against having a pd alias for propdel since it's a destructive
operation.

I for one think that we should go ahead and add the alias.  If no one
objects, I plan on committing it later tomorrow to give a chance for
dissenters to be heard.

-Fitz

--
Brian W. Fitzpatrick    <fi...@red-bean.com>   http://www.red-bean.com/fitz/



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: [PATCH] small change in the cmdline tool

Posted by "B. W. Fitzpatrick" <fi...@red-bean.com>.
"Christian Sauer" <ch...@endrun.org> writes:
> * subversion/clients/cmdline/main.c: Added "pd" as a shorthand for propdel
>   so it is consistent with the shorthands for propedit, propget, proplist,
>   propset.
...

Committed in revision 7472.

Thanks!

-Fitz

--
Brian W. Fitzpatrick    <fi...@red-bean.com>   http://www.red-bean.com/fitz/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org