[PATCH] crecord: add dictionary to default return value of filterpatch

Sean Farley sean at farley.io
Wed Dec 9 22:29:37 CST 2015


cdelahousse at fb.com writes:

> # HG changeset patch
> # User Laurent Charignon <lcharignon at fb.com>
> # Date 1449709287 28800
> #      Wed Dec 09 17:01:27 2015 -0800
> # Node ID 9a1a06e8de4b19baa01277db2ae6d46fa74b91b0
> # Parent  42aa0e570eaa364a622bc4443b0bcb79b1100a58
> crecord: add dictionary to default return value of filterpatch
>
> When committing interactively without changes, the user would get a ValueError
> exception. This patch adds a dictionary to the return value of filterpatch
> when there are no files to change.

Looks good to me.


More information about the Mercurial-devel mailing list