Summary: See <https://discourse.phabricator-community.org/t/pushing-to-mercurial-repository-fails/1275/1>. Mercurial may invoke hooks multiple times per push. Test Plan: Pushed to Mercurial, saw key constraint failure. Differential Revision: https://secure.phabricator.com/D19257
3 lines
83 B
SQL
3 lines
83 B
SQL
ALTER TABLE {$NAMESPACE}_repository.repository_pushevent
|
|
DROP KEY `key_request`;
|