##// END OF EJS Templates
manifest: don't store None in fulltextcache...
Martin von Zweigbergk -
r30209:9d06b65c default
parent child Browse files
Show More
@@ -1210,6 +1210,7 b' class manifestrevlog(revlog.revlog):'
1210 n = self.addrevision(text, transaction, link, p1, p2)
1210 n = self.addrevision(text, transaction, link, p1, p2)
1211 arraytext = array.array('c', text)
1211 arraytext = array.array('c', text)
1212
1212
1213 if arraytext is not None:
1213 self.fulltextcache[n] = arraytext
1214 self.fulltextcache[n] = arraytext
1214
1215
1215 return n
1216 return n
@@ -1506,6 +1507,7 b' class manifest(manifestrevlog):'
1506 m = self._newmanifest(text)
1507 m = self._newmanifest(text)
1507 arraytext = array.array('c', text)
1508 arraytext = array.array('c', text)
1508 self._mancache[node] = m
1509 self._mancache[node] = m
1510 if arraytext is not None:
1509 self.fulltextcache[node] = arraytext
1511 self.fulltextcache[node] = arraytext
1510 return m
1512 return m
1511
1513
General Comments 0
You need to be logged in to leave comments. Login now