mercurial/commands.py
changeset 28902 eb017d52899d
parent 28898 8d398155bfda
child 28912 867d6ba2353d
equal deleted inserted replaced
28901:a368da441b32 28902:eb017d52899d
  5966     return 1
  5966     return 1
  5967 
  5967 
  5968 @command('^remove|rm',
  5968 @command('^remove|rm',
  5969     [('A', 'after', None, _('record delete for missing files')),
  5969     [('A', 'after', None, _('record delete for missing files')),
  5970     ('f', 'force', None,
  5970     ('f', 'force', None,
  5971      _('remove (and delete) file even if added or modified')),
  5971      _('forget added files, delete modified files')),
  5972     ] + subrepoopts + walkopts,
  5972     ] + subrepoopts + walkopts,
  5973     _('[OPTION]... FILE...'),
  5973     _('[OPTION]... FILE...'),
  5974     inferrepo=True)
  5974     inferrepo=True)
  5975 def remove(ui, repo, *pats, **opts):
  5975 def remove(ui, repo, *pats, **opts):
  5976     """remove the specified files on the next commit
  5976     """remove the specified files on the next commit