1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-21 08:45:04 -05:00

Adding globalLatestRevision() utility function to XEP in xeputil.

This commit is contained in:
Tobias Markmann 2011-02-18 22:22:05 +01:00
parent 4477ae1150
commit 595d810678

View File

@ -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: