All commands should accept an explicit location or -d
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Every command should accept either an explicit location or -d for every repository it uses. Ie. for bzr missing, I should be able to give two remote branches and have it generate a report. That's currently impossible (bug #207762). The ability to operate on branches I haven't cloned to my disk is a killer feature and I'd consider switching to bzr for just that. It's invaluable when I need to find a specific change in a forest of branches I don't know, or when trying to determine which branch I should be cloning, etc.
Ideally, the whole thing should happen completely automatically whenever any command needs to accept a branch. If that's not possible, making it easier to support it than not and going over all commands and checking them for consistency would be a good replacement. And once it's done and working for all core and popular plugin commands, it should be added to http://
Related branches
- Martin Pool: Approve
- Martin Packman (community): Approve
-
Diff: 313 lines (+107/-16)8 files modifiedNEWS (+4/-0)
bzrlib/builtins.py (+19/-12)
bzrlib/conflicts.py (+6/-4)
bzrlib/tests/blackbox/test_conflicts.py (+13/-0)
bzrlib/tests/blackbox/test_merge_directive.py (+12/-0)
bzrlib/tests/blackbox/test_missing.py (+20/-0)
bzrlib/tests/blackbox/test_shelve.py (+15/-0)
bzrlib/tests/blackbox/test_switch.py (+18/-0)
tags: | added: dash-directory |
I agree, that would be great. Want to try it?