qbranch should determine valid destination
Bug #318214 reported by
Alexander Belchenko
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QBzr |
Fix Released
|
Medium
|
Ian Clatworthy |
Bug Description
If user don't provide valid destination in qbranch dialog then operation fails with message:
Target directory "" already exists.
We should be more smart and auto-fill the destination based on the source URL (as plain bzr branch does).
Related branches
lp:~ian-clatworthy/qbzr/smarter-qbranch
- Alexander Belchenko: Approve
-
Diff: 258 lines (+149/-55)4 files modifiedNEWS.txt (+8/-0)
lib/branch.py (+140/-0)
lib/commands.py (+1/-1)
lib/pull.py (+0/-54)
Changed in qbzr: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in qbzr: | |
milestone: | none → 0.17 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Note that 'qgetnew' is smart about filling the destination, but I didn't apply the same thing to qbranch as I didn't get any reply to my mail asking if it was desirable. I think it is, so refactoring the qgetnew code into something reusable might make sense.