~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/remote.py

Lift Branch.set_stacked_on_url up from BzrBranch7.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2288
2288
            self._ensure_real()
2289
2289
            return self._real_branch._set_parent_location(url)
2290
2290
 
2291
 
    def set_stacked_on_url(self, stacked_location):
2292
 
        """Set the URL this branch is stacked against.
2293
 
 
2294
 
        :raises UnstackableBranchFormat: If the branch does not support
2295
 
            stacking.
2296
 
        :raises UnstackableRepositoryFormat: If the repository does not support
2297
 
            stacking.
2298
 
        """
2299
 
        self._ensure_real()
2300
 
        return self._real_branch.set_stacked_on_url(stacked_location)
2301
 
 
2302
2291
    @needs_write_lock
2303
2292
    def pull(self, source, overwrite=False, stop_revision=None,
2304
2293
             **kwargs):