[PATCH 1 of 2] make changeset_templater use context

Dirkjan Ochtman dirkjan at ochtman.nl
Thu Feb 5 10:55:25 CST 2009


Let me say first, that I certainly like the ideas for this, though
ISTR bigger slowdowns.

On Wed, Feb 4, 2009 at 22:57, Alexander Solovyov <piranha at piranha.org.ua> wrote:
> +                files[:] = self.repo.status(ctx.parents()[0].node(),
> +                                            ctx.node())[:3]

Isn't ctx.files() equivalent?

> +            args.update(dict(rev=self.repo.manifest.rev(ctx.changeset()[0]),
> +                             node=hex(ctx.changeset()[0])))

ctx.manifest()?

Cheers,

Dirkjan


More information about the Mercurial-devel mailing list