Mercurial > hg
view tests/test-empty.t @ 51276:03665fd8ccb9
narrow: strip trailing `/` from manifest dir before matching it
Commit 17a822d7943e broke some of our internal tests at Google because the `dir`
variable contains a trailing slash since that commit. Let's restore the old
behavior by stripping that trailing slash.
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Sat, 16 Dec 2023 10:48:20 -0800 |
parents | 4bcb91c8b9d8 |
children |
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 branch cache hgrc requires store wcache Should be empty (except for the "basic" requires): $ ls .hg/store requires $ cd ..