diff tests/test-obshistory.t @ 41146:fbd168455b26 stable

histedit: crashing with a more useful error message on empty defaultrev Before this, `hg --config histedit.defaultrev= histedit` would crash with File "destutil.py", line 385, in desthistedit if revs: UnboundLocalError: local variable 'revs' referenced before assignment Differential Revision: https://phab.mercurial-scm.org/D5543
author rdamazio@google.com
date Wed, 09 Jan 2019 20:00:35 -0800
parents ea63a2004d09
children 34a46d48d24e
line wrap: on
line diff