Mercurial > hgsubversion
changeset 840:88f3cda47def stable
wrappers: clone must return hg.clone() result (issue300, issue306)
author | Wagner Bruna <wbruna@softwareexpress.com.br> |
---|---|
date | Wed, 19 Oct 2011 17:57:33 -0200 |
parents | efc86b40e915 |
children | 6c4d15d8cfbd 794f3e41ec1e |
files | hgsubversion/wrappers.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/hgsubversion/wrappers.py +++ b/hgsubversion/wrappers.py @@ -476,6 +476,8 @@ def clone(orig, ui, source, dest=None, * data['srcrepo'], data['dstrepo'] = orig(ui, *args, **opts) + return data['srcrepo'], data['dstrepo'] + for opt, (section, name) in optionmap.iteritems(): if opt in opts and opts[opt]: ui.setconfig(section, name, str(opts.pop(opt)))