##// END OF EJS Templates
test-treemanifest: add globs for Windows
Matt Harbison -
r25299:4f07fb1d default
parent child Browse files
Show More
@@ -313,12 +313,12 b' the files command with various parameter'
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
@@ -326,10 +326,10 b' 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.
@@ -338,7 +338,7 b' Test files with just includes and exclud'
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
@@ -348,9 +348,9 b' Test files for a subdirectory, excluding'
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
@@ -360,8 +360,8 b' including an unrelated directory.'
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
@@ -372,7 +372,7 b' within that.'
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
General Comments 0
You need to be logged in to leave comments. Login now