contrib/synthrepo.py
changeset 22446 054ec0212718
parent 21689 503bb3af70fe
child 22472 2e2577b0ccbe
--- a/contrib/synthrepo.py	Mon Sep 15 09:36:12 2014 -0500
+++ b/contrib/synthrepo.py	Mon Sep 15 16:07:54 2014 -0400
@@ -356,10 +356,7 @@
                              for __ in xrange(pick(linesinfilesadded))) + '\n'
             changes[path] = context.memfilectx(repo, path, data)
         def filectxfn(repo, memctx, path):
-            data = changes[path]
-            if data is None:
-                raise IOError
-            return data
+            return changes[path]
         if not changes:
             continue
         if revs: