Steve Borho  committed c14226a

cmdui: launch console hg commands with --cwd

this way the user can enter file paths that are repo canonical, and
not absolute.

thg does not support --cwd, else we may want to use it there as well,
but users do not need to provide filename arguments to thg commands
very often, so the benefit would be mimimal.

  • Participants
  • Parent commits e3e5ba6
  • Branches default

Comments (0)

Files changed (1)

File tortoisehg/hgqt/

     def _cmd_hg(self, args):
         if self._repo:
-            args = ['-R', self._repo.root] + args
+            args = ['--cwd', self._repo.root] + args