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:
parent
4477ae1150
commit
595d810678
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user