~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_commit.py

  • Committer: James Westby
  • Date: 2009-03-10 23:39:48 UTC
  • mfrom: (3535.10.11 bzr.dev.bugs)
  • mto: This revision was merged to the branch mainline in revision 4109.
  • Revision ID: james.westby@canonical.com-20090310233948-fybemou7wys2n7v9
Improve the help topic and errors around --fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
517
517
        self.build_tree(['tree/hello.txt'])
518
518
        tree.add('hello.txt')
519
519
        self.run_bzr_error(
520
 
            ["Invalid bug identifier for %s. Commit refused." % 'lp:orange'],
 
520
            ["Did not understand bug identifier orange: Must be an integer. "
 
521
             "See \"bzr help bugs\" for more information on this feature.\n"
 
522
             "Commit refused."],
521
523
            'commit -m add-b --fixes=lp:orange',
522
524
            working_dir='tree')
523
525
 
527
529
        self.build_tree(['tree/hello.txt'])
528
530
        tree.add('hello.txt')
529
531
        self.run_bzr_error(
530
 
            [r"Invalid bug orange. Must be in the form of 'tag:id'\. "
 
532
            [r"Invalid bug orange. Must be in the form of 'tracker:id'\. "
 
533
             r"See \"bzr help bugs\" for more information on this feature.\n"
531
534
             r"Commit refused\."],
532
535
            'commit -m add-b --fixes=orange',
533
536
            working_dir='tree')