Mercurial > public > mercurial-scm > hg-stable
diff tests/test-amend.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 | 4145fd3569c3 |
children | 8633c716f908 |
line wrap: on
line diff
--- a/tests/test-amend.t Wed Jan 09 19:54:01 2019 -0800 +++ b/tests/test-amend.t Sat Jan 12 17:43:36 2019 +0900 @@ -332,9 +332,9 @@ ? missing_content2_content3-untracked ? missing_missing_content3-untracked -========================================== -Test history-editing-backup config option| -========================================== +================================= +Test backup-bundle config option| +================================= $ hg init $TESTTMP/repo4 $ cd $TESTTMP/repo4 $ echo a>a @@ -346,20 +346,20 @@ #if obsstore-off $ hg amend saved backup bundle to $TESTTMP/repo4/.hg/strip-backup/95e899acf2ce-f11cb050-amend.hg -When history-editing-backup config option is set: +When backup-bundle config option is set: $ cat << EOF >> $HGRCPATH - > [ui] - > history-editing-backup = False + > [rewrite] + > backup-bundle = False > EOF $ echo fixed > b $ hg amend #else $ hg amend -When history-editing-backup config option is set: +When backup-bundle config option is set: $ cat << EOF >> $HGRCPATH - > [ui] - > history-editing-backup = False + > [rewrite] + > backup-bundle = False > EOF $ echo fixed > b $ hg amend