You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Todd Mokros <tm...@neo.rr.com> on 2003/03/15 01:05:31 UTC
[PATCH] Add get as an alias for checkout
Using 'get' as an alias for checkout with cvs has been hardcoded into my
brain. This patch adds the get alias to the svn client, and updates the
the getopt tests' expected output. I believe I've got evolution setup
to not wrap it.
Index: subversion/clients/cmdline/main.c
===================================================================
--- subversion/clients/cmdline/main.c (revision 5347)
+++ subversion/clients/cmdline/main.c (working copy)
@@ -148,7 +148,7 @@
"usage: cat TARGET [TARGET [TARGET ... ]]\n",
{'r', SVN_CL__AUTH_OPTIONS} },
- { "checkout", svn_cl__checkout, {"co"},
+ { "checkout", svn_cl__checkout, {"co", "get"},
"Check out a working copy from a repository.\n"
"usage: checkout URL [URL [URL ... ]] [PATH]\n"
" Note: If PATH is omitted, the basename of the URL will be used as\n"
Index: subversion/tests/clients/cmdline/getopt_tests_data/svn_help_stdout
===================================================================
--- subversion/tests/clients/cmdline/getopt_tests_data/svn_help_stdout (revision 5347)
+++ subversion/tests/clients/cmdline/getopt_tests_data/svn_help_stdout (working copy)
@@ -9,7 +9,7 @@
Available subcommands:
add
cat
- checkout (co)
+ checkout (co, get)
cleanup
commit (ci)
copy (cp)
Index: subversion/tests/clients/cmdline/getopt_tests_data/svn--help_stdout
===================================================================
--- subversion/tests/clients/cmdline/getopt_tests_data/svn--help_stdout (revision 5347)
+++ subversion/tests/clients/cmdline/getopt_tests_data/svn--help_stdout (working copy)
@@ -9,7 +9,7 @@
Available subcommands:
add
cat
- checkout (co)
+ checkout (co, get)
cleanup
commit (ci)
copy (cp)
--
Todd Mokros <tm...@neo.rr.com>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: [PATCH] Add get as an alias for checkout
Posted by Karl Fogel <kf...@newton.ch.collab.net>.
Todd Mokros <tm...@neo.rr.com> writes:
> Using 'get' as an alias for checkout with cvs has been hardcoded into my
> brain. This patch adds the get alias to the svn client, and updates the
> the getopt tests' expected output. I believe I've got evolution setup
> to not wrap it.
Thanks! Applied in revision 5360.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org