changeset 4557:050fa240db9c

dispatch: accept an abbreviation of --repository
author Matt Mackall <mpm@selenic.com>
date Mon, 11 Jun 2007 21:09:24 -0500
parents 30bc57094bfc
children 9338be783398 a73d80d6385a
files mercurial/cmdutil.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/cmdutil.py	Mon Jun 11 21:09:24 2007 -0500
+++ b/mercurial/cmdutil.py	Mon Jun 11 21:09:24 2007 -0500
@@ -266,7 +266,7 @@
 
     # read the local repository .hgrc into a local ui object
     # this will trigger its extensions to load
-    path = earlygetopt(["-R", "--repository"], args)
+    path = earlygetopt(["-R", "--repository", "--repo"], args)
     if not path:
         path = findrepo() or ""
     if path: