Mercurial > public > mercurial-scm > hg-stable
diff tests/test-bundle2.t @ 20842:938718d72624
bundle2: print debug information during bundling
The bundler class is now feed with an ui object and use it to transmit data
about the bundling process.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Tue, 18 Mar 2014 19:07:10 -0700 |
parents | cff562fe77a0 |
children | 0641b41b0b49 |
line wrap: on
line diff
--- a/tests/test-bundle2.t Wed Mar 19 02:36:21 2014 -0700 +++ b/tests/test-bundle2.t Tue Mar 18 19:07:10 2014 -0700 @@ -20,7 +20,7 @@ > '[OUTPUTFILE]') > def cmdbundle2(ui, repo, path=None, **opts): > """write a bundle2 container on standard ouput""" - > bundler = bundle2.bundle20() + > bundler = bundle2.bundle20(ui) > for p in opts['param']: > p = p.split('=', 1) > try: @@ -161,9 +161,11 @@ Test debug output --------------------------------------------------- -(no debug output yet) $ hg bundle2 --debug --param 'e|! 7/=babar%#==tutu' --param simple ../out.hg2 + start emission of HG20 stream + bundle parameter: e%7C%21%207/=babar%25%23%3D%3Dtutu simple + end of bundle file content is ok