1. Marek Stój
  2. thg-keyboard-friendly

Commits

Peter Arrenbrecht  committed f2bdc2e

hggtk/commit: fix use of changelog.count()

  • Participants
  • Parent commits 12d443a
  • Branches hg-crew-tip

Comments (0)

Files changed (1)

File hggtk/commit.py

View file
         if refresh:
             self.repo.invalidate()
         cl = self.repo.changelog
-        tip = cl.node(nullrev + cl.count())
+        tip = cl.node(nullrev + len(cl))
         return hex(tip)
 
 def launch(root='', files=[], cwd='', main=True):