Show More
@@ -2598,7 +2598,7 b' Test metadata encoding (issue5754)' | |||
|
2598 | 2598 | > f.write(b't\xe8st2') and None |
|
2599 | 2599 | > EOF |
|
2600 | 2600 | $ mkcommit ROOT |
|
2601 | $ HGENCODING=latin-1 HGUSER="`cat test1`" mkcommit A0 | |
|
2601 | $ ( HGENCODING=latin-1 HGUSER="`cat test1`" mkcommit A0 ) | |
|
2602 | 2602 | $ echo 42 >> A0 |
|
2603 | 2603 | $ HGENCODING=latin-1 hg amend -m "A1" --note "`cat test2`" |
|
2604 | 2604 | $ HGENCODING=latin-1 hg amend -m "A2" \ |
@@ -2611,31 +2611,31 b' metadata should be stored in UTF-8, and ' | |||
|
2611 | 2611 | local encoding since the command is supposed to show unmodified content: |
|
2612 | 2612 | |
|
2613 | 2613 | $ HGENCODING=latin-1 hg debugobsolete |
|
2614 |
5f66a482f0bb2fcaccfc215554ad5eb9f40b50f5 718c0d00cee1429bdb73064e0d88908c601507a8 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '9', 'note': 't\xc3\xa8st2', 'operation': 'amend', 'user': 't |
|
|
2614 | 5f66a482f0bb2fcaccfc215554ad5eb9f40b50f5 718c0d00cee1429bdb73064e0d88908c601507a8 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '9', 'note': 't\xc3\xa8st2', 'operation': 'amend', 'user': 'test'} | |
|
2615 | 2615 | 718c0d00cee1429bdb73064e0d88908c601507a8 1132562159b35bb27e1d6b80c80ee94a1659a4da 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '1', 'operation': 'amend', 'user': 't\xc3\xa8st2'} |
|
2616 |
|
|
|
2616 | 8f82db6f991db367fdbb3b6dba5e187ecc3ebd96 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 't\xc3\xa8st2'} | |
|
2617 | 2617 | |
|
2618 | 2618 | metadata should be converted back to local encoding when displaying: |
|
2619 | 2619 | |
|
2620 | 2620 | $ HGENCODING=latin-1 hg fatelog --hidden |
|
2621 | @ e1724525bc3b | |
|
2621 | @ 8f82db6f991d | |
|
2622 | 2622 | | Obsfate: pruned by t\xe8st2 (at 1970-01-01 00:00 +0000); (esc) |
|
2623 | 2623 | o 1132562159b3 |
|
2624 | 2624 | | |
|
2625 | 2625 | | x 718c0d00cee1 |
|
2626 | 2626 | |/ Obsfate: rewritten using amend as 3:1132562159b3 by t\xe8st2 (at 1970-01-01 00:00 +0000); (esc) |
|
2627 | 2627 | | x 5f66a482f0bb |
|
2628 |
|/ Obsfate: rewritten using amend as 2:718c0d00cee1 by t |
|
|
2628 | |/ Obsfate: rewritten using amend as 2:718c0d00cee1 by test (at 1970-01-01 00:00 +0000); | |
|
2629 | 2629 | o ea207398892e |
|
2630 | 2630 | |
|
2631 | 2631 | $ HGENCODING=utf-8 hg fatelog --hidden |
|
2632 | @ e1724525bc3b | |
|
2632 | @ 8f82db6f991d | |
|
2633 | 2633 | | Obsfate: pruned by t\xc3\xa8st2 (at 1970-01-01 00:00 +0000); (esc) |
|
2634 | 2634 | o 1132562159b3 |
|
2635 | 2635 | | |
|
2636 | 2636 | | x 718c0d00cee1 |
|
2637 | 2637 | |/ Obsfate: rewritten using amend as 3:1132562159b3 by t\xc3\xa8st2 (at 1970-01-01 00:00 +0000); (esc) |
|
2638 | 2638 | | x 5f66a482f0bb |
|
2639 |
|/ Obsfate: rewritten using amend as 2:718c0d00cee1 by t |
|
|
2639 | |/ Obsfate: rewritten using amend as 2:718c0d00cee1 by test (at 1970-01-01 00:00 +0000); | |
|
2640 | 2640 | o ea207398892e |
|
2641 | 2641 |
General Comments 0
You need to be logged in to leave comments.
Login now