equal
deleted
inserted
replaced
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) |