Mercurial > hg
view tests/test-dispatch.py.out @ 42442:c1bf63ac30c5
py3: use .startswith() instead of bytes[0]
Doing bytes[0] will return the ascii value of that position which breaks
comparison with a bytechar.
This makes test-absorb.t work again on py3.
Differential Revision: https://phab.mercurial-scm.org/D6508
author | Pulkit Goyal <pulkit@yandex-team.ru> |
---|---|
date | Tue, 11 Jun 2019 15:46:07 +0300 |
parents | 6f9ac3cb0987 |
children |
line wrap: on
line source
running: init test1 result: 0 running: add foo result: 0 running: commit -m commit1 -d 2000-01-01 foo result: 0 running: commit -m commit2 -d 2000-01-02 foo result: 0 running: log -r 0 changeset: 0:0e4634943879 user: test date: Sat Jan 01 00:00:00 2000 +0000 summary: commit1 result: 0 running: log -r tip changeset: 1:45589e459b2e tag: tip user: test date: Sun Jan 02 00:00:00 2000 +0000 summary: commit2 result: 0