Mercurial > hg
diff hgext/convert/cvsps.py @ 51690:493034cc3265
black: format the codebase with 23.3.0
The CI has moved to 23.3.0, which is the last version that supports 3.7
at runtime, so we should honor this change.
# skip-blame mass-reformating only
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Thu, 18 Jul 2024 12:36:12 +0200 |
parents | 1eab9e40c0c8 |
children | 7f0cb9ee0534 |
line wrap: on
line diff
--- a/hgext/convert/cvsps.py Thu Jul 18 12:03:29 2024 +0200 +++ b/hgext/convert/cvsps.py Thu Jul 18 12:36:12 2024 +0200 @@ -639,7 +639,6 @@ 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 @@ -983,7 +982,6 @@ 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] = (