changeset 30468 | 7f2b18c34c02 |
parent 30401 | 869d660b8669 |
child 30473 | 39d13b8c101d |
--- a/mercurial/dispatch.py Mon Nov 21 15:26:47 2016 +0530 +++ b/mercurial/dispatch.py Mon Nov 21 15:35:22 2016 +0530 @@ -36,6 +36,7 @@ hg, hook, profiling, + pycompat, revset, templatefilters, templatekw, @@ -58,7 +59,7 @@ def run(): "run the command in sys.argv" - sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255) + sys.exit((dispatch(request(pycompat.sysargv[1:])) or 0) & 255) def _getsimilar(symbols, value): sim = lambda x: difflib.SequenceMatcher(None, value, x).ratio()