hgext/git/gitlog.py
branchstable
changeset 47049 2a77c817d451
parent 47048 03c73fc6f89a
child 47050 ce24a00fe7f0
equal deleted inserted replaced
47048:03c73fc6f89a 47049:2a77c817d451
   145             return bin(t[0])
   145             return bin(t[0])
   146         return nullid
   146         return nullid
   147 
   147 
   148     def revs(self, start=0, stop=None):
   148     def revs(self, start=0, stop=None):
   149         if stop is None:
   149         if stop is None:
   150             stop = self.tip()
   150             stop = self.tiprev()
   151         t = self._db.execute(
   151         t = self._db.execute(
   152             'SELECT rev FROM changelog '
   152             'SELECT rev FROM changelog '
   153             'WHERE rev >= ? AND rev <= ? '
   153             'WHERE rev >= ? AND rev <= ? '
   154             'ORDER BY REV ASC',
   154             'ORDER BY REV ASC',
   155             (start, stop),
   155             (start, stop),