mercurial/wireproto.py
changeset 31073 2cf1e5207fdf
parent 30924 48dea083f66d
child 31146 16d8bec0177d
equal deleted inserted replaced
31072:80f04ba7f4d1 31073:2cf1e5207fdf
   838             if proto.name == 'http':
   838             if proto.name == 'http':
   839                 return ooberror(bundle2required)
   839                 return ooberror(bundle2required)
   840             raise error.Abort(bundle2requiredmain,
   840             raise error.Abort(bundle2requiredmain,
   841                               hint=bundle2requiredhint)
   841                               hint=bundle2requiredhint)
   842 
   842 
   843     #chunks = exchange.getbundlechunks(repo, 'serve', **opts)
       
   844     try:
   843     try:
   845         chunks = exchange.getbundlechunks(repo, 'serve', **opts)
   844         chunks = exchange.getbundlechunks(repo, 'serve', **opts)
   846     except error.Abort as exc:
   845     except error.Abort as exc:
   847         # cleanly forward Abort error to the client
   846         # cleanly forward Abort error to the client
   848         if not exchange.bundle2requested(opts.get('bundlecaps')):
   847         if not exchange.bundle2requested(opts.get('bundlecaps')):