##// END OF EJS Templates
Do not use osutil.c with python 2.4 and Windows (issue1364)...
Do not use osutil.c with python 2.4 and Windows (issue1364) Windows python 2.4 os.stat() reports times including DST offset, while osutil.c reports the correct value, which makes status() systematically compare files content. This bug is fixed in python 2.5. Using osutil.py instead of osutil.c is 4x times slower on large repositories but current code is completely unusable. Given few people are likely to use python 2.4 on Windows this solution was considered a good trade-off compared to more invasive solutions trying to address the offset issue.

File last commit:

r10223:51421ab5 default
r10521:bde1bb25 stable
Show More
test-status-color.out
147 lines | 3.6 KiB | text/plain | TextLexer
/ tests / test-status-color.out
Augie Fackler
color: Add tests for colorized diff and status output.
r7458 hg status in repo root:
Brodie Rao
color: replace effect-specific reset control codes with general purpose one
r7459 ? a/1/in_a_1
? a/in_a
? b/1/in_b_1
? b/2/in_b_2
? b/in_b
? in_root
Augie Fackler
color: Add tests for colorized diff and status output.
r7458 hg status . in repo root:
Brodie Rao
color: replace effect-specific reset control codes with general purpose one
r7459 ? a/1/in_a_1
? a/in_a
? b/1/in_b_1
? b/2/in_b_2
? b/in_b
? in_root
Augie Fackler
color: Add tests for colorized diff and status output.
r7458 hg status in a:
Brodie Rao
color: replace effect-specific reset control codes with general purpose one
r7459 ? a/1/in_a_1
? a/in_a
? b/1/in_b_1
? b/2/in_b_2
? b/in_b
? in_root
Augie Fackler
color: Add tests for colorized diff and status output.
r7458 hg status . in a:
Brodie Rao
color: replace effect-specific reset control codes with general purpose one
r7459 ? 1/in_a_1
? in_a
Augie Fackler
color: Add tests for colorized diff and status output.
r7458 hg status .. in a:
Brodie Rao
color: replace effect-specific reset control codes with general purpose one
r7459 ? 1/in_a_1
? in_a
? ../b/1/in_b_1
? ../b/2/in_b_2
? ../b/in_b
? ../in_root
Augie Fackler
color: Add tests for colorized diff and status output.
r7458 hg status in b:
Brodie Rao
color: replace effect-specific reset control codes with general purpose one
r7459 ? a/1/in_a_1
? a/in_a
? b/1/in_b_1
? b/2/in_b_2
? b/in_b
? in_root
Augie Fackler
color: Add tests for colorized diff and status output.
r7458 hg status . in b:
Brodie Rao
color: replace effect-specific reset control codes with general purpose one
r7459 ? 1/in_b_1
? 2/in_b_2
? in_b
Augie Fackler
color: Add tests for colorized diff and status output.
r7458 hg status .. in b:
Brodie Rao
color: replace effect-specific reset control codes with general purpose one
r7459 ? ../a/1/in_a_1
? ../a/in_a
? 1/in_b_1
? 2/in_b_2
? in_b
? ../in_root
Augie Fackler
color: Add tests for colorized diff and status output.
r7458 hg status in a/1:
Brodie Rao
color: replace effect-specific reset control codes with general purpose one
r7459 ? a/1/in_a_1
? a/in_a
? b/1/in_b_1
? b/2/in_b_2
? b/in_b
? in_root
Augie Fackler
color: Add tests for colorized diff and status output.
r7458 hg status . in a/1:
Brodie Rao
color: replace effect-specific reset control codes with general purpose one
r7459 ? in_a_1
Augie Fackler
color: Add tests for colorized diff and status output.
r7458 hg status .. in a/1:
Brodie Rao
color: replace effect-specific reset control codes with general purpose one
r7459 ? in_a_1
? ../in_a
Augie Fackler
color: Add tests for colorized diff and status output.
r7458 hg status in b/1:
Brodie Rao
color: replace effect-specific reset control codes with general purpose one
r7459 ? a/1/in_a_1
? a/in_a
? b/1/in_b_1
? b/2/in_b_2
? b/in_b
? in_root
Augie Fackler
color: Add tests for colorized diff and status output.
r7458 hg status . in b/1:
Brodie Rao
color: replace effect-specific reset control codes with general purpose one
r7459 ? in_b_1
Augie Fackler
color: Add tests for colorized diff and status output.
r7458 hg status .. in b/1:
Brodie Rao
color: replace effect-specific reset control codes with general purpose one
r7459 ? in_b_1
? ../2/in_b_2
? ../in_b
Augie Fackler
color: Add tests for colorized diff and status output.
r7458 hg status in b/2:
Brodie Rao
color: replace effect-specific reset control codes with general purpose one
r7459 ? a/1/in_a_1
? a/in_a
? b/1/in_b_1
? b/2/in_b_2
? b/in_b
? in_root
Augie Fackler
color: Add tests for colorized diff and status output.
r7458 hg status . in b/2:
Brodie Rao
color: replace effect-specific reset control codes with general purpose one
r7459 ? in_b_2
Augie Fackler
color: Add tests for colorized diff and status output.
r7458 hg status .. in b/2:
Brodie Rao
color: replace effect-specific reset control codes with general purpose one
r7459 ? ../1/in_b_1
? in_b_2
? ../in_b
Augie Fackler
color: Add tests for colorized diff and status output.
r7458 adding .hgignore
adding deleted
adding modified
adding removed
hg status:
Brodie Rao
color: replace effect-specific reset control codes with general purpose one
r7459 A added
R removed
! deleted
? unknown
Augie Fackler
color: Add tests for colorized diff and status output.
r7458 hg status modified added removed deleted unknown never-existed ignored:
never-existed: No such file or directory
Brodie Rao
color: replace effect-specific reset control codes with general purpose one
r7459 A added
R removed
! deleted
? unknown
Augie Fackler
color: Add tests for colorized diff and status output.
r7458 hg status -C:
Brodie Rao
color: replace effect-specific reset control codes with general purpose one
r7459 A added
A copied
 modified
R removed
! deleted
? unknown
Augie Fackler
color: Add tests for colorized diff and status output.
r7458 hg status -A:
Brodie Rao
color: replace effect-specific reset control codes with general purpose one
r7459 A added
A copied
 modified
R removed
! deleted
? unknown
I ignored
C .hgignore
C modified
Augie Fackler
color: Add tests for colorized diff and status output.
r7458 hg status ignoreddir/file:
hg status -i ignoreddir/file:
Brodie Rao
color: replace effect-specific reset control codes with general purpose one
r7459 I ignoreddir/file
Augie Fackler
color: Add tests for colorized diff and status output.
r7458 adding .hgignore
adding deleted
adding modified
adding removed
Greg Ward
color: don't blow up if configured with unknown color (just warn).
r8945 % test unknown color
ignoring unknown color/effect 'periwinkle' (configured in color.status.modified)
M modified
A added
A copied
R removed
! deleted
? unknown
Georg Brandl
color: colorize output of hg resolve -l
r10223 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
created new head
merging a
warning: conflicts during merge.
merging a failed!
merging b
warning: conflicts during merge.
merging b failed!
0 files updated, 0 files merged, 0 files removed, 2 files unresolved
use 'hg resolve' to retry unresolved file merges or 'hg update -C' to abandon
hg resolve with one unresolved, one resolved:
U a
R b