Comment 7 for bug 360791

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 360791] [NEW] get_stream on stacked branch causes "Error received from smart server: ('NoSuchRevision', )"

    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')
 local.pull(stacked_branch) #boom