##// END OF EJS Templates
committablefilectx: override linkrev() to point to the associated changectx...
Yuya Nishihara -
r24420:065b886f default
parent child Browse files
Show More
@@ -1594,6 +1594,10 class committablefilectx(basefilectx):
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):
General Comments 0
You need to be logged in to leave comments. Login now