changeset 30519 | 20a42325fdef |
parent 30489 | 0ae83ede68c5 |
child 30879 | 5fbf1da938a6 |
--- a/hgext/mq.py Wed Aug 17 20:57:15 2016 -0700 +++ b/hgext/mq.py Wed Nov 23 00:03:11 2016 +0530 @@ -87,6 +87,7 @@ lock as lockmod, patch as patchmod, phases, + pycompat, registrar, revset, scmutil, @@ -3523,7 +3524,7 @@ raise error.Abort(_('only a local queue repository ' 'may be initialized')) else: - repopath = cmdutil.findrepo(os.getcwd()) + repopath = cmdutil.findrepo(pycompat.getcwd()) if not repopath: raise error.Abort(_('there is no Mercurial repository here ' '(.hg not found)'))