Merge lp:~spiv/bzr/new-repo-stacking-bug-597942 into lp:bzr
Proposed by
Andrew Bennetts
Status: | Merged |
---|---|
Approved by: | Robert Collins |
Approved revision: | no longer in the source branch. |
Merged at revision: | 5319 |
Proposed branch: | lp:~spiv/bzr/new-repo-stacking-bug-597942 |
Merge into: | lp:bzr |
Diff against target: |
62 lines (+29/-1) 3 files modified
NEWS (+4/-0) bzrlib/bzrdir.py (+2/-1) bzrlib/tests/per_bzrdir/test_bzrdir.py (+23/-0) |
To merge this branch: | bzr merge lp:~spiv/bzr/new-repo-stacking-bug-597942 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Robert Collins (community) | Approve | ||
Review via email: mp+28368@code.launchpad.net |
Commit message
Fix BzrDir.sprout to respect default stacking policies (#597942)
Description of the change
This fixes BzrDir.sprout to be aware that new repositories can have fallbacks even if the caller didn't ask for stacked=True. This happens when there is a default stacking policy at the target location.
An example that benefits is "bzr branch lp:bzr lp:~user/bzr/blah" will no longer transfer the full revision history.
To post a comment you must log in.
Btw, this fix is probably a good backport candidate for 2.0 and 2.1. I'll make separate proposals for those when this is landed.