[PATCH 2 of 9 hglib] hglib: introduce a changeset class instead of using namedtuple

Antoine Pitrou solipsis at pitrou.net
Thu Jul 28 16:47:22 CDT 2011


On Thu, 28 Jul 2011 22:58:55 +0300
Idan Kamara <idankk86 at gmail.com> wrote:
> # HG changeset patch
> # User Idan Kamara <idankk86 at gmail.com>
> # Date 1311450939 -10800
> # Node ID ed6263fadf3c457582278b89d7eed0bbcf7b6f43
> # Parent  248d1121db656af449298303f2dcba16e71421dc
> hglib: introduce a changeset class instead of using namedtuple

For the record, you can subclass a namedtuple, which brings the best of
both worlds.

Regards

Antoine.




More information about the Mercurial-devel mailing list