~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/testworkingtree.py

  • Committer: Robert Collins
  • Date: 2005-10-27 19:45:18 UTC
  • mfrom: (1185.16.130)
  • Revision ID: robertc@robertcollins.net-20051027194518-58afabc9ab280bb0
MergeĀ fromĀ Martin

Show diffs side-by-side

added added

removed removed

Lines of Context:
108
108
        self.failUnless(br_b.has_revision('A'))
109
109
        self.assertEqual(['A'], br_b.revision_history())
110
110
 
111
 
    def test_pull_clobbers(self):
 
111
    def test_pull_overwrites(self):
112
112
        br_a, br_b = self.get_pullable_branches()
113
113
        br_b.commit('foo', rev_id='B')
114
114
        self.assertEqual(['B'], br_b.revision_history())
115
 
        br_b.working_tree().pull(br_a, clobber=True)
 
115
        br_b.working_tree().pull(br_a, overwrite=True)
116
116
        self.failUnless(br_b.has_revision('A'))
117
117
        self.failUnless(br_b.has_revision('B'))
118
118
        self.assertEqual(['A'], br_b.revision_history())