hgext/phabricator.py
changeset 43182 a66e2844b0c6
parent 43117 8ff1ecfadcd1
child 43183 73d4bc60e389
--- a/hgext/phabricator.py	Sun Oct 06 03:30:00 2019 -0400
+++ b/hgext/phabricator.py	Sun Oct 06 13:50:32 2019 +0100
@@ -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()