equal
deleted
inserted
replaced
75 getfilectx, ctxa.user(), ctxa.date()) |
75 getfilectx, ctxa.user(), ctxa.date()) |
76 |
76 |
77 print(ctxb.status(ctxa)) |
77 print(ctxb.status(ctxa)) |
78 |
78 |
79 # test performing a diff on a memctx |
79 # test performing a diff on a memctx |
80 diffopts = diffutil.diffallopts(repo.ui, {'git': True}) |
80 diffopts = diffutil.diffallopts(repo.ui, {b'git': True}) |
81 for d in ctxb.diff(ctxa, opts=diffopts): |
81 for d in ctxb.diff(ctxa, opts=diffopts): |
82 printb(d, end=b'') |
82 printb(d, end=b'') |
83 |
83 |
84 # test safeness and correctness of "ctx.status()" |
84 # test safeness and correctness of "ctx.status()" |
85 print('= checking context.status():') |
85 print('= checking context.status():') |