something odd in RemoteBranch.pull

Bug #372523 reported by Robert Collins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Medium
Unassigned

Bug Description

This:
    def test_stacked_pull_more_than_stacking_has_bug_360791(self):
        # When pulling some fixed amount of content that is more than
the
        # source has (because some is coming from a fallback branch, no
error
        # should be received. This was reported as bug 360791.
        # Need three branches: a trunk, a stacked branch, and a
preexisting
        # branch pulling content from stacked and trunk.
        self.setup_smart_server_with_call_log()
        trunk = self.make_branch_and_tree('trunk',
format="1.9-rich-root")
        r1 = trunk.commit('start')
        stacked_branch = trunk.branch.create_clone_on_transport(
            self.get_transport('stacked'), stacked_on=trunk.branch.base)
        local = self.make_branch('local', format='1.9-rich-root')
        self.assertRaises(Exception, local.repository.fetch,
stacked_branch.repository, stacked_branch.last_revision())

is lock-correct, but changing the last line to
        self.assertRaises(Exception, local.pull, stacked_branch)

results in a lock-mismatch from the test. Something in pull is
discarding lock info or something like that.

 affects bzr
 importance medium
 status triaged

--

Martin Pool (mbp)
Changed in bzr:
status: Triaged → Confirmed
Jelmer Vernooij (jelmer)
tags: added: hpss pull
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.