/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/git/remote.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2020-03-07 15:17:55 UTC
  • mfrom: (7496.1.2 trunk-merge-3.0)
  • Revision ID: breezy.the.bot@gmail.com-20200307151755-b5g0v8o9r80qhmp5
Merge the lp:brz/3.1 branch.

Merged from https://code.launchpad.net/~jelmer/brz/trunk-merge-3.1/+merge/380392

Show diffs side-by-side

added added

removed removed

Lines of Context:
545
545
 
546
546
    def push_branch(self, source, revision_id=None, overwrite=False,
547
547
                    remember=False, create_prefix=False, lossy=False,
548
 
                    name=None):
 
548
                    name=None, tag_selector=None):
549
549
        """Push the source branch into this ControlDir."""
550
550
        if revision_id is None:
551
551
            # No revision supplied by the user, default to the branch
590
590
            ret[actual_refname] = new_sha
591
591
            if fetch_tags:
592
592
                for tagname, revid in source.tags.get_tag_dict().items():
 
593
                    if tag_selector and not tag_selector(tagname):
 
594
                        continue
593
595
                    if lossy:
594
596
                        try:
595
597
                            new_sha = source_store._lookup_revision_sha1(revid)