Mercurial > public > mercurial-scm > hg-stable
diff tests/test-default-push.t @ 36714:2a258985ffeb
revsetlang: add a hint for more useful parse errors
This logic is largely based on the similar logic added to template error
messages in D2608 and D2609, but with a few tweaks based on how revsets
actually work.
Differential Revision: https://phab.mercurial-scm.org/D2619
author | Ryan McElroy <rmcelroy@fb.com> |
---|---|
date | Sat, 03 Mar 2018 15:31:37 -0800 |
parents | 4441705b7111 |
children | 1bf1dcbc9950 |
line wrap: on
line diff
--- a/tests/test-default-push.t Sat Mar 03 11:07:46 2018 -0800 +++ b/tests/test-default-push.t Sat Mar 03 15:31:37 2018 -0800 @@ -142,6 +142,8 @@ $ hg --config 'paths.default:pushrev=(' push pushing to file:/*/$TESTTMP/pushurlsource/../pushurldest (glob) hg: parse error at 1: not a prefix: end + (( + ^ here) [255] $ cd ..