Show More
@@ -1560,12 +1560,9 b' class memctx(committablectx):' | |||||
1560 | """ |
|
1560 | """ | |
1561 | def __init__(self, repo, parents, text, files, filectxfn, user=None, |
|
1561 | def __init__(self, repo, parents, text, files, filectxfn, user=None, | |
1562 | date=None, extra=None, editor=False): |
|
1562 | date=None, extra=None, editor=False): | |
1563 | self._repo = repo |
|
1563 | super(memctx, self).__init__(repo, text, user, date, extra) | |
1564 | self._rev = None |
|
1564 | self._rev = None | |
1565 | self._node = None |
|
1565 | self._node = None | |
1566 | self._text = text |
|
|||
1567 | self._date = date and util.parsedate(date) or util.makedate() |
|
|||
1568 | self._user = user |
|
|||
1569 | parents = [(p or nullid) for p in parents] |
|
1566 | parents = [(p or nullid) for p in parents] | |
1570 | p1, p2 = parents |
|
1567 | p1, p2 = parents | |
1571 | self._parents = [changectx(self._repo, p) for p in (p1, p2)] |
|
1568 | self._parents = [changectx(self._repo, p) for p in (p1, p2)] |
General Comments 0
You need to be logged in to leave comments.
Login now