~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_repository_reference/test_get_rev_id_for_revno.py

  • Committer: Richard Wilbur
  • Date: 2016-02-04 19:07:28 UTC
  • mto: This revision was merged to the branch mainline in revision 6618.
  • Revision ID: richard.wilbur@gmail.com-20160204190728-p0zvfii6zase0fw7
Update COPYING.txt from the original http://www.gnu.org/licenses/gpl-2.0.txt  (Only differences were in whitespace.)  Thanks to Petr Stodulka for pointing out the discrepancy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
        spare_tree = tree.bzrdir.sprout('spare').open_workingtree()
32
32
        revid3 = spare_tree.commit('three')
33
33
        branch = spare_tree.branch.create_clone_on_transport(
34
 
            self.get_transport('referring'), stacked_on=self.get_url('base'))
 
34
            self.get_transport('referring'),
 
35
            stacked_on=tree.branch.base)
35
36
        repo = branch.repository
36
37
        # Sanity check: now repo has 'revid3', and base has 'revid' + 'revid2'
37
38
        self.assertEqual(set([revid3]),