Mercurial > hg
view tests/sitecustomize.py @ 21644:17755dd8c509
bundle2: introduce a bundle2caps function
The process of decoding remote bundle2caps blob into a dictionary is cumbersome.
We move it into a small helper function. This will clarify code that reads
bundle2 capabilities of peers and helps using it in new places.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Sat, 24 May 2014 16:20:09 -0700 |
parents | 0b21ae0a2366 |
children | 031947baf4d0 |
line wrap: on
line source
try: import coverage getattr(coverage, 'process_startup', lambda: None)() except ImportError: pass