Add --no-tree to bzr push
Bug #506730 reported by
ThomasRutter
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Matthew Gordon |
Bug Description
When pushing to a new location with the file: protocol, sometimes it may be desirable not to create a working tree at the new location, such as when disk space is premium or when you are pushing to a network share with relatively high latency.
There is no --no-tree option for push yet, so the workaround is to wait for the working tree to be created then do a bzr remove-tree, which can be slow.
Related branches
lp:~mgordon/bzr/506730-add-no-tree-to-bzr-push
- Vincent Ladeuil: Approve
-
Diff: 207 lines (+48/-13)7 files modifiedNEWS (+4/-0)
bzrlib/branch.py (+4/-2)
bzrlib/builtins.py (+17/-6)
bzrlib/bzrdir.py (+2/-2)
bzrlib/push.py (+3/-2)
bzrlib/tests/blackbox/test_init.py (+7/-1)
bzrlib/tests/blackbox/test_push.py (+11/-0)
Changed in bzr: | |
assignee: | nobody → Matthew Gordon (mgordon) |
Changed in bzr: | |
status: | Confirmed → In Progress |
Changed in bzr: | |
status: | In Progress → Fix Released |
milestone: | none → 2.3b3 |
To post a comment you must log in.
That would be useful, also for init.
As a workaround, commit, remove-tree, then push.