1. Pierre-Yves David
  2. mutable-history


Pierre-Yves David  committed 47ba990

update doc

  • Participants
  • Parent commits 91169d2
  • Branches default

Comments (0)

Files changed (1)

File states.py

View file
  • Ignore whitespace
     def trackheads(self):
+        """Do we need to track heads of changeset in this state ?
+        We don't need to track heads for the last state as this is repos heads"""
         return self.next is not None
     def __cmp__(self, other):
     def _revsetheads(self):
+        """function to be used by revset to finds heads of this states"""
         assert self.trackheads
         def revsetheads(repo, subset, x):
             args = revset.getargs(x, 0, 0, 'publicheads takes no arguments')
     def headssymbol(self):
+        """name of the revset symbols"""
         if self.trackheads:
             return "%sheads" % self.name