Mercurial > hg-stable
comparison tests/test-treemanifest.t @ 25299:4f07fb1d7fbb
test-treemanifest: add globs for Windows
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Wed, 27 May 2015 12:14:10 -0400 |
parents | 8545bd381504 |
children | 20ad936ac5d2 |
comparison
equal
deleted
inserted
replaced
25298:3f6b54ef4d41 | 25299:4f07fb1d7fbb |
---|---|
311 the files command with various parameters. | 311 the files command with various parameters. |
312 | 312 |
313 Test files from the root. | 313 Test files from the root. |
314 | 314 |
315 $ hg files -r . | 315 $ hg files -r . |
316 a/one.txt | 316 a/one.txt (glob) |
317 a/two.txt | 317 a/two.txt (glob) |
318 b/bar/fruits.txt | 318 b/bar/fruits.txt (glob) |
319 b/bar/orange/fly/gnat.py | 319 b/bar/orange/fly/gnat.py (glob) |
320 b/bar/orange/fly/housefly.txt | 320 b/bar/orange/fly/housefly.txt (glob) |
321 b/foo/apple/bees/flower.py | 321 b/foo/apple/bees/flower.py (glob) |
322 c.txt | 322 c.txt |
323 d.py | 323 d.py |
324 | 324 |
325 Test files for a subdirectory. | 325 Test files for a subdirectory. |
326 | 326 |
327 $ mv .hg/store/meta/a oldmf | 327 $ mv .hg/store/meta/a oldmf |
328 $ hg files -r . b | 328 $ hg files -r . b |
329 b/bar/fruits.txt | 329 b/bar/fruits.txt (glob) |
330 b/bar/orange/fly/gnat.py | 330 b/bar/orange/fly/gnat.py (glob) |
331 b/bar/orange/fly/housefly.txt | 331 b/bar/orange/fly/housefly.txt (glob) |
332 b/foo/apple/bees/flower.py | 332 b/foo/apple/bees/flower.py (glob) |
333 $ mv oldmf .hg/store/meta/a | 333 $ mv oldmf .hg/store/meta/a |
334 | 334 |
335 Test files with just includes and excludes. | 335 Test files with just includes and excludes. |
336 | 336 |
337 $ mv .hg/store/meta/a oldmf | 337 $ mv .hg/store/meta/a oldmf |
338 $ mv .hg/store/meta/b/bar/orange/fly oldmf2 | 338 $ mv .hg/store/meta/b/bar/orange/fly oldmf2 |
339 $ mv .hg/store/meta/b/foo/apple/bees oldmf3 | 339 $ mv .hg/store/meta/b/foo/apple/bees oldmf3 |
340 $ hg files -r . -I b/bar -X b/bar/orange/fly -I b/foo -X b/foo/apple/bees | 340 $ hg files -r . -I b/bar -X b/bar/orange/fly -I b/foo -X b/foo/apple/bees |
341 b/bar/fruits.txt | 341 b/bar/fruits.txt (glob) |
342 $ mv oldmf .hg/store/meta/a | 342 $ mv oldmf .hg/store/meta/a |
343 $ mv oldmf2 .hg/store/meta/b/bar/orange/fly | 343 $ mv oldmf2 .hg/store/meta/b/bar/orange/fly |
344 $ mv oldmf3 .hg/store/meta/b/foo/apple/bees | 344 $ mv oldmf3 .hg/store/meta/b/foo/apple/bees |
345 | 345 |
346 Test files for a subdirectory, excluding a directory within it. | 346 Test files for a subdirectory, excluding a directory within it. |
347 | 347 |
348 $ mv .hg/store/meta/a oldmf | 348 $ mv .hg/store/meta/a oldmf |
349 $ mv .hg/store/meta/b/foo oldmf2 | 349 $ mv .hg/store/meta/b/foo oldmf2 |
350 $ hg files -r . -X b/foo b | 350 $ hg files -r . -X b/foo b |
351 b/bar/fruits.txt | 351 b/bar/fruits.txt (glob) |
352 b/bar/orange/fly/gnat.py | 352 b/bar/orange/fly/gnat.py (glob) |
353 b/bar/orange/fly/housefly.txt | 353 b/bar/orange/fly/housefly.txt (glob) |
354 $ mv oldmf .hg/store/meta/a | 354 $ mv oldmf .hg/store/meta/a |
355 $ mv oldmf2 .hg/store/meta/b/foo | 355 $ mv oldmf2 .hg/store/meta/b/foo |
356 | 356 |
357 Test files for a sub directory, including only a directory within it, and | 357 Test files for a sub directory, including only a directory within it, and |
358 including an unrelated directory. | 358 including an unrelated directory. |
359 | 359 |
360 $ mv .hg/store/meta/a oldmf | 360 $ mv .hg/store/meta/a oldmf |
361 $ mv .hg/store/meta/b/foo oldmf2 | 361 $ mv .hg/store/meta/b/foo oldmf2 |
362 $ hg files -r . -I b/bar/orange -I a b | 362 $ hg files -r . -I b/bar/orange -I a b |
363 b/bar/orange/fly/gnat.py | 363 b/bar/orange/fly/gnat.py (glob) |
364 b/bar/orange/fly/housefly.txt | 364 b/bar/orange/fly/housefly.txt (glob) |
365 $ mv oldmf .hg/store/meta/a | 365 $ mv oldmf .hg/store/meta/a |
366 $ mv oldmf2 .hg/store/meta/b/foo | 366 $ mv oldmf2 .hg/store/meta/b/foo |
367 | 367 |
368 Test files for a pattern, including a directory, and excluding a directory | 368 Test files for a pattern, including a directory, and excluding a directory |
369 within that. | 369 within that. |
370 | 370 |
371 $ mv .hg/store/meta/a oldmf | 371 $ mv .hg/store/meta/a oldmf |
372 $ mv .hg/store/meta/b/foo oldmf2 | 372 $ mv .hg/store/meta/b/foo oldmf2 |
373 $ mv .hg/store/meta/b/bar/orange oldmf3 | 373 $ mv .hg/store/meta/b/bar/orange oldmf3 |
374 $ hg files -r . glob:**.txt -I b/bar -X b/bar/orange | 374 $ hg files -r . glob:**.txt -I b/bar -X b/bar/orange |
375 b/bar/fruits.txt | 375 b/bar/fruits.txt (glob) |
376 $ mv oldmf .hg/store/meta/a | 376 $ mv oldmf .hg/store/meta/a |
377 $ mv oldmf2 .hg/store/meta/b/foo | 377 $ mv oldmf2 .hg/store/meta/b/foo |
378 $ mv oldmf3 .hg/store/meta/b/bar/orange | 378 $ mv oldmf3 .hg/store/meta/b/bar/orange |
379 | 379 |