##// END OF EJS Templates
phabricator: add the DiffChangeType and DiffFileType constants...
Ian Moody -
r43452:a66e2844 default
parent child Browse files
Show More
@@ -448,6 +448,23 def getdiff(ctx, diffopts):
448 448 return output.getvalue()
449 449
450 450
451 class DiffChangeType(object):
452 ADD = 1
453 CHANGE = 2
454 DELETE = 3
455 MOVE_AWAY = 4
456 COPY_AWAY = 5
457 MOVE_HERE = 6
458 COPY_HERE = 7
459 MULTICOPY = 8
460
461
462 class DiffFileType(object):
463 TEXT = 1
464 IMAGE = 2
465 BINARY = 3
466
467
451 468 def creatediff(ctx):
452 469 """create a Differential Diff"""
453 470 repo = ctx.repo()
General Comments 0
You need to be logged in to leave comments. Login now