Mercurial > hg
diff hgext/convert/cvsps.py @ 51700:7f0cb9ee0534
Backout accidental publication of a large range of revisions
I accidentally published 25e7f9dcad0f::bd1483fd7088, this is the inverse.
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Tue, 23 Jul 2024 10:02:46 +0200 |
parents | 493034cc3265 |
children | ca7bde5dbafb |
line wrap: on
line diff
--- 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] = (