view tests/test-revert-unknown.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 a514c7509fa9
children
line wrap: on
line source

%% Should show unknown
? unknown
removing b
%% Should show unknown and b removed
R b
? unknown
%% Should show a and unknown
a
unknown