Show More
@@ -782,25 +782,9 def debugdiscovery(ui, repo, remoteurl=" | |||
|
782 | 782 | elif rheads <= common: |
|
783 | 783 | ui.write(("remote is subset\n")) |
|
784 | 784 | |
|
785 | serverlogs = opts.get('serverlog') | |
|
786 | if serverlogs: | |
|
787 | for filename in serverlogs: | |
|
788 | with open(filename, 'r') as logfile: | |
|
789 | line = logfile.readline() | |
|
790 | while line: | |
|
791 | parts = line.strip().split(';') | |
|
792 | op = parts[1] | |
|
793 | if op == 'cg': | |
|
794 | pass | |
|
795 | elif op == 'cgss': | |
|
796 | doit(parts[2].split(' '), parts[3].split(' ')) | |
|
797 | elif op == 'unb': | |
|
798 | doit(parts[3].split(' '), parts[2].split(' ')) | |
|
799 | line = logfile.readline() | |
|
800 | else: | |
|
801 | 785 |
|
|
802 | 786 |
|
|
803 |
|
|
|
787 | localrevs = opts['rev'] | |
|
804 | 788 |
|
|
805 | 789 | |
|
806 | 790 | @command('debugextensions', cmdutil.formatteropts, [], norepo=True) |
General Comments 0
You need to be logged in to leave comments.
Login now