> +  $ hg init sng
> +  $ cd sng
> +  $ echo "unmod" >> um
> +  $ hg ci -A -m "adds unmod to um"
> +  adding um
> +  $ echo "something else" >> new
> +  $ hg ci -A -m "second commit"
> +  adding new
> +  $ hg grep -r "." "unmod"
> +  [1]
> +  $ hg grep -r "." "unmod" --unmodified

--allfiles ?

> @@ -1881,6 +1881,9 @@
>      yielding each context, the iterator will first call the prepare
>      function on each context in the window in forward order.'''
>  
> +    allfiles = opts.get('allfiles')
> +    if allfiles and len(revs) > 1:
> +        raise error.Abort(_("multiple revisions not supported with 
> --allfiles"))

`revs` isn't defined yet.

>      follow = opts.get('follow') or opts.get('follow_first')
>      revs = _walkrevs(repo, opts)
>      if not revs:
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to