mercurial/revlog.py
changeset 43535 8b533de0429d
parent 43534 0c659fc20207
child 43536 bf6fa330e0a5
equal deleted inserted replaced
43534:0c659fc20207 43535:8b533de0429d
  1993                 )
  1993                 )
  1994                 % (self.indexfile, len(rawtext))
  1994                 % (self.indexfile, len(rawtext))
  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:
  2002             self.checkhash(rawtext, node, p1=p1, p2=p2)
  2002             self.checkhash(rawtext, node, p1=p1, p2=p2)
  2003 
  2003