From 0ae0d20496200307360b59c3521fa805479a50a7 Mon Sep 17 00:00:00 2001 From: Felipe Contreras Date: Mon, 13 Mar 2023 22:34:34 -0600 Subject: [PATCH] Remove no-op check This code is only executed when there's two parents. Signed-off-by: Felipe Contreras --- hg-fast-export.py | 1 - 1 file changed, 1 deletion(-) diff --git a/hg-fast-export.py b/hg-fast-export.py index 10ec63c..dd94d3a 100755 --- a/hg-fast-export.py +++ b/hg-fast-export.py @@ -112,7 +112,6 @@ def get_filechanges(repo,revision,parents,files,mleft): # merges where we really need it due to hg's revlog logic modified,removed=[],[] for p in parents: - if p<0: continue mright=repo[p].manifest() modified,removed=split_dict(mleft,mright,modified,removed) modified.sort()