##// END OF EJS Templates
manifest: add manifestlog.add...
Durham Goode -
r29962:6b5a9a01 default
parent child Browse files
Show More
@@ -1732,9 +1732,9 b' class localrepository(object):'
1732 drop = [f for f in removed if f in m]
1732 drop = [f for f in removed if f in m]
1733 for f in drop:
1733 for f in drop:
1734 del m[f]
1734 del m[f]
1735 mn = self.manifest.add(m, trp, linkrev,
1735 mn = self.manifestlog.add(m, trp, linkrev,
1736 p1.manifestnode(), p2.manifestnode(),
1736 p1.manifestnode(), p2.manifestnode(),
1737 added, drop)
1737 added, drop)
1738 files = changed + removed
1738 files = changed + removed
1739 else:
1739 else:
1740 mn = p1.manifestnode()
1740 mn = p1.manifestnode()
@@ -1049,6 +1049,9 b' class manifestlog(object):'
1049 self._mancache[node] = m
1049 self._mancache[node] = m
1050 return m
1050 return m
1051
1051
1052 def add(self, m, transaction, link, p1, p2, added, removed):
1053 return self._revlog.add(m, transaction, link, p1, p2, added, removed)
1054
1052 class manifestctx(object):
1055 class manifestctx(object):
1053 """A class representing a single revision of a manifest, including its
1056 """A class representing a single revision of a manifest, including its
1054 contents, its parent revs, and its linkrev.
1057 contents, its parent revs, and its linkrev.
General Comments 0
You need to be logged in to leave comments. Login now