/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/dir.py

  • Committer: Jelmer Vernooij
  • Date: 2020-02-19 04:50:09 UTC
  • mto: (7490.3.4 work)
  • mto: This revision was merged to the branch mainline in revision 7495.
  • Revision ID: jelmer@jelmer.uk-20200219045009-edddtkasxnrsepw9
Add more tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
318
318
 
319
319
    def push_branch(self, source, revision_id=None, overwrite=False,
320
320
                    remember=False, create_prefix=False, lossy=False,
321
 
                    name=None):
 
321
                    name=None, tag_selector=None):
322
322
        """Push the source branch into this ControlDir."""
323
323
        push_result = GitPushResult()
324
324
        push_result.workingtree_updated = None
331
331
        target = self.open_branch(name, nascent_ok=True)
332
332
        push_result.branch_push_result = source.push(
333
333
            target, overwrite=overwrite, stop_revision=revision_id,
334
 
            lossy=lossy)
 
334
            lossy=lossy, tag_selector=tag_selector)
335
335
        push_result.new_revid = push_result.branch_push_result.new_revid
336
336
        push_result.old_revid = push_result.branch_push_result.old_revid
337
337
        try: