bzr export should be allowed to overwrite previous exports

Bug #280124 reported by BjornW
2
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Wishlist
Unassigned

Bug Description

In Subversion it is possible to export a tree and overwrite a previous tree. I would expect similar behavior from bzr.

USAGE:
I use bzr to develop webapps in a non-web directory. After I've made some changes I export the code to a web-enabled directory (this forces me to keep check on my changes). This means I'll export the code lots of times and I would prefer to overwrite previously exported code using an extra bzr argument. Previously I used Subversion which allowed me to do this using: svn export --force SOURCE DESTINATION. It would be very nice if bzr export would allow this as well.

See also svn help export for more info on the exact syntax of svn.

For now I use: bzr push --use-existing-dir but this copies the .bzr directory which I preferably would not like to put in the web enabled directory.

BjornW (bjornw)
description: updated
James Westby (james-w)
Changed in bzr:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Vincent Ladeuil (vila) wrote :

https://edge.launchpad.net/bzr-upload is meant to address the need to upload a bzr tree on a server where bzr is not available. That means that there is no .bzr directory on the server but only a single ./bzr-upload.revid file which contains only the laster revision id uploaded.

As long as you never modified the uploaded files, this should match your workflow.

Parth Malwankar (parthm)
tags: added: export
Jelmer Vernooij (jelmer)
tags: added: 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.