Mercurial > hg
view tests/test-empty.t @ 49863:92743e6d1a0c
typing: disable a bogus attribute-error warning in phabricator
In a local pytype run, this fixes:
File "/mnt/c/Users/Matt/hg/hgext/phabricator.py", line 359, in <lambda>:
No attribute 'items' on bytes [attribute-error]
In Union[Any, bytes]
Called from (traceback):
line 363, in process
The `bytes` case takes the previous `if` branch though.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Thu, 05 Jan 2023 19:53:02 -0500 |
parents | 2f2682f40ea0 |
children | e358f6e0e50e |
line wrap: on
line source
Create an empty repo: $ hg init a $ cd a Try some commands: $ hg log $ hg grep wah [1] $ hg manifest $ hg verify -q Check the basic files created: $ ls .hg 00changelog.i cache requires store wcache Should be empty (except for the "basic" requires): $ ls .hg/store requires Poke at a clone: $ cd .. $ hg clone a b updating to branch default 0 files updated, 0 files merged, 0 files removed, 0 files unresolved $ cd b $ hg verify -q $ ls .hg 00changelog.i cache dirstate hgrc requires store wcache Should be empty (except for the "basic" requires): $ ls .hg/store requires $ cd ..