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

Matt Mackall mpm at selenic.com
Thu Jul 16 12:36:00 CDT 2015


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

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)


More information about the Mercurial-devel mailing list