equal
deleted
inserted
replaced
8 |
8 |
9 @command('autodiff', |
9 @command('autodiff', |
10 [('', 'git', '', 'git upgrade mode (yes/no/auto/warn/abort)')], |
10 [('', 'git', '', 'git upgrade mode (yes/no/auto/warn/abort)')], |
11 '[OPTION]... [FILE]...') |
11 '[OPTION]... [FILE]...') |
12 def autodiff(ui, repo, *pats, **opts): |
12 def autodiff(ui, repo, *pats, **opts): |
13 diffopts = patch.diffopts(ui, opts) |
13 diffopts = patch.difffeatureopts(ui, opts) |
14 git = opts.get('git', 'no') |
14 git = opts.get('git', 'no') |
15 brokenfiles = set() |
15 brokenfiles = set() |
16 losedatafn = None |
16 losedatafn = None |
17 if git in ('yes', 'no'): |
17 if git in ('yes', 'no'): |
18 diffopts.git = git == 'yes' |
18 diffopts.git = git == 'yes' |