[PATCH STABLE v2] revert: mention ui.origbackuppath in the command help

Nathan Goldbaum nathan12343 at gmail.com
Wed May 4 16:02:31 UTC 2016


# HG changeset patch
# User Nathan Goldbaum <ngoldbau at illinois.edu>
# Date 1462376787 18000
#      Wed May 04 10:46:27 2016 -0500
# Node ID 9fdec65dcc60fcfd08b315fe4c609f4c0f2b3b93
# Parent  8eba4cdcfd810d80785c94d770a442c5bd1f9d0f
revert: mention ui.origbackuppath in the command help

diff -r 8eba4cdcfd81 -r 9fdec65dcc60 mercurial/commands.py
--- a/mercurial/commands.py	Sun Apr 17 12:31:06 2016 +0900
+++ b/mercurial/commands.py	Wed May 04 10:46:27 2016 -0500
@@ -6297,7 +6297,10 @@ def revert(ui, repo, *pats, **opts):
     related method.
 
     Modified files are saved with a .orig suffix before reverting.
-    To disable these backups, use --no-backup.
+    To disable these backups, use --no-backup. It is possible to store
+    the backup files in a custom directory relative to the root of the
+    repository by setting the ``ui.origbackuppath`` configuration
+    option.
 
     See :hg:`help dates` for a list of formats valid for -d/--date.
 


More information about the Mercurial-devel mailing list