~rom1-chal/bzr-builder/merge-all-what-can-be

« back to all changes in this revision

Viewing changes to recipe.py

  • Committer: James Westby
  • Date: 2010-08-31 20:06:24 UTC
  • Revision ID: james.westby@canonical.com-20100831200624-7hv28o1kkhdvowag
Tags: 0.5
Undo the mistaken changes in the previous merge. Thanks Aaron.

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
NEST_INSTRUCTION = "nest"
57
57
RUN_INSTRUCTION = "run"
58
58
 
 
59
SAFE_INSTRUCTIONS = [
 
60
    MERGE_INSTRUCTION, NEST_PART_INSTRUCTION, NEST_INSTRUCTION]
 
61
 
59
62
TIME_VAR = "{time}"
60
63
DATE_VAR = "{date}"
61
64
REVNO_VAR = "{revno}"
118
121
    :param tree_to: The WorkingTree to pull in to, or None. If not None then
119
122
            br_to must not be None.
120
123
    :param br_to: The Branch to pull in to, or None to branch.
121
 
    :param tree_to: The WorkingTree to pull in to, or None. If not None then
122
 
            br_to must not be None.
123
 
    :param br_to: The Branch to pull in to, or None to branch.
124
124
    :param br_from: The Branch to pull/branch from.
125
125
    :param to_transport: A Transport for the root of the target.
126
126
    :param revision_id: the revision id to pull/branch.
1121
1121
                self.throw_parse_error("Expecting a float, got '%s'" %
1122
1122
                    self.peek_to_whitespace())
1123
1123
            ret += "." + ret2
 
1124
        try:
 
1125
            fl = conv_fn(ret)
 
1126
        except ValueError:
1124
1127
            self.throw_parse_error("Expecting a float, got '%s'" % ret)
1125
1128
        return (fl, ret)
1126
1129