Menu

Commit [r10496]  Maximize  Restore  History

TracMercurial for 0.12: switch to context API

- `MercurialRepository.hg_node(rev)` becomes `short_rev(rev)` and we
focus on using numerical revisions. Also, we should be much more
robust w.r.t the given Trac `rev` (e.g. `unicode` branch names)
(#9724)
- `MercurialRepository.hg_display` becomes `_display` and takes a `changectx`
- added `MercurialRepository.changectx(rev)`
- `hg_time` becomes `from_hg_time`, and respects timezone information
- `MercurialNode.__init__` logic improved a bit, don't scan manifest
unecessarily; there's still room for improvement I believe
- fixed glitch in `MercurialRepository.to_s` (#10000)

cboos 2011-01-28

changed /plugins/0.12/mercurial-plugin/setup.py
changed /plugins/0.12/mercurial-plugin/tracext/hg/backend.py
/plugins/0.12/mercurial-plugin/setup.py Diff Switch to side-by-side view
Loading...
/plugins/0.12/mercurial-plugin/tracext/hg/backend.py Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB