[PATCH STABLE?] revset: add a hidden revset symbol

Tuukka Tolvanen tuukka.tolvanen at gmail.com
Sun Jan 8 14:09:56 CST 2012


7.1.2012 15:53, Pierre-Yves David kirjoitti:

> Also update the revset test to allow any number of argument for the ``log``
> function.

>     $ log() {
> ->    hg log --template '{rev}\n' -r "$1"
> +>    revset=$1
> +>    shift
> +>    hg log --template '{rev}\n' -r "$revset" $@
>     >  }

$ foopy() { echo $@; echo "$@"; }
$ foopy "x    y" z
x y z
x    y z

hg log --template '{rev}\n' -r "$@"

't.


More information about the Mercurial-devel mailing list