Mercurial > public > mercurial-scm > hg
comparison mercurial/subrepo.py @ 51696: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 |
comparison
equal
deleted
inserted
replaced
51695:bd1483fd7088 | 51696:7f0cb9ee0534 |
---|---|
1225 path = e.getAttribute('path').encode('utf8') | 1225 path = e.getAttribute('path').encode('utf8') |
1226 if item == 'external': | 1226 if item == 'external': |
1227 externals.append(path) | 1227 externals.append(path) |
1228 elif item == 'missing': | 1228 elif item == 'missing': |
1229 missing.append(path) | 1229 missing.append(path) |
1230 if item not in ( | 1230 if ( |
1231 '', | 1231 item |
1232 'normal', | 1232 not in ( |
1233 'unversioned', | 1233 '', |
1234 'external', | 1234 'normal', |
1235 ) or props not in ('', 'none', 'normal'): | 1235 'unversioned', |
1236 'external', | |
1237 ) | |
1238 or props not in ('', 'none', 'normal') | |
1239 ): | |
1236 changes.append(path) | 1240 changes.append(path) |
1237 for path in changes: | 1241 for path in changes: |
1238 for ext in externals: | 1242 for ext in externals: |
1239 if path == ext or path.startswith(ext + pycompat.ossep): | 1243 if path == ext or path.startswith(ext + pycompat.ossep): |
1240 return True, True, bool(missing) | 1244 return True, True, bool(missing) |