Mercurial > hg
diff tests/test-rebase-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 | 2002c193f2bc |
children | dc5e5577af39 |
line wrap: on
line diff
--- a/tests/test-rebase-backup.t Wed Jan 09 19:54:01 2019 -0800 +++ b/tests/test-rebase-backup.t Sat Jan 12 17:43:36 2019 +0900 @@ -3,9 +3,9 @@ > rebase= > EOF -========================================== -Test history-editing-backup config option | -========================================== +================================== +Test backup-bundle config option | +================================== Test with Pre-obsmarker rebase: 1) When config option is not set: $ hg init repo1 @@ -50,8 +50,8 @@ 2) When config option is set: $ cat << EOF >> $HGRCPATH - > [ui] - > history-editing-backup = False + > [rewrite] + > backup-bundle = False > EOF $ echo f>f @@ -116,10 +116,10 @@ | o 0: a -When history-editing-backup = True: +When backup-bundle = True: $ cat << EOF >> $HGRCPATH - > [ui] - > history-editing-backup = True + > [rewrite] + > backup-bundle = True > EOF $ hg rebase -s 5 -d . rebasing 5:1f8148a544ee "b" @@ -132,10 +132,10 @@ saved backup bundle to $TESTTMP/repo1/.hg/strip-backup/818c1a43c916-2b644d96-backup.hg rebase aborted -When history-editing-backup = False: +When backup-bundle = False: $ cat << EOF >> $HGRCPATH - > [ui] - > history-editing-backup = False + > [rewrite] + > backup-bundle = False > EOF $ hg rebase -s 5 -d . rebasing 5:1f8148a544ee "b"