##// END OF EJS Templates
patch: add 'extra' argument to makememctx...
Laurent Charignon -
r25303:b7876b8f default
parent child Browse files
Show More
@@ -340,7 +340,7 b' class basectx(object):'
340 340
341 341
342 342 def makememctx(repo, parents, text, user, date, branch, files, store,
343 editor=None):
343 editor=None, extra=None):
344 344 def getfilectx(repo, memctx, path):
345 345 data, mode, copied = store.getfile(path)
346 346 if data is None:
@@ -348,6 +348,7 b' def makememctx(repo, parents, text, user'
348 348 islink, isexec = mode
349 349 return memfilectx(repo, path, data, islink=islink, isexec=isexec,
350 350 copied=copied, memctx=memctx)
351 if extra is None:
351 352 extra = {}
352 353 if branch:
353 354 extra['branch'] = encoding.fromlocal(branch)
General Comments 0
You need to be logged in to leave comments. Login now