Mercurial > hg
comparison tests/test-shelve2.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 | bcc4820242cf |
children | a3356ab610fc |
comparison
equal
deleted
inserted
replaced
49505:b6c6ac6ef359 | 49507:f0a3aaa07d6a |
---|---|
1 #testcases stripbased phasebased | 1 #testcases stripbased phasebased |
2 #testcases abortflag abortcommand | 2 #testcases abortflag abortcommand |
3 #testcases continueflag continuecommand | 3 #testcases continueflag continuecommand |
4 #testcases dirstate-v1 dirstate-v2 | |
5 | |
6 #if dirstate-v2 | |
7 $ cat >> $HGRCPATH << EOF | |
8 > [format] | |
9 > use-dirstate-v2=1 | |
10 > [storage] | |
11 > dirstate-v2.slow-path=allow | |
12 > EOF | |
13 #endif | |
4 | 14 |
5 $ cat <<EOF >> $HGRCPATH | 15 $ cat <<EOF >> $HGRCPATH |
6 > [extensions] | 16 > [extensions] |
7 > mq = | 17 > mq = |
8 > [defaults] | 18 > [defaults] |