mercurial/patch.py
changeset 23664 377124ba6b10
parent 23663 a9853fc172d2
child 23665 a90499a6ad8d
--- a/mercurial/patch.py	Tue Dec 23 16:12:54 2014 -0800
+++ b/mercurial/patch.py	Tue Dec 23 16:25:00 2014 -0800
@@ -1807,7 +1807,7 @@
         tn = None
         dodiff = True
         header = []
-        if f in man1:
+        if f not in addedset:
             to = getfilectx(f, ctx1).data()
         if f not in removedset:
             tn = getfilectx(f, ctx2).data()