/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_fetch.py

  • Committer: Martin Pool
  • Date: 2007-08-14 09:28:21 UTC
  • mto: (2696.3.5 default-format)
  • mto: This revision was merged to the branch mainline in revision 2722.
  • Revision ID: mbp@sourcefrog.net-20070814092821-1e5d80iyur5fjrrs
More append_revision cleanup; _synchronize_history optimization

Show diffs side-by-side

added added

removed removed

Lines of Context:
101
101
 
102
102
    # We try to pull a revision 'a-b-c' from a branch whose repository doesn't
103
103
    # contain a-b-c; this should give InstallFailed.
104
 
    self.applyDeprecated(zero_ninetyone,
105
 
            br_a2.append_revision, 'a-b-c')
 
104
    br_a2.set_last_revision_info(42, 'a-b-c')
106
105
    self.assertRaises(errors.InstallFailed, br_a3.fetch, br_a2)
107
106
 
108
107
    # TODO: ADHB 20070116 Perhaps set_last_revision shouldn't accept