diff tests/test-completion.t @ 38421:7fbb5d76c555

grep: add --diff flag Adds a diff flag, which works exactly same as all, in fact since --all searches diffs, there diff is a better name for it. The all flag is still here for backward compatibility reasons. Some major tests for all has been picked and added for diff. Differential Revision: https://phab.mercurial-scm.org/D3763
author Sangeet Kumar Mishra <mail2sangeetmishra@gmail.com>
date Sun, 17 Jun 2018 15:52:08 +0530
parents b8f45fc27370
children 5cdfc20bfd5f
line wrap: on
line diff
--- a/tests/test-completion.t	Wed Jun 20 09:27:30 2018 -0700
+++ b/tests/test-completion.t	Sun Jun 17 15:52:08 2018 +0530
@@ -313,7 +313,7 @@
   debugwireproto: localssh, peer, noreadstderr, nologhandshake, ssh, remotecmd, insecure
   files: rev, print0, include, exclude, template, subrepos
   graft: rev, continue, stop, edit, log, force, currentdate, currentuser, date, user, tool, dry-run
-  grep: print0, all, text, follow, ignore-case, files-with-matches, line-number, rev, allfiles, user, date, template, include, exclude
+  grep: print0, all, diff, text, follow, ignore-case, files-with-matches, line-number, rev, allfiles, user, date, template, include, exclude
   heads: rev, topo, active, closed, style, template
   help: extension, command, keyword, system
   identify: rev, num, id, branch, tags, bookmarks, ssh, remotecmd, insecure, template