diff --git a/hgext/phabricator.py b/hgext/phabricator.py index 5ff32fdf0b0b56906067197a356e10bb5175755a_aGdleHQvcGhhYnJpY2F0b3IucHk=..a66e2844b0c6facd16ff3f84bba4f74f1521b09c_aGdleHQvcGhhYnJpY2F0b3IucHk= 100644 --- a/hgext/phabricator.py +++ b/hgext/phabricator.py @@ -448,6 +448,23 @@ return output.getvalue() +class DiffChangeType(object): + ADD = 1 + CHANGE = 2 + DELETE = 3 + MOVE_AWAY = 4 + COPY_AWAY = 5 + MOVE_HERE = 6 + COPY_HERE = 7 + MULTICOPY = 8 + + +class DiffFileType(object): + TEXT = 1 + IMAGE = 2 + BINARY = 3 + + def creatediff(ctx): """create a Differential Diff""" repo = ctx.repo()