Show More
@@ -42,7 +42,6 b' from . import (' | |||
|
42 | 42 | color, |
|
43 | 43 | context, |
|
44 | 44 | dagparser, |
|
45 | dagutil, | |
|
46 | 45 | encoding, |
|
47 | 46 | error, |
|
48 | 47 | exchange, |
@@ -791,11 +790,10 b' def debugdiscovery(ui, repo, remoteurl="' | |||
|
791 | 790 | if not opts.get('nonheads'): |
|
792 | 791 | ui.write(("unpruned common: %s\n") % |
|
793 | 792 | " ".join(sorted(short(n) for n in common))) |
|
794 | cl = repo.changelog | |
|
795 | clnode = cl.node | |
|
796 | dag = dagutil.revlogdag(cl) | |
|
797 |
|
|
|
798 | common = {clnode(r) for r in dag.headsetofconnecteds(all)} | |
|
793 | ||
|
794 | clnode = repo.changelog.node | |
|
795 | common = repo.revs('heads(::%ln)', common) | |
|
796 | common = {clnode(r) for r in common} | |
|
799 | 797 | else: |
|
800 | 798 | nodes = None |
|
801 | 799 | if pushedrevs: |
General Comments 0
You need to be logged in to leave comments.
Login now