equal
deleted
inserted
replaced
482 """Obtain the number of revisions stored for this file.""" |
482 """Obtain the number of revisions stored for this file.""" |
483 |
483 |
484 def __iter__(): |
484 def __iter__(): |
485 """Iterate over revision numbers for this file.""" |
485 """Iterate over revision numbers for this file.""" |
486 |
486 |
|
487 def hasnode(node): |
|
488 """Returns a bool indicating if a node is known to this store. |
|
489 |
|
490 Implementations must only return True for full, binary node values: |
|
491 hex nodes, revision numbers, and partial node matches must be |
|
492 rejected. |
|
493 |
|
494 The null node is never present. |
|
495 """ |
|
496 |
487 def revs(start=0, stop=None): |
497 def revs(start=0, stop=None): |
488 """Iterate over revision numbers for this file, with control.""" |
498 """Iterate over revision numbers for this file, with control.""" |
489 |
499 |
490 def parents(node): |
500 def parents(node): |
491 """Returns a 2-tuple of parent nodes for a revision. |
501 """Returns a 2-tuple of parent nodes for a revision. |