Mercurial > hg
comparison tests/test-strip.t @ 35846:c4c1e3334bcb
tests: fix a missed b prefix in a test extension in test-strip.t
# skip-blame just a bytes prefix
Differential Revision: https://phab.mercurial-scm.org/D1907
author | Augie Fackler <augie@google.com> |
---|---|
date | Thu, 18 Jan 2018 09:58:40 -0500 |
parents | e689d8b22728 |
children | b89a7ef29013 |
comparison
equal
deleted
inserted
replaced
35845:be923ce44d6a | 35846:c4c1e3334bcb |
---|---|
897 > except IndexError: | 897 > except IndexError: |
898 > repo.ui.status(b"Index error!\n") | 898 > repo.ui.status(b"Index error!\n") |
899 > transaction = orig(repo, desc, *args, **kwargs) | 899 > transaction = orig(repo, desc, *args, **kwargs) |
900 > # warm up the phase cache | 900 > # warm up the phase cache |
901 > list(repo.revs(b"not public()")) | 901 > list(repo.revs(b"not public()")) |
902 > if desc != 'strip': | 902 > if desc != b'strip': |
903 > transaction.addpostclose(b"phase invalidation test", test) | 903 > transaction.addpostclose(b"phase invalidation test", test) |
904 > return transaction | 904 > return transaction |
905 > def extsetup(ui): | 905 > def extsetup(ui): |
906 > extensions.wrapfunction(localrepo.localrepository, b"transaction", | 906 > extensions.wrapfunction(localrepo.localrepository, b"transaction", |
907 > transactioncallback) | 907 > transactioncallback) |