Commits

Bryan O'Sullivan committed f8b5b78

Backed out changeset 08a4467f489162c14cf17b94aa771a23dd6f02dc
It just didn't work. Sigh.

  • Participants
  • Parent commits 08a4467

Comments (0)

Files changed (13)

File en/examples/bisect

 # XXX There's some kind of horrible nondeterminism in the execution of
 # bisect at the moment.  Ugh.
 
+#$ ignore: .*
+
 #$ name: init
 
 hg init mybug
 
 hg bisect bad
 
-#$ drop_output: yes
-
 #$ name: search.good-init
 
 hg bisect good 10

File en/examples/bisect.commits.out

-$ \textbf{buggy_change=37}
-$ \textbf{for (( i = 0; i < 50; i++ )); do}
-> \textbf{  if [[ $i = $buggy_change ]]; then}
-> \textbf{    echo 'i have a gub' > myfile$i}
-> \textbf{    hg commit -q -A -m 'buggy changeset'}
-> \textbf{  else}
-> \textbf{    echo 'nothing to see here, move along' > myfile$i}
-> \textbf{    hg commit -q -A -m 'normal changeset'}
-> \textbf{  fi}
-> \textbf{done}
+
+
+
+
+
+
+
+
+
+

File en/examples/bisect.help.out

-$ \textbf{hg help bisect}
-hg bisect [help|init|reset|next|good|bad]
 
-bisect extension: dichotomic search in the DAG of changesets
-for subcommands see "hg bisect help"
-$ \textbf{hg bisect help}
-list of subcommands for the bisect extension
 
- bad     mark revision as bad and update to the next revision to test
- good    mark revision as good and update to the next revision to test
- help    show help for a given bisect subcommand or all subcommands
- init    start a new bisection
- next    find and update to the next revision to test
- reset   finish a bisection
+
+
+
+
+
+
+
+
+
+
+
+

File en/examples/bisect.init.out

-$ \textbf{hg init mybug}
-$ \textbf{cd mybug}
+
+

File en/examples/bisect.search.bad-init.out

-$ \textbf{hg bisect bad}
+

File en/examples/bisect.search.good-init.out

+
+
+

File en/examples/bisect.search.init.out

-$ \textbf{hg bisect init}
+

File en/examples/bisect.search.mytest.out

+
+
+
+
+
+
+
+
+
+

File en/examples/bisect.search.reset.out

+

File en/examples/bisect.search.rest.out

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

File en/examples/bisect.search.step1.out

+
+
+
+
+
+
+
+
+
+
+

File en/examples/bisect.search.step2.out

+
+
+
+

File en/examples/run-example

     shell = '/usr/bin/env bash'
     ps1 = '__run_example_ps1__ '
     ps2 = '__run_example_ps2__ '
-    pi_re = re.compile(r'#\$\s*(drop_output|name|ignore):\s*(.*)$')
+    pi_re = re.compile(r'#\$\s*(name|ignore):\s*(.*)$')
     
     timeout = 5
 
 
         err = False
 
-        drop_output = False
-
         try:
             try:
                 # eat first prompt string from shell
                                 ofp = None
                         elif pi == 'ignore':
                             ignore.append(rest)
-                        elif pi == 'drop_output':
-                            drop_output = dict(yes=1,no=0)[rest.lower()]
                     elif hunk.strip():
                         # it's something we should execute
                         newps, output = self.sendreceive(hunk)
-                        if not ofp or drop_output:
+                        if not ofp:
                             continue
                         # first, print the command we ran
                         if not hunk.startswith('#'):