[PATCH V3] ui: path option to declare which revisions to push by default

Yuya Nishihara yuya at tcha.org
Mon Jun 27 08:23:09 EDT 2016


On Sun, 26 Jun 2016 07:59:21 -0700, Gregory Szorc wrote:
> # HG changeset patch
> # User Gregory Szorc <gregory.szorc at gmail.com>
> # Date 1466953142 25200
> #      Sun Jun 26 07:59:02 2016 -0700
> # Node ID 2ab029bed872cb7715b67734c87366ffd1b1c402
> # Parent  b62bce819d0cafcd94e3838e97062b42c9cb13b2
> ui: path option to declare which revisions to push by default

Thanks, I'll replace the old version by this and push to the committed repo.

> +Invalid :pushrev raises appropriately
> +
> +  $ hg --config 'paths.default:pushrev=notdefined()' push
> +  pushing to file:/*/$TESTTMP/pushurlsource/../pushurldest (glob)
> +  hg: parse error: unknown identifier: notdefined
> +  [255]

The error caught by formatspec() is syntax error. I've added ':pushrev=(' test
in-flight.


More information about the Mercurial-devel mailing list