Mercurial > hg
diff tests/test-histedit-no-backup.t @ 41206:6acbe86c6490
repair: move ui.history-editing-backup to [rewrite] section
Since we have the "rewrite" section for general history-editing options, the
backup option should be there.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 12 Jan 2019 17:43:36 +0900 |
parents | faea9b1980d9 |
children | db5560c07a28 |
line wrap: on
line diff
--- a/tests/test-histedit-no-backup.t Wed Jan 09 19:54:01 2019 -0800 +++ b/tests/test-histedit-no-backup.t Sat Jan 12 17:43:36 2019 +0900 @@ -6,9 +6,9 @@ > histedit= > EOF -========================================== -Test history-editing-backup config option| -========================================== +================================= +Test backup-bundle config option| +================================= Repo setup: $ hg init foo $ cd foo @@ -33,7 +33,7 @@ o 0 36b4bdd91f5b 1970-01-01 00:00 +0000 test one -Test when `history-editing-backup` config option is enabled: +Test when `backup-bundle` config option is enabled: $ hg histedit -r '36b4bdd91f5b' --commands - << EOF > pick 36b4bdd91f5b 0 one > pick 6153eb23e623 1 two @@ -49,11 +49,11 @@ saved backup bundle to $TESTTMP/foo/.hg/strip-backup/1d8f701c7b35-cf7be322-backup.hg saved backup bundle to $TESTTMP/foo/.hg/strip-backup/5c0056670bce-b54b65d0-backup.hg -Test when `history-editing-backup` config option is not enabled +Test when `backup-bundle` config option is not enabled Enable config option: $ cat >>$HGRCPATH <<EOF - > [ui] - > history-editing-backup=False + > [rewrite] + > backup-bundle = False > EOF $ hg histedit -r '36b4bdd91f5b' --commands - << EOF