Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/patch.py @ 38588:b62000a28812
diffutil: remove diffopts() in favor of diffallopts()
patch.diffopts() exists only for backward compatibility. We don't need it
in new module.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Fri, 06 Jul 2018 21:41:36 +0900 |
parents | c88d2c9b00dd |
children | 1c93e0237a24 |
comparison
equal
deleted
inserted
replaced
38587:79d7d715f3d0 | 38588:b62000a28812 |
---|---|
2231 return changed | 2231 return changed |
2232 | 2232 |
2233 class GitDiffRequired(Exception): | 2233 class GitDiffRequired(Exception): |
2234 pass | 2234 pass |
2235 | 2235 |
2236 diffopts = diffutil.diffopts | 2236 diffopts = diffutil.diffallopts |
2237 diffallopts = diffutil.diffallopts | 2237 diffallopts = diffutil.diffallopts |
2238 difffeatureopts = diffutil.difffeatureopts | 2238 difffeatureopts = diffutil.difffeatureopts |
2239 | 2239 |
2240 def diff(repo, node1=None, node2=None, match=None, changes=None, | 2240 def diff(repo, node1=None, node2=None, match=None, changes=None, |
2241 opts=None, losedatafn=None, prefix='', relroot='', copy=None, | 2241 opts=None, losedatafn=None, prefix='', relroot='', copy=None, |