Mercurial > public > mercurial-scm > hg
comparison mercurial/configitems.py @ 46336:4f17773fc6b5
share: rename share-safe warning config
Config introduced in previous patch was `share.source-safe-mismatch`. Let's
rename the warn as `share.source-safe-mismatch.warn`.
While we are here, made sure we have different configs for upgrade and
downgrade.
Differential Revision: https://phab.mercurial-scm.org/D9786
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Fri, 15 Jan 2021 12:08:07 +0530 |
parents | 25be21ec6c65 |
children | 4b0192f592cf |
comparison
equal
deleted
inserted
replaced
46335:25be21ec6c65 | 46336:4f17773fc6b5 |
---|---|
1096 b'server.stream-narrow-clones', | 1096 b'server.stream-narrow-clones', |
1097 default=False, | 1097 default=False, |
1098 ) | 1098 ) |
1099 coreconfigitem( | 1099 coreconfigitem( |
1100 b'experimental', | 1100 b'experimental', |
1101 b'sharesafe-warn-outdated-shares', | |
1102 default=True, | |
1103 ) | |
1104 coreconfigitem( | |
1105 b'experimental', | |
1106 b'single-head-per-branch', | 1101 b'single-head-per-branch', |
1107 default=False, | 1102 default=False, |
1108 ) | 1103 ) |
1109 coreconfigitem( | 1104 coreconfigitem( |
1110 b'experimental', | 1105 b'experimental', |
1919 b'share', | 1914 b'share', |
1920 b'safe-mismatch.source-safe', | 1915 b'safe-mismatch.source-safe', |
1921 default=b'abort', | 1916 default=b'abort', |
1922 ) | 1917 ) |
1923 coreconfigitem( | 1918 coreconfigitem( |
1919 b'share', | |
1920 b'safe-mismatch.source-not-safe.warn', | |
1921 default=True, | |
1922 ) | |
1923 coreconfigitem( | |
1924 b'share', | |
1925 b'safe-mismatch.source-safe.warn', | |
1926 default=True, | |
1927 ) | |
1928 coreconfigitem( | |
1924 b'shelve', | 1929 b'shelve', |
1925 b'maxbackups', | 1930 b'maxbackups', |
1926 default=10, | 1931 default=10, |
1927 ) | 1932 ) |
1928 coreconfigitem( | 1933 coreconfigitem( |