mirror of
https://github.com/facebook/sapling.git
synced 2025-01-07 14:10:42 +03:00
help: fix test-check-help.t to recognize fold
Summary: The latest update in the documentation references the `hg fold` subcommand from the "core" mercurial files. This makes the `test-check-help.t` test want to verify the `help` for `fold`. The problem is that the test does not enable the `amend` extension that provides the fold command. Following a previous fix to this test, I am enabling the amend extension for the test. It makes sense to me given the current setup. Reviewed By: singhsrb Differential Revision: D16907781 fbshipit-source-id: b0ba31518b6d4c210eb5b8cc7985a945ab1180e4
This commit is contained in:
parent
e2a7b872ba
commit
c527354cc8
@ -1,7 +1,7 @@
|
||||
#require test-repo normal-layout
|
||||
|
||||
$ . "$TESTDIR/helpers-testrepo.sh"
|
||||
$ enable undo
|
||||
$ enable amend undo
|
||||
$ cat <<'EOF' > scanhelptopics.py
|
||||
> from __future__ import absolute_import, print_function
|
||||
> import re
|
||||
@ -31,5 +31,4 @@ Check if ":hg:`help TOPIC`" is valid:
|
||||
Remove subversion from the list; it does not work on macOS and casuses this test
|
||||
to print errors.
|
||||
$ grep -v subversion $TESTTMP/topics > $TESTTMP/topics_filtered
|
||||
$ cat $TESTTMP/topics_filtered | xargs -n1 -P $NPROC hg --cwd / help >/dev/null 2>$TESTTMP/results
|
||||
$ sort $TESTTMP/results
|
||||
$ cat $TESTTMP/topics_filtered | xargs -n1 -P $NPROC hg --cwd / help >/dev/null
|
||||
|
Loading…
Reference in New Issue
Block a user