- skip-blame just a bytes prefix
Details
Details
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
Path | Packages | |||
---|---|---|---|---|
M | tests/test-strip.t (2 lines) |
Status | Author | Revision | |
---|---|---|---|
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 |
> # observe cache inconsistency | > # observe cache inconsistency | ||||
> try: | > try: | ||||
> [repo.changelog.node(r) for r in repo.revs(b"not public()")] | > [repo.changelog.node(r) for r in repo.revs(b"not public()")] | ||||
> except IndexError: | > except IndexError: | ||||
> repo.ui.status(b"Index error!\n") | > repo.ui.status(b"Index error!\n") | ||||
> transaction = orig(repo, desc, *args, **kwargs) | > transaction = orig(repo, desc, *args, **kwargs) | ||||
> # warm up the phase cache | > # warm up the phase cache | ||||
> list(repo.revs(b"not public()")) | > list(repo.revs(b"not public()")) | ||||
> if desc != 'strip': | > if desc != b'strip': | ||||
> transaction.addpostclose(b"phase invalidation test", test) | > transaction.addpostclose(b"phase invalidation test", test) | ||||
> return transaction | > return transaction | ||||
> def extsetup(ui): | > def extsetup(ui): | ||||
> extensions.wrapfunction(localrepo.localrepository, b"transaction", | > extensions.wrapfunction(localrepo.localrepository, b"transaction", | ||||
> transactioncallback) | > transactioncallback) | ||||
> EOF | > EOF | ||||
$ hg up -C 2 | $ hg up -C 2 | ||||
1 files updated, 0 files merged, 0 files removed, 0 files unresolved | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |