mercurial/cmdutil.py
changeset 6600 b822a379860b
parent 6597 371415a2b959
child 6603 41eb20cc1c02
equal deleted inserted replaced
6599:cd4db3999ef9 6600:b822a379860b
  1181                                        "unsupported file type!") % rel)
  1181                                        "unsupported file type!") % rel)
  1182                 elif f not in repo.dirstate:
  1182                 elif f not in repo.dirstate:
  1183                     raise util.Abort(_("file %s not tracked!") % rel)
  1183                     raise util.Abort(_("file %s not tracked!") % rel)
  1184         m = matchfiles(repo, files)
  1184         m = matchfiles(repo, files)
  1185     try:
  1185     try:
  1186         return commitfunc(ui, repo, m.files(), message, m, opts)
  1186         return commitfunc(ui, repo, message, m, opts)
  1187     except ValueError, inst:
  1187     except ValueError, inst:
  1188         raise util.Abort(str(inst))
  1188         raise util.Abort(str(inst))