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

[PATCH] Add get as an alias for checkout

From: Todd Mokros <tmokros_at_neo.rr.com>
Date: 2003-03-15 02:05:31 CET

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 <tmokros@neo.rr.com>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Mar 15 02:38:26 2003

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.