From 21fa443b4ade59a3bf00a3ea163b693aa33b4b73 Mon Sep 17 00:00:00 2001 From: Felipe Contreras Date: Thu, 9 Mar 2023 15:35:50 -0600 Subject: [PATCH] Simplify list of files for the first commit We already have the files. Signed-off-by: Felipe Contreras --- hg-fast-export.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hg-fast-export.py b/hg-fast-export.py index 0f1726a..3b1f267 100755 --- a/hg-fast-export.py +++ b/hg-fast-export.py @@ -336,8 +336,7 @@ def export_commit(ui,repo,revision,old_marks,max,count,authors, if len(parents) == 0: # first revision: feed in full manifest - added=man.keys() - added.sort() + added=files type='full' else: wr(b'from %s' % revnum_to_revref(parents[0], old_marks))