Commits

Michal Sznajder  committed 56df1b3

repowidget: allow REVID as additional customtools command variable

REVID is usefull when we are trying to refer to revision in external
context where REV is not unique.

One example is

browser.command = browser.exe http://repo.server/rev/{REVID}

which allows opening browser with currently selected changeset.

  • Participants
  • Parent commits 16999b7
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/repowidget.py

         # 2. Expand internal workbench variables
         vars = {
             'ROOT': self.repo.root,
+            'REVID': str(self.repo[self.rev]),
             'REV': self.rev
         }
         for var in vars: