existence of backup.bzr blocks running upgrade a second time
Bug #300001 reported by
Orestes Mas
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
High
|
Parth Malwankar | ||
Launchpad itself |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Bzr throwed an error trying to upgrade a launchpad-
bzr upgrade sftp://<email address hidden>
Traceback provided. I've to admit that I opened another console instance and called "bzr version" while bzr upgrade running in the first console. Perhaps this triggered the error?
Now I'm unable to re-run the "upgrade" command above, because bzr complains about
bzr: ERROR: File exists: '/~ubuntu.
How can I revert changes?
Related branches
lp:~parthm/bzr/335033_and_300001
- Martin Pool: Approve
-
Diff: 205 lines (+74/-29)4 files modifiedNEWS (+5/-0)
bzrlib/bzrdir.py (+11/-2)
bzrlib/tests/blackbox/test_upgrade.py (+36/-6)
bzrlib/tests/test_upgrade.py (+22/-21)
Changed in launchpad-bazaar: | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in bzr: | |
importance: | Medium → High |
Changed in bzr: | |
status: | Triaged → In Progress |
Changed in bzr: | |
assignee: | nobody → Parth Malwankar (parthm) |
milestone: | none → 2.2.0b1 |
status: | In Progress → Fix Released |
Changed in launchpad: | |
status: | Triaged → Fix Released |
To post a comment you must log in.
Bazaar itself could provide a way for you to delete that directory, but some of this is an issue with launchpad-bazaar (there may already be an open bug about needing a way to delete the backup dirs from the launchpad hosting.)
At present, there are a couple of options: /edge.launchpad .net/hitchhiker
1) Use an sftp client that supports recursively deleting directories. I believe NCFTP does, as do quite a few graphical clients
2) Use "hitchhiker" https:/
This piggybacks on top of Bazaar's Transport mechanism to provide access to bzr+ssh and sftp.
I believe you can do something like:
hitchhiker lp:~ubuntu.cat/ubuntaires/xerrades
(Cmd) help
(Cmd) rmtree backup.bzr