Submitter | phabricator |
---|---|
Date | March 16, 2019, 3:11 a.m. |
Message ID | <028dd1ed28bbea69c99c0690d8d9a1dc@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/39275/ |
State | Not Applicable |
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]