equal
deleted
inserted
replaced
1592 self._changectx = ctx |
1592 self._changectx = ctx |
1593 |
1593 |
1594 def __nonzero__(self): |
1594 def __nonzero__(self): |
1595 return True |
1595 return True |
1596 |
1596 |
|
1597 def linkrev(self): |
|
1598 # linked to self._changectx no matter if file is modified or not |
|
1599 return self.rev() |
|
1600 |
1597 def parents(self): |
1601 def parents(self): |
1598 '''return parent filectxs, following copies if necessary''' |
1602 '''return parent filectxs, following copies if necessary''' |
1599 def filenode(ctx, path): |
1603 def filenode(ctx, path): |
1600 return ctx._manifest.get(path, nullid) |
1604 return ctx._manifest.get(path, nullid) |
1601 |
1605 |