##// END OF EJS Templates
py3: explicitly convert a list to bytes to pass in ui.debug...
Pulkit Goyal -
r32308:e8569cc1 default
parent child Browse files
Show More
@@ -379,7 +379,7 b' def overridelog(orig, ui, repo, *pats, *'
379 return r
379 return r
380 m.matchfn = lfmatchfn
380 m.matchfn = lfmatchfn
381
381
382 ui.debug('updated patterns: %s\n' % sorted(pats))
382 ui.debug('updated patterns: %s\n' % ', '.join(sorted(pats)))
383 return m, pats
383 return m, pats
384
384
385 # For hg log --patch, the match object is used in two different senses:
385 # For hg log --patch, the match object is used in two different senses:
@@ -479,7 +479,7 b' Test actions on largefiles using relativ'
479 summary: anotherlarge
479 summary: anotherlarge
480
480
481 $ hg --debug log -T '{rev}: {desc}\n' ../sub/anotherlarge
481 $ hg --debug log -T '{rev}: {desc}\n' ../sub/anotherlarge
482 updated patterns: ['../.hglf/sub/../sub/anotherlarge', '../sub/anotherlarge']
482 updated patterns: ../.hglf/sub/../sub/anotherlarge, ../sub/anotherlarge
483 1: anotherlarge
483 1: anotherlarge
484
484
485 $ hg log -G anotherlarge
485 $ hg log -G anotherlarge
@@ -498,18 +498,18 b' Test actions on largefiles using relativ'
498 summary: anotherlarge
498 summary: anotherlarge
499
499
500 $ hg --debug log -T '{rev}: {desc}\n' -G glob:another*
500 $ hg --debug log -T '{rev}: {desc}\n' -G glob:another*
501 updated patterns: ['glob:../.hglf/sub/another*', 'glob:another*']
501 updated patterns: glob:../.hglf/sub/another*, glob:another*
502 @ 1: anotherlarge
502 @ 1: anotherlarge
503 |
503 |
504 ~
504 ~
505
505
506 #if no-msys
506 #if no-msys
507 $ hg --debug log -T '{rev}: {desc}\n' 'glob:../.hglf/sub/another*' # no-msys
507 $ hg --debug log -T '{rev}: {desc}\n' 'glob:../.hglf/sub/another*' # no-msys
508 updated patterns: ['glob:../.hglf/sub/another*']
508 updated patterns: glob:../.hglf/sub/another*
509 1: anotherlarge
509 1: anotherlarge
510
510
511 $ hg --debug log -G -T '{rev}: {desc}\n' 'glob:../.hglf/sub/another*' # no-msys
511 $ hg --debug log -G -T '{rev}: {desc}\n' 'glob:../.hglf/sub/another*' # no-msys
512 updated patterns: ['glob:../.hglf/sub/another*']
512 updated patterns: glob:../.hglf/sub/another*
513 @ 1: anotherlarge
513 @ 1: anotherlarge
514 |
514 |
515 ~
515 ~
@@ -557,10 +557,10 b' Test glob logging from the root dir'
557
557
558 Log from outer space
558 Log from outer space
559 $ hg --debug log -R addrm2 -T '{rev}: {desc}\n' 'addrm2/sub/anotherlarge'
559 $ hg --debug log -R addrm2 -T '{rev}: {desc}\n' 'addrm2/sub/anotherlarge'
560 updated patterns: ['addrm2/.hglf/sub/anotherlarge', 'addrm2/sub/anotherlarge']
560 updated patterns: addrm2/.hglf/sub/anotherlarge, addrm2/sub/anotherlarge
561 1: anotherlarge
561 1: anotherlarge
562 $ hg --debug log -R addrm2 -T '{rev}: {desc}\n' 'addrm2/.hglf/sub/anotherlarge'
562 $ hg --debug log -R addrm2 -T '{rev}: {desc}\n' 'addrm2/.hglf/sub/anotherlarge'
563 updated patterns: ['addrm2/.hglf/sub/anotherlarge']
563 updated patterns: addrm2/.hglf/sub/anotherlarge
564 1: anotherlarge
564 1: anotherlarge
565
565
566
566
@@ -47,7 +47,7 b' changeset graph'
47
47
48 Make sure largefiles doesn't interfere with logging a regular file
48 Make sure largefiles doesn't interfere with logging a regular file
49 $ hg --debug log a -T '{rev}: {desc}\n' --config extensions.largefiles=
49 $ hg --debug log a -T '{rev}: {desc}\n' --config extensions.largefiles=
50 updated patterns: ['.hglf/a', 'a']
50 updated patterns: .hglf/a, a
51 0: a
51 0: a
52 $ hg log a
52 $ hg log a
53 changeset: 0:9161b9aeaf16
53 changeset: 0:9161b9aeaf16
@@ -67,7 +67,7 b" Make sure largefiles doesn't interfere w"
67 summary: a
67 summary: a
68
68
69 $ hg --debug log glob:a* -T '{rev}: {desc}\n' --config extensions.largefiles=
69 $ hg --debug log glob:a* -T '{rev}: {desc}\n' --config extensions.largefiles=
70 updated patterns: ['glob:.hglf/a*', 'glob:a*']
70 updated patterns: glob:.hglf/a*, glob:a*
71 3: d
71 3: d
72 0: a
72 0: a
73
73
General Comments 0
You need to be logged in to leave comments. Login now