mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-24 02:02:16 -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()
|
file_text = fctx.data()
|
||||||
return file_text
|
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):
|
def getLatestXEPFilename(XEPDIR, nr, no_interim=True):
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user