mercurial/cmdutil.py
changeset 42270 19b95afb0c01
parent 42253 e45c6b153e51
child 42399 64ed405dd342
equal deleted inserted replaced
42269:c8d55ff80da1 42270:19b95afb0c01
   276             raise error.Abort('%s: %s' % (f, msg))
   276             raise error.Abort('%s: %s' % (f, msg))
   277 
   277 
   278         force = opts.get('force')
   278         force = opts.get('force')
   279         if not force:
   279         if not force:
   280             vdirs = []
   280             vdirs = []
       
   281             match = matchmod.badmatch(match, fail)
   281             match.explicitdir = vdirs.append
   282             match.explicitdir = vdirs.append
   282             match.bad = fail
       
   283 
   283 
   284         status = repo.status(match=match)
   284         status = repo.status(match=match)
   285 
   285 
   286         overrides = {(b'ui', b'commitsubrepos'): True}
   286         overrides = {(b'ui', b'commitsubrepos'): True}
   287 
   287