Commits

Yuya Nishihara committed 5553a77

fix

Comments (0)

Files changed (2)

repow-useagent-repowfixup.diff

 # HG changeset patch
-# Parent 06254984e89597eed54755ce13bf05799b281c04
+# Date 1376832746 -32400
+# Parent ca2d357ae8beb3b2191e9c611f67233256291f57
+repowidget: remove unneeded --repository option from command-line
+
+Now --cwd root is appended automatically.
+
 diff --git a/tortoisehg/hgqt/repowidget.py b/tortoisehg/hgqt/repowidget.py
 --- a/tortoisehg/hgqt/repowidget.py
 +++ b/tortoisehg/hgqt/repowidget.py

repow-useagent.diff

              return
 -        self.repo.incrementBusyCount()
 -        self.runner.run(*cmdlines)
-+        ucmdlines = [map(hglib.tounicode, xs) for xs in (cmdline,) + cmdlines]
++        ucmdlines = [map(hglib.tounicode, xs) for xs in cmdlines]
 +        sess = self._repoagent.runCommandSequence(ucmdlines, self)
 +        sess.commandFinished.connect(self.onCommandFinished)