##// END OF EJS Templates
debug-discovery: deal with case where common is empty...
marmoute -
r50299:c6aac500 stable
parent child Browse files
Show More
@@ -1330,6 +1330,8 b' def debugdiscovery(ui, repo, remoteurl=b'
1330 common, hds = doit(localrevs, remoterevs)
1330 common, hds = doit(localrevs, remoterevs)
1331
1331
1332 # compute all statistics
1332 # compute all statistics
1333 if len(common) == 1 and repo.nullid in common:
1334 common = set()
1333 heads_common = set(common)
1335 heads_common = set(common)
1334 heads_remote = set(hds)
1336 heads_remote = set(hds)
1335 heads_local = set(repo.heads())
1337 heads_local = set(repo.heads())
General Comments 0
You need to be logged in to leave comments. Login now