Mercurial > hg-stable
view tests/test-revlog-packentry @ 9547:f57640bf10d4
cmdutil: changeset_printer: use methods of filectx/changectx.
This allows extensions that modify changeset metadata (e.g.
description) by overriding methods of changectx to get consistent
behavior from all log-like commands, regardless of whether templates
or styles are used. Without this, overriding changectx methods works
if you use styles or templates, but not with default log format.
This meant adding filectx.extra() for consistency with changectx.
author | Greg Ward <greg-hg@gerg.ca> |
---|---|
date | Mon, 05 Oct 2009 18:17:13 -0400 |
parents | f87685355c9c |
children |
line wrap: on
line source
#!/bin/sh hg init repo cd repo touch foo hg ci -Am 'add foo' hg up -C null # this should be stored as a delta against rev 0 echo foo bar baz > foo hg ci -Am 'add foo again' hg debugindex .hg/store/data/foo.i