diff -r b0a4de6c14f8 -r ca7bde5dbafb mercurial/subrepo.py --- a/mercurial/subrepo.py Thu Jul 18 12:03:29 2024 +0200 +++ b/mercurial/subrepo.py Thu Jul 18 12:36:12 2024 +0200 @@ -1227,16 +1227,12 @@ externals.append(path) elif item == 'missing': missing.append(path) - if ( - item - not in ( - '', - 'normal', - 'unversioned', - 'external', - ) - or props not in ('', 'none', 'normal') - ): + if item not in ( + '', + 'normal', + 'unversioned', + 'external', + ) or props not in ('', 'none', 'normal'): changes.append(path) for path in changes: for ext in externals: