mercurial/patch.py
changeset 13878 a8d13ee0ce68
parent 13751 85d74f6babf6
child 13970 d13913355390
equal deleted inserted replaced
13877:653121e6941f 13878:a8d13ee0ce68
  1322 
  1322 
  1323     if opts is None:
  1323     if opts is None:
  1324         opts = mdiff.defaultopts
  1324         opts = mdiff.defaultopts
  1325 
  1325 
  1326     if not node1 and not node2:
  1326     if not node1 and not node2:
  1327         node1 = repo.dirstate.parents()[0]
  1327         node1 = repo.dirstate.p1()
  1328 
  1328 
  1329     def lrugetfilectx():
  1329     def lrugetfilectx():
  1330         cache = {}
  1330         cache = {}
  1331         order = []
  1331         order = []
  1332         def getfilectx(f, ctx):
  1332         def getfilectx(f, ctx):