diff --git a/xeputil.py b/xeputil.py index 1c758117..b2a8f718 100644 --- a/xeputil.py +++ b/xeputil.py @@ -65,6 +65,11 @@ class XEP: file_text = fctx.data() return file_text + def globalLatestRevison(self): + repo = hg.repository(ui.ui(), self.BASEDIR) + cctx = repo['tip'] + return cctx.rev() + def getLatestXEPFilename(XEPDIR, nr, no_interim=True): try: