Merge ~twom/launchpad:git-page-default-branch into launchpad:master
Proposed by
Tom Wardill
Status: | Merged |
---|---|
Approved by: | Tom Wardill |
Approved revision: | 6a9a70b85c3aa9c0454891bfbdaf84e29bc50c7c |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~twom/launchpad:git-page-default-branch |
Merge into: | launchpad:master |
Diff against target: |
53 lines (+31/-0) 2 files modified
lib/lp/code/browser/gitref.py (+11/-0) lib/lp/code/browser/tests/test_branchmergeproposal.py (+20/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Colin Watson (community) | Approve | ||
Review via email: mp+379902@code.launchpad.net |
Commit message
Add a default branch to the Git Merge Proposal page.
Description of the change
The target branch needs manually filling in, but most of the time you want to merge to the equivalent of 'master', or whatever is set as the default branch on that repository.
This change populates the box with the ref path with one of (choosing in order from):
* The default branch of the target repository
* The default branch of the source repository
* Nothing
To post a comment you must log in.