comparison mercurial/cmdutil.py @ 6600:b822a379860b

match: stop passing files through commitfunc
author Matt Mackall <mpm@selenic.com>
date Mon, 12 May 2008 11:37:08 -0500
parents 371415a2b959
children 41eb20cc1c02
comparison
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))