mirror of
https://github.com/frej/fast-export.git
synced 2026-05-07 01:35:47 +02:00
Simplify list of files for the first commit
We already have the files. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
This commit is contained in:
@@ -336,8 +336,7 @@ def export_commit(ui,repo,revision,old_marks,max,count,authors,
|
|||||||
|
|
||||||
if len(parents) == 0:
|
if len(parents) == 0:
|
||||||
# first revision: feed in full manifest
|
# first revision: feed in full manifest
|
||||||
added=man.keys()
|
added=files
|
||||||
added.sort()
|
|
||||||
type='full'
|
type='full'
|
||||||
else:
|
else:
|
||||||
wr(b'from %s' % revnum_to_revref(parents[0], old_marks))
|
wr(b'from %s' % revnum_to_revref(parents[0], old_marks))
|
||||||
|
|||||||
Reference in New Issue
Block a user