Mercurial > hg
view tests/test-check-pyflakes.t @ 24009:00d331763442
histedit: allow configuring default behavior
Adds a configuration setting for allowing users to specify the default behavior
of 'hg histedit' without arguments. This saves users from having to manually
figure out the bottom commit or a complicated revset. My current revset of
choice is "only(.) & draft() - ::merge()"
The commits that histedit can work with is usually quite limited, so if this
feature ends up working well, we may want to consider making "only(.) & draft()
- ::merge()" the default behavior for everyone.
author | Durham Goode <durham@fb.com> |
---|---|
date | Mon, 02 Feb 2015 16:19:35 -0800 |
parents | 77142de48ae4 |
children | aef5b606d3ee |
line wrap: on
line source
#require test-repo pyflakes $ cd "`dirname "$TESTDIR"`" run pyflakes on all tracked files ending in .py or without a file ending (skipping binary file random-seed) $ hg locate 'set:**.py or grep("^!#.*python")' 2>/dev/null \ > | xargs pyflakes 2>/dev/null | "$TESTDIR/filterpyflakes.py" tests/filterpyflakes.py:58: undefined name 'undefinedname'