##// END OF EJS Templates
gitlog: add tiprev() function...
Augie Fackler -
r46537:6aacc395 default
parent child Browse files
Show More
@@ -148,6 +148,14 b' class changelog(baselog):'
148 148 )
149 149 return (int(r[0]) for r in t)
150 150
151 def tiprev(self):
152 t = self._db.execute(
153 'SELECT rev FROM changelog '
154 'ORDER BY REV DESC '
155 'LIMIT 1'
156 )
157 return next(t)
158
151 159 def _partialmatch(self, id):
152 160 if nodemod.wdirhex.startswith(id):
153 161 raise error.WdirUnsupported
General Comments 0
You need to be logged in to leave comments. Login now