Mercurial > hg
comparison tests/test-shelve.t @ 49507:f0a3aaa07d6a stable
shelve: do not add the dirstate backup to the transaction
Otherwise the transaction will properly clean up its mess on abort… deleting the
backup in the process.
This break with dirstate-v2 that has more file than just the dirstate. The
dirstate itself is full of various exception and is "fine" when using
dirstate-v1.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 04 Oct 2022 14:33:31 +0200 |
parents | f64bbba2ee59 |
children | a3356ab610fc |
comparison
equal
deleted
inserted
replaced
49505:b6c6ac6ef359 | 49507:f0a3aaa07d6a |
---|---|
1 #testcases stripbased phasebased | 1 #testcases stripbased phasebased |
2 #testcases dirstate-v1 dirstate-v2 | |
3 | |
4 #if dirstate-v2 | |
5 $ cat >> $HGRCPATH << EOF | |
6 > [format] | |
7 > use-dirstate-v2=1 | |
8 > [storage] | |
9 > dirstate-v2.slow-path=allow | |
10 > EOF | |
11 #endif | |
2 | 12 |
3 $ cat <<EOF >> $HGRCPATH | 13 $ cat <<EOF >> $HGRCPATH |
4 > [extensions] | 14 > [extensions] |
5 > mq = | 15 > mq = |
6 > [defaults] | 16 > [defaults] |