Mercurial > public > mercurial-scm > hg
diff mercurial/commands.py @ 10611:e764f24a45ee
patch/diff: move patch.export() to cmdutil.export()
This API change will allow us to break a cycle between patch and cmdutil.
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Mon, 08 Mar 2010 19:43:24 +0100 |
parents | 7648f32713f2 |
children | da7662ea741f |
line wrap: on
line diff
--- a/mercurial/commands.py Mon Mar 08 11:12:48 2010 -0600 +++ b/mercurial/commands.py Mon Mar 08 19:43:24 2010 +0100 @@ -1204,7 +1204,7 @@ ui.note(_('exporting patches:\n')) else: ui.note(_('exporting patch:\n')) - patch.export(repo, revs, template=opts.get('output'), + cmdutil.export(repo, revs, template=opts.get('output'), switch_parent=opts.get('switch_parent'), opts=patch.diffopts(ui, opts))