Submitter | phabricator |
---|---|
Date | Oct. 10, 2019, 9:52 p.m. |
Message ID | <differential-rev-PHID-DREV-yd7soacmigxqdx326ouz-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/42197/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/hgext/phabricator.py b/hgext/phabricator.py --- a/hgext/phabricator.py +++ b/hgext/phabricator.py @@ -448,6 +448,23 @@ return output.getvalue() +class DiffChangeType: + ADD = 1 + CHANGE = 2 + DELETE = 3 + MOVE_AWAY = 4 + COPY_AWAY = 5 + MOVE_HERE = 6 + COPY_HERE = 7 + MULTICOPY = 8 + + +class DiffFileType: + TEXT = 1 + IMAGE = 2 + BINARY = 3 + + def creatediff(ctx): """create a Differential Diff""" repo = ctx.repo()