mercurial/patch.py
changeset 3899 504dee0abeac
parent 3717 9e248cfd8b94
child 3900 2b3175acb653
--- a/mercurial/patch.py	Thu Dec 14 19:30:18 2006 +0100
+++ b/mercurial/patch.py	Fri Dec 15 19:09:10 2006 +0100
@@ -656,7 +656,7 @@
             fp.close()
 
     for seqno, cset in enumerate(revs):
-        single(cset, seqno, fp)
+        single(cset, seqno+1, fp)
 
 def diffstat(patchlines):
     fd, name = tempfile.mkstemp(prefix="hg-patchbomb-", suffix=".txt")