##// END OF EJS Templates
index: use `index.has_node` in `revlog.addrevision`...
marmoute -
r43935:8b533de0 default
parent child Browse files
Show More
@@ -1995,7 +1995,7 b' class revlog(object):'
1995 )
1995 )
1996
1996
1997 node = node or self.hash(rawtext, p1, p2)
1997 node = node or self.hash(rawtext, p1, p2)
1998 if node in self.nodemap:
1998 if self.index.has_node(node):
1999 return node
1999 return node
2000
2000
2001 if validatehash:
2001 if validatehash:
General Comments 0
You need to be logged in to leave comments. Login now