Mercurial > hg
comparison hgweb.cgi @ 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 | 338167735124 |
children | 227b9f13db13 |
comparison
equal
deleted
inserted
replaced
11096:871088c223ec | 11097:9651fa5a3cbf |
---|