##// END OF EJS Templates
revlog: move `nullid` early return sooner in `_revisiondata`...
marmoute -
r43057:bf070a59 default
parent child Browse files
Show More
@@ -1618,12 +1618,13 b' class revlog(object):'
1618 node = nodeorrev
1618 node = nodeorrev
1619 rev = None
1619 rev = None
1620
1620
1621 if node == nullid:
1622 return ""
1623
1621 cachedrev = None
1624 cachedrev = None
1622 flags = None
1625 flags = None
1623 rawtext = None
1626 rawtext = None
1624 basetext = None
1627 basetext = None
1625 if node == nullid:
1626 return ""
1627 if self._revisioncache:
1628 if self._revisioncache:
1628 if self._revisioncache[0] == node:
1629 if self._revisioncache[0] == node:
1629 # _cache only stores rawtext
1630 # _cache only stores rawtext
General Comments 0
You need to be logged in to leave comments. Login now