/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: Canonical.com Patch Queue Manager
  • Date: 2008-04-28 03:29:13 UTC
  • mfrom: (1551.19.38 Aaron's mergeable stuff)
  • Revision ID: pqm@pqm.ubuntu.com-20080428032913-4fgik9du2kpxl8sf
(abentley,
        robertc) Avoid pack name collisions when fetching all revisions

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)