##// END OF EJS Templates
memctx: allow extensions to determine what filectxfn should do...
Siddharth Agarwal -
r22313:d226fe36 default
parent child Browse files
Show More
@@ -1593,6 +1593,12 b' class memctx(committablectx):'
1593 1593 supported by util.parsedate() and defaults to current date, extra
1594 1594 is a dictionary of metadata or is left empty.
1595 1595 """
1596
1597 # Mercurial <= 3.1 expects the filectxfn to raise IOError for missing files.
1598 # Extensions that need to retain compatibility across Mercurial 3.1 can use
1599 # this field to determine what to do in filectxfn.
1600 _returnnoneformissingfiles = True
1601
1596 1602 def __init__(self, repo, parents, text, files, filectxfn, user=None,
1597 1603 date=None, extra=None, editor=False):
1598 1604 super(memctx, self).__init__(repo, text, user, date, extra)
General Comments 0
You need to be logged in to leave comments. Login now