1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-12-21 15:18:51 -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: