- skip-blame just b'' prefix
Details
Details
- Reviewers
pulkit - Group Reviewers
hg-reviewers - Commits
- rHGa8be613391d1: py3: use bytes literal in test-hgweb-json.t
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
| pulkit |
| hg-reviewers |
| Lint Skipped |
| Unit Tests Skipped |
| Commit message with Japanese Kanji 'Noh', which ends with '\x5c' | Commit message with Japanese Kanji 'Noh', which ends with '\x5c' | ||||
| $ echo foo >> da/foo | $ echo foo >> da/foo | ||||
| $ HGENCODING=cp932 hg ci -m `"$PYTHON" -c 'print("\x94\x5c")'` | $ HGENCODING=cp932 hg ci -m `"$PYTHON" -c 'print("\x94\x5c")'` | ||||
| Commit message with null character | Commit message with null character | ||||
| $ echo foo >> da/foo | $ echo foo >> da/foo | ||||
| >>> open('msg', 'wb').write('commit with null character: \0\n') and None | >>> open('msg', 'wb').write(b'commit with null character: \0\n') and None | ||||
| $ hg ci -l msg | $ hg ci -l msg | ||||
| $ rm msg | $ rm msg | ||||
| Stop and restart with HGENCODING=cp932 | Stop and restart with HGENCODING=cp932 | ||||
| $ killdaemons.py | $ killdaemons.py | ||||
| $ HGENCODING=cp932 hg serve -p $HGPORT -d --pid-file=hg.pid \ | $ HGENCODING=cp932 hg serve -p $HGPORT -d --pid-file=hg.pid \ | ||||
| > -A access.log -E error.log | > -A access.log -E error.log | ||||
| $ cat hg.pid >> $DAEMON_PIDS | $ cat hg.pid >> $DAEMON_PIDS | ||||
| Test json escape of multibyte characters | Test json escape of multibyte characters | ||||
| $ request json-filelog/tip/da/foo?revcount=2 | grep '"desc":' | $ request json-filelog/tip/da/foo?revcount=2 | grep '"desc":' | ||||
| "desc": "commit with null character: \u0000", | "desc": "commit with null character: \u0000", | ||||
| "desc": "\u80fd", | "desc": "\u80fd", | ||||