Mercurial > public > mercurial-scm > hg
diff mercurial/context.py @ 5439:d0c67b52ac01
convert: make contents of "extra" dict available from sources, for sinks.
This breaks hash preservation for hg->hg conversion, as each converted
change gets a convert_revision item added to its extra dict. Ugh.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Wed, 10 Oct 2007 15:30:00 -0700 |
parents | d7e7902bb190 |
children | 8c0756f7b18b |
line wrap: on
line diff
--- a/mercurial/context.py Wed Oct 10 15:30:00 2007 -0700 +++ b/mercurial/context.py Wed Oct 10 15:30:00 2007 -0700 @@ -82,6 +82,7 @@ def files(self): return self._changeset[3] def description(self): return self._changeset[4] def branch(self): return self._changeset[5].get("branch") + def extra(self): return self._changeset[5] def tags(self): return self._repo.nodetags(self._node) def parents(self):