mercurial/revset.py
changeset 17424 e7cfe3587ea4
parent 17390 74b44f25b4b1
child 17469 fb72eec7efd8
equal deleted inserted replaced
17406:fc14953e8e34 17424:e7cfe3587ea4
   333 def bisect(repo, subset, x):
   333 def bisect(repo, subset, x):
   334     """``bisect(string)``
   334     """``bisect(string)``
   335     Changesets marked in the specified bisect status:
   335     Changesets marked in the specified bisect status:
   336 
   336 
   337     - ``good``, ``bad``, ``skip``: csets explicitly marked as good/bad/skip
   337     - ``good``, ``bad``, ``skip``: csets explicitly marked as good/bad/skip
   338     - ``goods``, ``bads``      : csets topologicaly good/bad
   338     - ``goods``, ``bads``      : csets topologically good/bad
   339     - ``range``              : csets taking part in the bisection
   339     - ``range``              : csets taking part in the bisection
   340     - ``pruned``             : csets that are goods, bads or skipped
   340     - ``pruned``             : csets that are goods, bads or skipped
   341     - ``untested``           : csets whose fate is yet unknown
   341     - ``untested``           : csets whose fate is yet unknown
   342     - ``ignored``            : csets ignored due to DAG topology
   342     - ``ignored``            : csets ignored due to DAG topology
   343     - ``current``            : the cset currently being bisected
   343     - ``current``            : the cset currently being bisected
   592 
   592 
   593             lineage.append(r)
   593             lineage.append(r)
   594 
   594 
   595             # The visited lineage is a match if the current source is in the arg
   595             # The visited lineage is a match if the current source is in the arg
   596             # set.  Since every candidate dest is visited by way of iterating
   596             # set.  Since every candidate dest is visited by way of iterating
   597             # subset, any dests futher back in the lineage will be tested by a
   597             # subset, any dests further back in the lineage will be tested by a
   598             # different iteration over subset.  Likewise, if the src was already
   598             # different iteration over subset.  Likewise, if the src was already
   599             # selected, the current lineage can be selected without going back
   599             # selected, the current lineage can be selected without going back
   600             # further.
   600             # further.
   601             if src in args or src in dests:
   601             if src in args or src in dests:
   602                 dests.update(lineage)
   602                 dests.update(lineage)