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