Merge lp:~cjwatson/launchpad/git-subscriptions-personmerge-whitelist into lp:launchpad

Proposed by Colin Watson
Status: Merged
Approved by: Colin Watson
Approved revision: no longer in the source branch.
Merged at revision: 17430
Proposed branch: lp:~cjwatson/launchpad/git-subscriptions-personmerge-whitelist
Merge into: lp:launchpad
Diff against target: 13 lines (+3/-0)
1 file modified
lib/lp/registry/personmerge.py (+3/-0)
To merge this branch: bzr merge lp:~cjwatson/launchpad/git-subscriptions-personmerge-whitelist
Reviewer Review Type Date Requested Status
Colin Watson (community) Approve
Review via email: mp+256515@code.launchpad.net

Commit message

Temporarily whitelist gitsubscription.person from personmerge.

Description of the change

Temporarily whitelist gitsubscription.person from personmerge.

To post a comment you must log in.
Revision history for this message
Colin Watson (cjwatson) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'lib/lp/registry/personmerge.py'
2--- lib/lp/registry/personmerge.py 2015-02-23 19:47:01 +0000
3+++ lib/lp/registry/personmerge.py 2015-04-16 15:07:18 +0000
4@@ -699,6 +699,9 @@
5 ('bugsummaryjournal', 'viewed_by'),
6 ('latestpersonsourcepackagereleasecache', 'creator'),
7 ('latestpersonsourcepackagereleasecache', 'maintainer'),
8+ # This needs handling before we deploy Git subscriptions, but can be
9+ # ignored for the purpose of deploying the database tables.
10+ ('gitsubscription', 'person'),
11 ]
12
13 references = list(postgresql.listReferences(cur, 'person', 'id'))