Submitter | phabricator |
---|---|
Date | March 11, 2019, 4:19 p.m. |
Message ID | <differential-rev-PHID-DREV-q6n4r6pryy6wda46ikki-req@phab.mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/39217/ |
State | Superseded |
Headers | show |
Comments
martinvonz added a comment. Sorry, I was actually about to send a different patch for updating its documentation. I'll send it in a few minutes and you can let me know what you think. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D6116 To: taapas1128, #hg-reviewers Cc: martinvonz, mercurial-devel
taapas1128 added a comment. okay then I am closing this . REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D6116 To: taapas1128, #hg-reviewers Cc: martinvonz, mercurial-devel
Patch
diff --git a/hgext/uncommit.py b/hgext/uncommit.py --- a/hgext/uncommit.py +++ b/hgext/uncommit.py @@ -100,8 +100,9 @@ return repo.commitctx(new) def _fixdirstate(repo, oldctx, newctx, match=None): - """ fix the dirstate after switching the working directory from oldctx to - newctx which can be result of either unamend or uncommit. + """Fix the dirstate after switching the working directory from + oldctx to newctx not containing changed files matched by + match. Works for both unamend or uncommit. """ ds = repo.dirstate ds.setparents(newctx.node(), node.nullid)