/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/repository_implementations/test_fetch.py

  • Committer: Martin Pool
  • Date: 2008-05-02 02:31:14 UTC
  • mfrom: (3399 +trunk)
  • mto: (3408.1.1 doc)
  • mto: This revision was merged to the branch mainline in revision 3409.
  • Revision ID: mbp@sourcefrog.net-20080502023114-y2gcg3w3jc770j9m
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
141
141
        # without causing any errors.
142
142
        target_repo.fetch(source_repo, revision_id='rev1')
143
143
 
 
144
    def test_fetch_all_same_revisions_twice(self):
 
145
        # Blind-fetching all the same revisions twice should succeed and be a
 
146
        # no-op the second time.
 
147
        repo = self.make_repository('repo')
 
148
        tree = self.make_branch_and_tree('tree')
 
149
        revision_id = tree.commit('test')
 
150
        repo.fetch(tree.branch.repository)
 
151
        repo.fetch(tree.branch.repository)