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