Mercurial > hg
view tests/test-debugrename.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 | f2618cacb485 |
children |
line wrap: on
line source
adding a b renamed from a:b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3 a renamed from b:37d9b5d994eab34eda9c16b195ace52c7b129980 % test with --rev b renamed from a:b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3