Show More
@@ -782,26 +782,10 b' def debugdiscovery(ui, repo, remoteurl="' | |||||
782 | elif rheads <= common: |
|
782 | elif rheads <= common: | |
783 | ui.write(("remote is subset\n")) |
|
783 | ui.write(("remote is subset\n")) | |
784 |
|
784 | |||
785 | serverlogs = opts.get('serverlog') |
|
785 | remoterevs, _checkout = hg.addbranchrevs(repo, remote, branches, | |
786 | if serverlogs: |
|
786 | opts.get('remote_head')) | |
787 | for filename in serverlogs: |
|
787 | localrevs = opts['rev'] | |
788 | with open(filename, 'r') as logfile: |
|
788 | doit(localrevs, remoterevs) | |
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 | remoterevs, _checkout = hg.addbranchrevs(repo, remote, branches, |
|
|||
802 | opts.get('remote_head')) |
|
|||
803 | localrevs = opts.get('rev') |
|
|||
804 | doit(localrevs, remoterevs) |
|
|||
805 |
|
789 | |||
806 | @command('debugextensions', cmdutil.formatteropts, [], norepo=True) |
|
790 | @command('debugextensions', cmdutil.formatteropts, [], norepo=True) | |
807 | def debugextensions(ui, **opts): |
|
791 | def debugextensions(ui, **opts): |
General Comments 0
You need to be logged in to leave comments.
Login now