hgext/hbisect.py
changeset 5160 c13610d5642c
parent 4497 22ebd6ee5672
child 5311 5b6e403601d1
equal deleted inserted replaced
5128:86cd6fd61042 5160:c13610d5642c
    79                     os.unlink(s)
    79                     os.unlink(s)
    80             os.rmdir(self.path)
    80             os.rmdir(self.path)
    81         # Not sure about this
    81         # Not sure about this
    82         #self.ui.write("Going back to tip\n")
    82         #self.ui.write("Going back to tip\n")
    83         #self.repo.update(self.repo.changelog.tip())
    83         #self.repo.update(self.repo.changelog.tip())
    84         return 1
    84         return 0
    85 
    85 
    86     def num_ancestors(self, head=None, stop=None):
    86     def num_ancestors(self, head=None, stop=None):
    87         """
    87         """
    88         returns a dict with the mapping:
    88         returns a dict with the mapping:
    89         node -> number of ancestors (self included)
    89         node -> number of ancestors (self included)