Changeset d3b135e127aa…
Parent 6a122c1a26e2…
by
Changes to one file · Browse files at d3b135e127aa Showing diff from parent 6a122c1a26e2 Diff from another changeset...
@@ -188,6 +188,9 @@ ('revert', _('Revert to Revision'), 'hg-revert', 'Alt+Ctrl+T',
_('Revert file(s) to contents at this revision'),
self.revertfile),
+ ('opensubrepo', _('Open subrepository'), 'thg-repository-open',
+ 'Alt+Ctrl+O', _('Open the selected subrepository'),
+ self.opensubrepo),
]:
act = QAction(desc, self)
if icon:
@@ -289,7 +292,7 @@ # Subrepos and regular items have different context menus
if itemissubrepo:
contextmenu = self.subrepocontextmenu
- actionlist = []
+ actionlist = ['opensubrepo']
else:
contextmenu = self.filecontextmenu
actionlist = ['diff', 'ldiff', 'edit', 'ledit', 'revert',
|
Loading...