Show More
@@ -802,7 +802,11 b' def getfixers(ui):' | |||
|
802 | 802 | # dangerous to let it affect all files. It would be pointless to let it |
|
803 | 803 | # affect no files. There is no reasonable subset of files to use as the |
|
804 | 804 | # default. |
|
805 |
if |
|
|
805 | if command is None: | |
|
806 | ui.warn( | |
|
807 | _(b'fixer tool has no command configuration: %s\n') % (name,) | |
|
808 | ) | |
|
809 | elif pattern is None: | |
|
806 | 810 | ui.warn( |
|
807 | 811 | _(b'fixer tool has no pattern configuration: %s\n') % (name,) |
|
808 | 812 | ) |
@@ -1338,6 +1338,8 b' pattern config is missing, and that we o' | |||
|
1338 | 1338 | fixer tool has no pattern configuration: nopattern |
|
1339 | 1339 | $ cat foo bar |
|
1340 | 1340 | foobar (no-eol) |
|
1341 | $ hg fix --debug --working-dir --config "fix.nocommand:pattern=foo.bar" | |
|
1342 | fixer tool has no command configuration: nocommand | |
|
1341 | 1343 | |
|
1342 | 1344 | $ cd .. |
|
1343 | 1345 |
General Comments 0
You need to be logged in to leave comments.
Login now