# HG changeset patch
# User Angel Ezquerra <
angel.e...@gmail.com>
# Date 1335729447 -7200
# Branch stable
# Node ID 1336fb91040a9a1e1533ca193708c60c8fc02431
# Parent adcb3cf0d5d45b6e730b354ddf4a02045f38c172
repowidget: remove 'Browse at revision...' from context menu
The existing 'Browse at revision...' entry on the revision context menu is
redundant since you can already open the manifest by clicking on the manifest
button on the widget toolbar.
Removing this command simplifies the revision context menu a little, which I
think is a good idea, since it is getting a little too complex.
diff --git a/tortoisehg/hgqt/repowidget.py b/tortoisehg/hgqt/repowidget.py
--- a/tortoisehg/hgqt/repowidget.py
+++ b/tortoisehg/hgqt/repowidget.py
@@ -1215,8 +1215,6 @@
self.visualDiffRevision)
entry(menu, None, isrev, _('Diff to local...'), 'ldiff',
self.visualDiffToLocal)
- entry(menu, None, isctx, _('Browse at rev...'), 'hg-annotate',
- self.manifestRevision)
entry(menu)
entry(menu, None, fixed, _('Merge with local...'), 'hg-merge',
self.mergeWithRevision)
@@ -1681,9 +1679,6 @@
self.syncDemand.forward('push', False,
branch=self.repo[self.rev].branch())
- def manifestRevision(self):
- run.manifest(self.repo.ui, repo=self.repo, rev=self.rev)
-
def mergeWithRevision(self):
dlg = merge.MergeDialog(self.rev, self.repo, self)
dlg.exec_()