changeset 23631 | b8260abfeb7d |
parent 23361 | 936b0ff34346 |
child 23878 | 37a92908a382 |
--- a/mercurial/phases.py Thu Dec 18 11:30:10 2014 -0800 +++ b/mercurial/phases.py Thu Dec 18 11:38:48 2014 -0800 @@ -161,7 +161,7 @@ def copy(self): # Shallow copy meant to ensure isolation in # advance/retractboundary(), nothing more. - ph = phasecache(None, None, _load=False) + ph = self.__class__(None, None, _load=False) ph.phaseroots = self.phaseroots[:] ph.dirty = self.dirty ph.opener = self.opener