D6069: uncommit: add flag --allow-dirty-working-copy

navaneeth.suresh (Navaneeth Suresh) phabricator at mercurial-scm.org
Mon Mar 4 10:40:05 EST 2019


navaneeth.suresh added inline comments.

INLINE COMMENTS

> pulkit wrote in uncommit.py:162
> how about making this as:
> 
> `allowdirty = opts['allow_dirty_working_copy'] or repo.ui.configbool('experimental', 'uncommitondirtywdir')`
> 
> This will make the if condition more simpler to understand.

Done.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D6069

To: navaneeth.suresh, #hg-reviewers
Cc: pulkit, mercurial-devel


More information about the Mercurial-devel mailing list