Mercurial > hg
comparison mercurial/profiling.py @ 41859:bf22e370ae9a
uncommit: don't allow dirty working copy with PATH (issue5977)
On a dirty PATH, uncommit was working without even setting the config
`experimental.uncommitondirtydir` to `True`. Ideally, it should abort
as it does for a dirty dir. This patch makes uncommit to require the
config option `experimental.uncommitondirtydir` on a dirty PATH.
Original patch to evolve extension authored by Dan Villiom Podlaski Christiansen:
https://bitbucket.org/octobus/evolve-devel/pull-requests/8/bug-5977-uncommit-dirtiness/diff
Differential Revision: https://phab.mercurial-scm.org/D5940
author | Navaneeth Suresh <navaneeths1998@gmail.com> |
---|---|
date | Tue, 12 Feb 2019 00:17:42 +0530 |
parents | 89703e6151e7 |
children | 0ae593e791fb |
comparison
equal
deleted
inserted
replaced
41858:e0384d4c51ae | 41859:bf22e370ae9a |
---|