patch: rename diffopts to diffallopts
authorSiddharth Agarwal <sid0@fb.com>
Tue, 18 Nov 2014 21:43:38 -0800
changeset 23431 10223d2278f4
parent 23430 3821be85fd4d
child 23432 27af986a332b
patch: rename diffopts to diffallopts This is meant to be used when all features are explicitly requested. diffopts is kept as an alias for now -- it will go away soon.
mercurial/patch.py
--- a/mercurial/patch.py	Tue Nov 18 16:53:22 2014 -0800
+++ b/mercurial/patch.py	Tue Nov 18 21:43:38 2014 -0800
@@ -1558,10 +1558,12 @@
 class GitDiffRequired(Exception):
     pass
 
-def diffopts(ui, opts=None, untrusted=False, section='diff'):
+def diffallopts(ui, opts=None, untrusted=False, section='diff'):
     '''return diffopts with all features supported and parsed'''
     return difffeatureopts(ui, opts=opts, untrusted=untrusted, section=section)
 
+diffopts = diffallopts
+
 def difffeatureopts(ui, opts=None, untrusted=False, section='diff'):
     '''return diffopts with only opted-in features parsed'''
     def get(key, name=None, getter=ui.configbool, forceplain=None):