tests/test-grep.t
changeset 38649 0d0f8bd692c4
parent 38648 ffd08ec22955
child 38650 eba69ddd4e52
--- a/tests/test-grep.t	Wed Jul 11 21:15:52 2018 +0900
+++ b/tests/test-grep.t	Wed Jul 11 21:23:18 2018 +0900
@@ -412,6 +412,12 @@
   $ hg grep -r "." "unmod" --all-files
   um:1:unmod
 
+--diff --all-files makes no sense since --diff is the option to grep history
+
+  $ hg grep --diff --all-files um
+  abort: --diff and --all-files are mutually exclusive
+  [255]
+
   $ cd ..
 
 Fix_Wdir(): test that passing wdir() t -r flag does greps on the