Commit 781dbd6c authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'mr-deleted-source-repo'


 webhooks: support `null` source project info
Acked-by: Kitware Robot's avatarKitware Robot <>
Reviewed-by: Brad King's avatarBrad King <>
Merge-request: !73
parents 143f6ecc f84e9976
......@@ -298,7 +298,9 @@ impl MergeRequestParams {
/// Merge request information exposed in hooks.
pub struct MergeRequestHookAttrs {
/// The source project of the merge request.
pub source: ProjectHookAttrs,
/// If this is `None`, the source repository has been deleted.
pub source: Option<ProjectHookAttrs>,
/// The target project of the merge request.
pub target: ProjectHookAttrs,
pub last_commit: Option<CommitHookAttrs>,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment