##// END OF EJS Templates
clonebundle: update hook arguments (BC)...
Martin von Zweigbergk -
r32957:067173e3 default
parent child Browse files
Show More
@@ -1997,7 +1997,7 b' def trypullbundlefromurl(ui, repo, url):'
1997 cg = readbundle(ui, fh, 'stream')
1997 cg = readbundle(ui, fh, 'stream')
1998
1998
1999 if isinstance(cg, bundle2.unbundle20):
1999 if isinstance(cg, bundle2.unbundle20):
2000 bundle2.processbundle(repo, cg, lambda: tr)
2000 bundle2.applybundle(repo, cg, tr, 'clonebundles', url)
2001 elif isinstance(cg, streamclone.streamcloneapplier):
2001 elif isinstance(cg, streamclone.streamcloneapplier):
2002 cg.apply(repo)
2002 cg.apply(repo)
2003 else:
2003 else:
General Comments 0
You need to be logged in to leave comments. Login now