initial push does not copy tagged revisions (BzrDir.clone_on_transport)

Bug #775523 reported by John A Meinel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
High
Unassigned
Breezy
Triaged
High
Unassigned

Bug Description

The new code added by Andrew to push tagged revisions when doing "bzr push" does not take effect on initial push (when push has to create the target branch). I thought I filed a bug on this, but didn't find it in a couple quick searches.

I tracked this down into: BzrDir.clone_on_transport()
It calls Repository.fetch() directly using:

                if (result_repo.user_url == result.user_url
                    and not require_stacking and
                    revision_id is not None):
                    fetch_spec = graph.PendingAncestryResult(
                        [revision_id], local_repo)
                    result_repo.fetch(local_repo, fetch_spec=fetch_spec)
                else:
                    result_repo.fetch(local_repo, revision_id=revision_id)

Which is "if I can, push everything in a single request so that I don't have to probe the ancestry". However, it doesn't pay attention to tags, etc.

Tags: push tags
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
Jelmer Vernooij (jelmer)
Changed in brz:
status: New → Triaged
importance: Undecided → High
tags: removed: check-for-breezy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.