D735: uncommit: add an experimental.uncommitondirtywdir config

2017-09-22 Thread yuja (Yuya Nishihara)
yuja added inline comments. INLINE COMMENTS > uncommit.py:158 > if len(wctx.parents()) > 1: > raise error.Abort(_("cannot uncommit while merging")) > old = repo['.'] Perhaps we should test this case, dirtyuncommit & merge. REPOSITORY rHG Mercurial REVISION DETA

D735: uncommit: add an experimental.uncommitondirtywdir config

2017-09-20 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG7b1e524ad73f: uncommit: add an experimental.uncommitondirtywdir config (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D735?vs=

D735: uncommit: add an experimental.uncommitondirtywdir config

2017-09-19 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY There are people who wants to do `hg uncommit` on dirty working directory, so this patch adds a config which can be used to the achieve that. Adds tests for th