Mercurial > hg
view tests/test-template-engine.out @ 11097:9651fa5a3cbf
context: add a changectx.diff() convenience function
With this function, extracting diffs becomes trivial:
repo = hg.repository(ui.ui(), path=root)
ctx = repo['tip']
for out in ctx.diff(): print out
author | Steve Borho <steve@borho.org> |
---|---|
date | Tue, 04 May 2010 20:12:58 -0500 |
parents | d8c5a7f25a40 |
children |
line wrap: on
line source
adding changeset.txt adding mymap 0 97e5f848f0936960273bbf75be6388cd0350a32b test