Otherwise when using Ctrl-P on Win we ended up with 2 selected rows.
diff --git a/tortoisehg/hgqt/repowidget.py b/tortoisehg/hgqt/repowidget.py
--- a/tortoisehg/hgqt/repowidget.py
+++ b/tortoisehg/hgqt/repowidget.py
@@ -824,6 +824,9 @@
self.showMessage(hglib.tounicode(str(e)))
def gotoParent(self):
+ revdot = self.repo.changectx('.').rev()
+ if self.rev != revdot:
+ self.repoview.clearSelection()
self.goto('.')
def gotoTip(self):
Forget this one. Yuya also posted a patch for this (in about the same
minute I or so) that is a far more general solution.
Johan
________________________________________________________________________
"Perfection seems to be achieved, not when there is nothing more to add,
but when there is nothing left to take away." - A. de Saint-Exup�ry