##// END OF EJS Templates
Fixed spacing/indentation, removed #! script header, added short description.
Thomas Arendsen Hein -
r1855:0ba9dee8 default
parent child Browse files
Show More
@@ -1,4 +1,4
1 #!/usr/bin/env python
1 # bisect extension for mercurial
2 2 #
3 3 # This software may be used and distributed according to the terms
4 4 # of the GNU General Public License, incorporated herein by reference.
@@ -161,7 +161,8 class bisect(object):
161 161 if not self.goodrevs:
162 162 self.ui.warn("No good revision given\n")
163 163 self.ui.warn("Assuming the first revision is good\n")
164 ancestors, num_ancestors = self.__ancestors_and_nb_ancestors(self.badrev)
164 ancestors, num_ancestors = self.__ancestors_and_nb_ancestors(
165 self.badrev)
165 166 tot = len(ancestors)
166 167 if tot == 1:
167 168 if ancestors.pop() != self.badrev:
@@ -280,7 +281,6 for subcommands see "hg bisect help\"
280 281 return bisectcmdtable[cmd][0](*args)
281 282
282 283 cmdtable = {
283 "bisect": (bisect_run, [],
284 "hg bisect [help|init|reset|next|good|bad]"),
284 "bisect": (bisect_run, [], "hg bisect [help|init|reset|next|good|bad]"),
285 285 #"bisect-test": (test, [], "hg bisect-test rev"),
286 286 }
General Comments 0
You need to be logged in to leave comments. Login now