Show More
@@ -735,7 +735,9 b' def readrequires(opener, supported):' | |||||
735 | if missings: |
|
735 | if missings: | |
736 | raise error.RequirementError( |
|
736 | raise error.RequirementError( | |
737 | _("unknown repository format: requires features '%s' (upgrade " |
|
737 | _("unknown repository format: requires features '%s' (upgrade " | |
738 |
"Mercurial)") % "', '".join(missings) |
|
738 | "Mercurial)") % "', '".join(missings), | |
|
739 | hint=_("see http://mercurial.selenic.com/wiki/MissingRequirement" | |||
|
740 | " for details")) | |||
739 | return requirements |
|
741 | return requirements | |
740 |
|
742 | |||
741 | class filecachesubentry(object): |
|
743 | class filecachesubentry(object): |
@@ -103,6 +103,7 b' Make sure we do not obscure unknown requ' | |||||
103 | $ echo fake >> .hg/requires |
|
103 | $ echo fake >> .hg/requires | |
104 | $ hg commit -m bla |
|
104 | $ hg commit -m bla | |
105 | abort: unknown repository format: requires features 'fake' (upgrade Mercurial)! |
|
105 | abort: unknown repository format: requires features 'fake' (upgrade Mercurial)! | |
|
106 | (see http://mercurial.selenic.com/wiki/MissingRequirement for details) | |||
106 | [255] |
|
107 | [255] | |
107 |
|
108 | |||
108 | $ cd .. |
|
109 | $ cd .. |
@@ -114,11 +114,13 b' Make sure we do not obscure unknown requ' | |||||
114 | $ echo fake >> .hg/requires |
|
114 | $ echo fake >> .hg/requires | |
115 | $ hg id |
|
115 | $ hg id | |
116 | abort: unknown repository format: requires features 'fake' (upgrade Mercurial)! |
|
116 | abort: unknown repository format: requires features 'fake' (upgrade Mercurial)! | |
|
117 | (see http://mercurial.selenic.com/wiki/MissingRequirement for details) | |||
117 | [255] |
|
118 | [255] | |
118 |
|
119 | |||
119 | $ cd .. |
|
120 | $ cd .. | |
120 | #if no-outer-repo |
|
121 | #if no-outer-repo | |
121 | $ hg id test |
|
122 | $ hg id test | |
122 | abort: unknown repository format: requires features 'fake' (upgrade Mercurial)! |
|
123 | abort: unknown repository format: requires features 'fake' (upgrade Mercurial)! | |
|
124 | (see http://mercurial.selenic.com/wiki/MissingRequirement for details) | |||
123 | [255] |
|
125 | [255] | |
124 | #endif |
|
126 | #endif |
@@ -2260,6 +2260,7 b' enabling largefiles extension.' | |||||
2260 | $TESTTMP/individualenabling/enabledlocally (glob) |
|
2260 | $TESTTMP/individualenabling/enabledlocally (glob) | |
2261 | $ hg -R notenabledlocally root |
|
2261 | $ hg -R notenabledlocally root | |
2262 | abort: unknown repository format: requires features 'largefiles' (upgrade Mercurial)! |
|
2262 | abort: unknown repository format: requires features 'largefiles' (upgrade Mercurial)! | |
|
2263 | (see http://mercurial.selenic.com/wiki/MissingRequirement for details) | |||
2263 | [255] |
|
2264 | [255] | |
2264 |
|
2265 | |||
2265 | $ hg init push-dst |
|
2266 | $ hg init push-dst | |
@@ -2276,6 +2277,7 b' enabling largefiles extension.' | |||||
2276 |
|
2277 | |||
2277 | $ hg clone enabledlocally clone-dst |
|
2278 | $ hg clone enabledlocally clone-dst | |
2278 | abort: unknown repository format: requires features 'largefiles' (upgrade Mercurial)! |
|
2279 | abort: unknown repository format: requires features 'largefiles' (upgrade Mercurial)! | |
|
2280 | (see http://mercurial.selenic.com/wiki/MissingRequirement for details) | |||
2279 | [255] |
|
2281 | [255] | |
2280 | $ test -d clone-dst |
|
2282 | $ test -d clone-dst | |
2281 | [1] |
|
2283 | [1] |
@@ -10,10 +10,12 b'' | |||||
10 | $ echo indoor-pool > .hg/requires |
|
10 | $ echo indoor-pool > .hg/requires | |
11 | $ hg tip |
|
11 | $ hg tip | |
12 | abort: unknown repository format: requires features 'indoor-pool' (upgrade Mercurial)! |
|
12 | abort: unknown repository format: requires features 'indoor-pool' (upgrade Mercurial)! | |
|
13 | (see http://mercurial.selenic.com/wiki/MissingRequirement for details) | |||
13 | [255] |
|
14 | [255] | |
14 | $ echo outdoor-pool >> .hg/requires |
|
15 | $ echo outdoor-pool >> .hg/requires | |
15 | $ hg tip |
|
16 | $ hg tip | |
16 | abort: unknown repository format: requires features 'indoor-pool', 'outdoor-pool' (upgrade Mercurial)! |
|
17 | abort: unknown repository format: requires features 'indoor-pool', 'outdoor-pool' (upgrade Mercurial)! | |
|
18 | (see http://mercurial.selenic.com/wiki/MissingRequirement for details) | |||
17 | [255] |
|
19 | [255] | |
18 | $ cd .. |
|
20 | $ cd .. | |
19 |
|
21 | |||
@@ -61,6 +63,7 b' another repository of push/pull/clone on' | |||||
61 |
|
63 | |||
62 | $ hg clone supported clone-dst |
|
64 | $ hg clone supported clone-dst | |
63 | abort: unknown repository format: requires features 'featuresetup-test' (upgrade Mercurial)! |
|
65 | abort: unknown repository format: requires features 'featuresetup-test' (upgrade Mercurial)! | |
|
66 | (see http://mercurial.selenic.com/wiki/MissingRequirement for details) | |||
64 | [255] |
|
67 | [255] | |
65 | $ hg clone --pull supported clone-dst |
|
68 | $ hg clone --pull supported clone-dst | |
66 | abort: required features are not supported in the destination: featuresetup-test |
|
69 | abort: required features are not supported in the destination: featuresetup-test |
General Comments 0
You need to be logged in to leave comments.
Login now