##// END OF EJS Templates
largefiles: cleanup overrideadd()...
Matt Harbison -
r23887:054cfb7c default
parent child Browse files
Show More
@@ -243,10 +243,8 b' def decodepath(orig, path):'
243 # -- Wrappers: modify existing commands --------------------------------
243 # -- Wrappers: modify existing commands --------------------------------
244
244
245 def overrideadd(orig, ui, repo, *pats, **opts):
245 def overrideadd(orig, ui, repo, *pats, **opts):
246 normal = opts.get('normal')
246 if opts.get('normal') and opts.get('large'):
247 if normal:
247 raise util.Abort(_('--normal cannot be used with --large'))
248 if opts.get('large'):
249 raise util.Abort(_('--normal cannot be used with --large'))
250 return orig(ui, repo, *pats, **opts)
248 return orig(ui, repo, *pats, **opts)
251
249
252 def cmdutiladd(orig, ui, repo, matcher, prefix, explicitonly, **opts):
250 def cmdutiladd(orig, ui, repo, matcher, prefix, explicitonly, **opts):
General Comments 0
You need to be logged in to leave comments. Login now