Patchwork [4,of,6] transplant: mark some undocumented options deprecated

login
register
mail settings
Submitter Matt Mackall
Date July 16, 2015, 5:36 p.m.
Message ID <38174634314fef7a4ea3.1437068160@ruin.waste.org>
Download mbox | patch
Permalink /patch/10016/
State Accepted
Commit 5ae4b128a2914079b4f271407d18813a0e8c89d6
Headers show

Comments

Matt Mackall - July 16, 2015, 5:36 p.m.
# HG changeset patch
# User Matt Mackall <mpm@selenic.com>
# Date 1435272129 18000
#      Thu Jun 25 17:42:09 2015 -0500
# Node ID 38174634314fef7a4ea3ada503869b64448e843f
# Parent  367d68d954c43db19c314121f6451bbd2b91bd53
transplant: mark some undocumented options deprecated

Patch

diff -r 367d68d954c4 -r 38174634314f hgext/transplant.py
--- a/hgext/transplant.py	Thu Jun 25 17:41:40 2015 -0500
+++ b/hgext/transplant.py	Thu Jun 25 17:42:09 2015 -0500
@@ -608,8 +608,10 @@ 
     checkopts(opts, revs)
 
     if not opts.get('log'):
+        # deprecated config: transplant.log
         opts['log'] = ui.config('transplant', 'log')
     if not opts.get('filter'):
+        # deprecated config: transplant.filter
         opts['filter'] = ui.config('transplant', 'filter')
 
     tp = transplanter(ui, repo, opts)