##// END OF EJS Templates
strip: pass source and url to bundle2 processing...
Pierre-Yves David -
r26797:75d550b7 default
parent child Browse files
Show More
@@ -192,7 +192,8 b' def strip(ui, repo, nodelist, backup=Tru'
192 tr.hookargs = {'source': 'strip',
192 tr.hookargs = {'source': 'strip',
193 'url': 'bundle:' + vfs.join(chgrpfile)}
193 'url': 'bundle:' + vfs.join(chgrpfile)}
194 try:
194 try:
195 bundle2.processbundle(repo, gen, lambda: tr)
195 bundle2.applybundle(repo, gen, tr, source='strip',
196 url='bundle:' + vfs.join(chgrpfile))
196 tr.close()
197 tr.close()
197 finally:
198 finally:
198 tr.release()
199 tr.release()
General Comments 0
You need to be logged in to leave comments. Login now