mercurial/commands.py
changeset 21541 6062593d8b06
parent 21525 559f01f19cf6
child 21552 61151f429a5f
equal deleted inserted replaced
21539:0c4077905932 21541:6062593d8b06
  4920         raise util.Abort(_('no files or directories specified; '
  4920         raise util.Abort(_('no files or directories specified; '
  4921                            'use --all to remerge all files'))
  4921                            'use --all to remerge all files'))
  4922 
  4922 
  4923     ms = mergemod.mergestate(repo)
  4923     ms = mergemod.mergestate(repo)
  4924 
  4924 
  4925     if not ms.active():
  4925     if not ms.active() and not show:
  4926         raise util.Abort(_('resolve command not applicable when not merging'))
  4926         raise util.Abort(_('resolve command not applicable when not merging'))
  4927 
  4927 
  4928     m = scmutil.match(repo[None], pats, opts)
  4928     m = scmutil.match(repo[None], pats, opts)
  4929     ret = 0
  4929     ret = 0
  4930 
  4930