Merge lp:~spiv/bzr-pqm/non-local-submission into lp:bzr-pqm
Proposed by
Andrew Bennetts
Status: | Merged |
---|---|
Merged at revision: | not available |
Proposed branch: | lp:~spiv/bzr-pqm/non-local-submission |
Merge into: | lp:bzr-pqm |
Diff against target: |
214 lines (+120/-11) 3 files modified
__init__.py (+10/-5) pqm_submit.py (+45/-6) test_pqm_submit.py (+65/-0) |
To merge this branch: | bzr merge lp:~spiv/bzr-pqm/non-local-submission |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Robert Collins | Approve | ||
Jonathan Lange (community) | Needs Fixing | ||
Review via email: mp+13333@code.launchpad.net |
To post a comment you must log in.
This could be better, especially in some of the error handling, but it allows me to pqm-submit branches without downloading them.
It adds a --ignore-local option which will skip opening the local branch/tree, and associated checks. In this case it will try looking up the config options (pqm_email etc) from the locations.conf for the public location (which must be given on the command line), and failing that will try the global conf. So e.g. I now have a [http:// bazaar. launchpad. net/~*/ bzr/] section in my locations.conf to specify the pqm_email.
Probably the StackedConfig class belongs in some form in bzrlib proper (at the moment BranchConfig does something similar but in a less reusable way).
Anyway, this is functional, despite the rough corners.