Mercurial > hg-stable
comparison tests/test-bundle2-remote-changegroup.t @ 31335:f28f2ac65c66
test-bundle2-remote-changegroup: directly use repo.vfs.join
The 'repo.join' method is about to be deprecated.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Wed, 08 Mar 2017 16:53:55 -0800 |
parents | d4e026341e16 |
children | 75be14993fda |
comparison
equal
deleted
inserted
replaced
31334:b589f5b953f4 | 31335:f28f2ac65c66 |
---|---|
37 > client output information about each processed part""" | 37 > client output information about each processed part""" |
38 > bundler.newpart('output', data=name) | 38 > bundler.newpart('output', data=name) |
39 > part = bundler.newpart(name, data=data) | 39 > part = bundler.newpart(name, data=data) |
40 > return part | 40 > return part |
41 > | 41 > |
42 > for line in open(repo.join('bundle2maker'), 'r'): | 42 > for line in open(repo.vfs.join('bundle2maker'), 'r'): |
43 > line = line.strip() | 43 > line = line.strip() |
44 > try: | 44 > try: |
45 > verb, args = line.split(None, 1) | 45 > verb, args = line.split(None, 1) |
46 > except ValueError: | 46 > except ValueError: |
47 > verb, args = line, '' | 47 > verb, args = line, '' |