mercurial/patch.py
changeset 3899 504dee0abeac
parent 3717 9e248cfd8b94
child 3900 2b3175acb653
--- a/mercurial/patch.py
+++ b/mercurial/patch.py
@@ -656,7 +656,7 @@ def export(repo, revs, template='hg-%h.p
             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")