Mercurial > hg
view tests/test-empty.t @ 49066:65eda809b943 stable
tests: demonstrate crash on partial amend with copies in changesets
See the fix in the next patch for explanation.
Differential Revision: https://phab.mercurial-scm.org/D12572
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Mon, 18 Apr 2022 20:39:31 -0700 |
parents | 7ee07e1a25c0 |
children | 2f2682f40ea0 |
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 checking changesets checking manifests crosschecking files in changesets and manifests checking files checked 0 changesets with 0 changes to 0 files 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 checking changesets checking manifests crosschecking files in changesets and manifests checking files checked 0 changesets with 0 changes to 0 files $ ls .hg 00changelog.i cache dirstate hgrc requires store wcache Should be empty (except for the "basic" requires): $ ls .hg/store requires $ cd ..