##// END OF EJS Templates
wireprotov1server: use binascii.unhexlify...
Gregory Szorc -
r41506:fb28dc97 default draft
parent child Browse files
Show More
@@ -504,6 +504,7 b' test-profile.t'
504 test-progress.t
504 test-progress.t
505 test-propertycache.py
505 test-propertycache.py
506 test-pull-branch.t
506 test-pull-branch.t
507 test-pull-bundle.t
507 test-pull-http.t
508 test-pull-http.t
508 test-pull-permission.t
509 test-pull-permission.t
509 test-pull-pull-corruption.t
510 test-pull-pull-corruption.t
@@ -7,6 +7,7 b''
7
7
8 from __future__ import absolute_import
8 from __future__ import absolute_import
9
9
10 import binascii
10 import os
11 import os
11
12
12 from .i18n import _
13 from .i18n import _
@@ -344,7 +345,7 b' def find_pullbundle(repo, proto, opts, c'
344 one specific branch of many.
345 one specific branch of many.
345 """
346 """
346 def decodehexstring(s):
347 def decodehexstring(s):
347 return set([h.decode('hex') for h in s.split(';')])
348 return set([binascii.unhexlify(h) for h in s.split(';')])
348
349
349 manifest = repo.vfs.tryread('pullbundles.manifest')
350 manifest = repo.vfs.tryread('pullbundles.manifest')
350 if not manifest:
351 if not manifest:
General Comments 0
You need to be logged in to leave comments. Login now