mercurial/cmdutil.py
changeset 4557 050fa240db9c
parent 4556 30bc57094bfc
child 4561 8044be585b91
--- a/mercurial/cmdutil.py
+++ b/mercurial/cmdutil.py
@@ -266,7 +266,7 @@ def dispatch(ui, args):
 
     # 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: