Mercurial > hg-allpaths
comparison tests/groups-legacy.t @ 42:7b4bc975644c
Legacy group syntax properly tested.
author | Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl> |
---|---|
date | Sat, 24 Sep 2016 23:19:27 +0200 |
parents | b8a7342fbf23 |
children | 2d6c7e0c1b2f |
comparison
equal
deleted
inserted
replaced
41:b8a7342fbf23 | 42:7b4bc975644c |
---|---|
179 $ hg --cwd $BASE log -T '{rev}: {desc}\n' | 179 $ hg --cwd $BASE log -T '{rev}: {desc}\n' |
180 2: In repo1 | 180 2: In repo1 |
181 1: Second | 181 1: Second |
182 0: First | 182 0: First |
183 | 183 |
184 $ hg --cwd $BASE outgoingall --group odd | |
185 comparing with */rep1 (glob) | |
186 searching for changes | |
187 changeset: 1:* (glob) | |
188 user: Andy Default <default@nowhere.net> | |
189 date: .* (re) | |
190 summary: Second | |
191 | |
192 comparing with */rep3 (glob) | |
193 searching for changes | |
194 changeset: 1:* (glob) | |
195 user: Andy Default <default@nowhere.net> | |
196 date: .* (re) | |
197 summary: Second | |
198 | |
199 changeset: 2:* (glob) | |
200 tag: tip | |
201 parent: 0:* (glob) | |
202 user: Andy Default <default@nowhere.net> | |
203 date: .* (re) | |
204 summary: In repo1 | |
205 | |
206 | |
184 $ hg --cwd $BASE outgoingall --group even | 207 $ hg --cwd $BASE outgoingall --group even |
185 comparing with */rep1 (glob) | 208 comparing with */rep2 (glob) |
186 searching for changes | 209 searching for changes |
187 changeset: 2:.* (re) | 210 changeset: 2:* (glob) |
188 tag: tip | 211 tag: tip |
189 parent: 0:.* (re) | 212 parent: 0:* (glob) |
190 user: Andy Default <default@nowhere.net> | |
191 date: .* (re) | |
192 summary: In repo2 | |
193 | |
194 comparing with */rep3 (glob) | |
195 searching for changes | |
196 changeset: 1:* (glob) | |
197 user: Andy Default <default@nowhere.net> | 213 user: Andy Default <default@nowhere.net> |
198 date: .* (re) | 214 date: .* (re) |
199 summary: In repo1 | 215 summary: In repo1 |
200 | 216 |
201 $ hg --cwd $BASE outgoingall --group odd | 217 comparing with */rep4 (glob) |
202 | 218 searching for changes |
203 comparing with */rep2 (glob) | 219 changeset: 2:* (glob) |
204 searching for changes | 220 tag: tip |
205 changeset: 1:* (glob) | 221 parent: 0:* (glob) |
206 user: Andy Default <default@nowhere.net> | 222 user: Andy Default <default@nowhere.net> |
207 date: .* (re) | 223 date: .* (re) |
208 summary: In repo1 | 224 summary: In repo1 |
209 | 225 |
210 changeset: 2:* (glob) | |
211 tag: tip | |
212 parent: 0:* (glob) | |
213 user: Andy Default <default@nowhere.net> | |
214 date: .* (re) | |
215 summary: In repo2 | |
216 | 226 |
217 Wrong groups do not work | 227 Wrong groups do not work |
218 | 228 |
219 $ hg --cwd $BASE pullall -g unknown | 229 $ hg --cwd $BASE pullall -g unknown |
220 abort: No paths defined in section unknown | 230 abort: No paths defined in section unknown |
234 | 244 |
235 Neither do default commands without normal paths | 245 Neither do default commands without normal paths |
236 | 246 |
237 $ hg --cwd $BASE pushall | 247 $ hg --cwd $BASE pushall |
238 abort: No paths defined in section paths | 248 abort: No paths defined in section paths |
249 [255] | |
239 | 250 |
240 $ hg --cwd $BASE pullall | 251 $ hg --cwd $BASE pullall |
241 abort: No paths defined in section paths | 252 abort: No paths defined in section paths |
253 [255] | |
242 | 254 |
243 Finally let's test that push options work | 255 Finally let's test that push options work |
244 | 256 |
245 $ cat > $BASE/br1.txt << EOF | 257 $ cat > $BASE/br1.txt << EOF |
246 > Br1 text | 258 > Br1 text |
270 pushing to */rep3 (glob) | 282 pushing to */rep3 (glob) |
271 searching for changes | 283 searching for changes |
272 adding changesets | 284 adding changesets |
273 adding manifests | 285 adding manifests |
274 adding file changes | 286 adding file changes |
275 added 2 changesets with 2 changes to 1 files | 287 added 2 changesets with 2 changes to 2 files |
276 | 288 |
277 $ hg --cwd $BASE log -T '{rev}: {desc}\n' | 289 $ hg --cwd $BASE log -T '{rev}: {desc}\n' |
278 4: Normal | 290 4: Normal |
279 3: Br1 | 291 3: Br1 |
280 2: In repo2 | 292 2: In repo1 |
281 1: In repo1 | 293 1: Second |
282 0: First | 294 0: First |
283 | 295 |
284 $ hg --cwd $REP1 log -T '{rev}: {desc}\n' | 296 $ hg --cwd $REP1 log -T '{rev}: {desc}\n' |
285 2: Normal | 297 2: Normal |
286 1: In repo1 | 298 1: In repo1 |