Submitter | phabricator |
---|---|
Date | March 13, 2019, 6:04 p.m. |
Message ID | <differential-rev-PHID-DREV-ewewcku73vg5g2vrrgu7-req@phab.mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/39237/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/dirstate.py b/mercurial/dirstate.py --- a/mercurial/dirstate.py +++ b/mercurial/dirstate.py @@ -289,8 +289,8 @@ See localrepo.setparents() """ if self._parentwriters == 0: - raise ValueError("cannot set dirstate parent without " - "calling dirstate.beginparentchange") + raise ValueError("cannot set dirstate parent outside of " + "dirstate.parentchange context manager") self._dirty = True oldp2 = self._pl[1]