--- a/hgext/convert/cvsps.py Mon Jul 22 16:49:38 2024 +0200
+++ b/hgext/convert/cvsps.py Tue Jul 23 10:02:46 2024 +0200
@@ -639,6 +639,7 @@
files = set()
c = None
for i, e in enumerate(log):
+
# Check if log entry belongs to the current changeset or not.
# Since CVS is file-centric, two different file revisions with
@@ -982,6 +983,7 @@
branches = {} # latest version number in each branch
ancestors = {} # parent branch
for cs in changesets:
+
if opts[b"ancestors"]:
if cs.branch not in branches and cs.parents and cs.parents[0].id:
ancestors[cs.branch] = (