largefiles: cleanup overrideadd()
This was a remnant of the code prior to overridding cmdutil.add().
--- a/hgext/largefiles/overrides.py Mon Jan 12 21:44:43 2015 -0500
+++ b/hgext/largefiles/overrides.py Mon Jan 12 22:30:12 2015 -0500
@@ -243,10 +243,8 @@
# -- Wrappers: modify existing commands --------------------------------
def overrideadd(orig, ui, repo, *pats, **opts):
- normal = opts.get('normal')
- if normal:
- if opts.get('large'):
- raise util.Abort(_('--normal cannot be used with --large'))
+ if opts.get('normal') and opts.get('large'):
+ raise util.Abort(_('--normal cannot be used with --large'))
return orig(ui, repo, *pats, **opts)
def cmdutiladd(orig, ui, repo, matcher, prefix, explicitonly, **opts):