Submitter | phabricator |
---|---|
Date | April 5, 2019, 1:31 p.m. |
Message ID | <differential-rev-PHID-DREV-3kqyd2i4htmwk2pi3zvl-req@phab.mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/39501/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/branchmap.py b/mercurial/branchmap.py --- a/mercurial/branchmap.py +++ b/mercurial/branchmap.py @@ -305,7 +305,7 @@ def copy(self): """return an deep copy of the branchcache object""" - return branchcache( + return type(self)( self._entries, self.tipnode, self.tiprev, self.filteredhash, self._closednodes)