##// END OF EJS Templates
fileset: sort debugfileset output...
Yuya Nishihara -
r38618:f9805627 @73 default
parent child Browse files
Show More
@@ -884,7 +884,7 b' def debugfileset(ui, repo, expr, **opts)'
884 884 tree = fileset.parse(expr)
885 885 ui.note(fileset.prettyformat(tree), "\n")
886 886
887 for f in ctx.getfileset(expr):
887 for f in sorted(ctx.getfileset(expr)):
888 888 ui.write("%s\n" % f)
889 889
890 890 @command('debugformat',
@@ -169,8 +169,8 b' Test files status in different revisions'
169 169 R a2
170 170 ? c3
171 171 $ fileset -r0 'added() and revs("wdir()", modified() or removed() or unknown())'
172 a2
172 173 b2
173 a2
174 174 $ fileset -r0 'added() or revs("wdir()", added())'
175 175 a1
176 176 a2
@@ -192,9 +192,9 b' Test files properties'
192 192 bin
193 193
194 194 $ fileset 'grep("b{1}")'
195 b1
195 196 b2
196 197 c1
197 b1
198 198 $ fileset 'grep("missingparens(")'
199 199 hg: parse error: invalid match pattern: (unbalanced parenthesis|missing \)).* (re)
200 200 [255]
@@ -403,21 +403,18 b' Test with a revision'
403 403 dos
404 404 mixed
405 405 $ fileset 'eol(unix)'
406 mixed
407 406 .hgsub
408 407 .hgsubstate
409 408 b1
410 409 b2
411 410 c1
411 mixed
412 412 $ fileset 'eol(mac)'
413 413 mac
414 414
415 415 Test safety of 'encoding' on removed files
416 416
417 417 $ fileset 'encoding("ascii")'
418 dos
419 mac
420 mixed
421 418 .hgsub
422 419 .hgsubstate
423 420 1k
@@ -427,6 +424,9 b" Test safety of 'encoding' on removed fil"
427 424 b2link (symlink !)
428 425 bin
429 426 c1
427 dos
428 mac
429 mixed
430 430
431 431 Test detection of unintentional 'matchctx.existing()' invocation
432 432
@@ -561,12 +561,12 b' Call with revset matching multiple revs'
561 561 ---------------------------------------
562 562
563 563 $ fileset "revs('0+4', added())"
564 .hgsub
565 .hgsubstate
564 566 a1
565 567 a2
566 568 b1
567 569 b2
568 .hgsub
569 .hgsubstate
570 570
571 571 overlapping set
572 572
General Comments 0
You need to be logged in to leave comments. Login now