tests/test-context.py
changeset 38658 a75896bf5ccb
parent 38588 1c93e0237a24
child 41397 0bd56c291359
equal deleted inserted replaced
38657:28c9d67d88ab 38658:a75896bf5ccb
    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():')