/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 breezy/tests/per_branch/test_branch.py

  • Committer: Jelmer Vernooij
  • Date: 2020-01-12 13:56:10 UTC
  • mto: This revision was merged to the branch mainline in revision 7443.
  • Revision ID: jelmer@jelmer.uk-20200112135610-0a9bct6x4cw7he6y
Add strip_segment_parameters function.

Show diffs side-by-side

added added

removed removed

Lines of Context:
165
165
        branch_b = wt_a.branch.controldir.sprout(
166
166
            'b', revision_id=rev1).open_branch()
167
167
        self.assertEqual(
168
 
            urlutils.split_segment_parameters(wt_a.branch.user_url)[0],
169
 
            urlutils.split_segment_parameters(branch_b.get_parent())[0])
 
168
            urlutils.strip_segment_parameters(wt_a.branch.user_url),
 
169
            urlutils.strip_segment_parameters(branch_b.get_parent()))
170
170
        return branch_b
171
171
 
172
172
    def test_clone_branch_nickname(self):