Mercurial > hg
view tests/test-check-jshint.t @ 35435:f01101100043
unamend: allow unamending if allowunstable is set
I don't see why unamend should be disallowed when allowunstable is
set. By switching to rewriteutil.precheck() we fix that and get more
consistent error messages (and some additional ones).
Differential Revision: https://phab.mercurial-scm.org/D1682
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Wed, 13 Dec 2017 17:03:39 -0800 |
parents | 5d4369079c86 |
children | 45a816361926 |
line wrap: on
line source
#require test-repo jshint hg10 $ . "$TESTDIR/helpers-testrepo.sh" run jshint on all tracked files ending in .js except vendored dependencies $ cd "`dirname "$TESTDIR"`" $ testrepohg locate 'set:**.js' \ > -X mercurial/templates/static/excanvas.js \ > 2>/dev/null \ > | xargs jshint