mercurial/dispatch.py
changeset 35223 4edd2202f7d7
parent 35186 aef2b98d9352
child 35224 6e6d0a5b88e6
--- a/mercurial/dispatch.py	Mon Dec 04 19:08:41 2017 +0800
+++ b/mercurial/dispatch.py	Sat Nov 25 17:03:52 2017 +0900
@@ -649,7 +649,8 @@
 def _earlyparseopts(args):
     options = {}
     fancyopts.fancyopts(args, commands.globalopts, options,
-                        gnu=False, early=True)
+                        gnu=False, early=True,
+                        optaliases={'repository': ['repo']})
     return options
 
 def _earlygetopt(aliases, args, strip=True):