/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/plugins/weave_fmt/bzrdir.py

Add a tag_selector argument to push/pull/sprout functions.

Merged from https://code.launchpad.net/~jelmer/brz/tag-selector/+merge/379435

Show diffs side-by-side

added added

removed removed

Lines of Context:
747
747
        return self._format.__class__()
748
748
 
749
749
    def clone(self, url, revision_id=None, force_new_repo=False,
750
 
              preserve_stacking=False):
 
750
              preserve_stacking=False, tag_selector=None):
751
751
        """See ControlDir.clone().
752
752
 
753
753
        force_new_repo has no effect, since this family of formats always
759
759
        result = self._format._initialize_for_clone(url)
760
760
        self.open_repository().clone(result, revision_id=revision_id)
761
761
        from_branch = self.open_branch()
762
 
        from_branch.clone(result, revision_id=revision_id)
 
762
        from_branch.clone(result, revision_id=revision_id, tag_selector=tag_selector)
763
763
        try:
764
764
            tree = self.open_workingtree()
765
765
        except errors.NotLocalUrl: