--- a/ForgeHg/forgehg/hg_main.py
+++ b/ForgeHg/forgehg/hg_main.py
@@ -64,14 +64,12 @@
allura.tasks.repo_tasks.clone.post(
cloned_from_path=cloned_from.full_fs_path,
cloned_from_name=cloned_from.app.config.script_name(),
- cloned_from_url=cloned_from.full_fs_path,
- copy_hooks=self.config.options.get('copy_hooks', False))
+ cloned_from_url=cloned_from.full_fs_path)
elif init_from_url or init_from_path:
allura.tasks.repo_tasks.clone.post(
cloned_from_path=init_from_path,
cloned_from_name=None,
- cloned_from_url=init_from_url,
- copy_hooks=self.config.options.get('copy_hooks', False))
+ cloned_from_url=init_from_url)
else:
allura.tasks.repo_tasks.init.post()