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

login
register
mail settings
Submitter Yuya Nishihara
Date Jan. 12, 2019, 10:47 a.m.
Message ID <ead5fb5b2f2908c77aee.1547290056@mimosa>
Download mbox | patch
Permalink /patch/37689/
State Accepted
Headers show

Comments

Yuya Nishihara - Jan. 12, 2019, 10:47 a.m.
# HG changeset patch
# User Yuya Nishihara <yuya@tcha.org>
# Date 1547282866 -32400
#      Sat Jan 12 17:47:46 2019 +0900
# Node ID ead5fb5b2f2908c77aee99cde8b298e407a6efc8
# Parent  f52ca65e212c9a56eb631c81434c4c1fe262ea68
help: document rewrite.backup-bundle option
via Mercurial-devel - Jan. 13, 2019, 7:36 a.m.
On Sat, Jan 12, 2019 at 2:50 AM Yuya Nishihara <yuya@tcha.org> wrote:

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

Queued, thanks.

Patch

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.