[PATCH 2 of 2] help: document rewrite.backup-bundle option

Yuya Nishihara yuya at tcha.org
Sat Jan 12 05:47:36 EST 2019


# HG changeset patch
# User Yuya Nishihara <yuya at tcha.org>
# Date 1547282866 -32400
#      Sat Jan 12 17:47:46 2019 +0900
# Node ID ead5fb5b2f2908c77aee99cde8b298e407a6efc8
# Parent  f52ca65e212c9a56eb631c81434c4c1fe262ea68
help: document rewrite.backup-bundle option

diff --git a/hgext/histedit.py b/hgext/histedit.py
--- a/hgext/histedit.py
+++ b/hgext/histedit.py
@@ -1680,7 +1680,6 @@ def _histedit(ui, repo, state, *freeargs
     fm.startitem()
     goal = _getgoal(opts)
     revs = opts.get('rev', [])
-    # experimental config: rewrite.backup-bundle
     nobackup = not ui.configbool('rewrite', 'backup-bundle')
     rules = opts.get('commands', '')
     state.keep = opts.get('keep', False)
diff --git a/mercurial/help/config.txt b/mercurial/help/config.txt
--- a/mercurial/help/config.txt
+++ b/mercurial/help/config.txt
@@ -1812,6 +1812,9 @@ Alias definitions for revsets. See :hg:`
 ``rewrite``
 -----------
 
+``backup-bundle``
+    Whether to save stripped changesets to a bundle file. (default: True)
+
 ``update-timestamp``
     If true, updates the date and time of the changeset to current. It is only
     applicable for hg amend in current version.


More information about the Mercurial-devel mailing list