##// END OF EJS Templates
debugdiscovery: drop reference to non-existent --serverlog option...
Martin von Zweigbergk -
r35419:c73d23cb default
parent child Browse files
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 remoterevs, _checkout = hg.addbranchrevs(repo, remote, branches,
802 786 opts.get('remote_head'))
803 localrevs = opts.get('rev')
787 localrevs = opts['rev']
804 788 doit(localrevs, remoterevs)
805 789
806 790 @command('debugextensions', cmdutil.formatteropts, [], norepo=True)
General Comments 0
You need to be logged in to leave comments. Login now