##// END OF EJS Templates
context: simplify workingctx._parents
Patrick Mezard -
r17330:32e9d63d default
parent child Browse files
Show More
@@ -885,8 +885,7 b' class workingctx(changectx):'
885 p = self._repo.dirstate.parents()
885 p = self._repo.dirstate.parents()
886 if p[1] == nullid:
886 if p[1] == nullid:
887 p = p[:-1]
887 p = p[:-1]
888 self._parents = [changectx(self._repo, x) for x in p]
888 return [changectx(self._repo, x) for x in p]
889 return self._parents
890
889
891 def status(self, ignored=False, clean=False, unknown=False):
890 def status(self, ignored=False, clean=False, unknown=False):
892 """Explicit status query
891 """Explicit status query
General Comments 0
You need to be logged in to leave comments. Login now