# HG changeset patch # User Martin Bornhold # Date 2016-10-26 13:43:03 # Node ID 6613f04bd3c8cff50e0aed356b699e0112ecb139 # Parent 6e1be75f5a981472044ab41795a4f458067d7030 vcs: Add merge failure reasons for missing target ref and missing source ref. diff --git a/rhodecode/lib/vcs/backends/base.py b/rhodecode/lib/vcs/backends/base.py --- a/rhodecode/lib/vcs/backends/base.py +++ b/rhodecode/lib/vcs/backends/base.py @@ -97,6 +97,12 @@ class MergeFailureReason(object): # A involved commit could not be found. MISSING_COMMIT = 8 + # The target repo reference is missing. + MISSING_TARGET_REF = 9 + + # The source repo reference is missing. + MISSING_SOURCE_REF = 10 + class BaseRepository(object): """