Patchwork [08,of,20] test-bundle2-remote-changegroup: directly use repo.vfs.join

login
register
mail settings
Submitter Pierre-Yves David
Date March 12, 2017, 2:45 p.m.
Message ID <0e277a15c4e81ef8081a.1489329942@nodosa.octopoid.net>
Download mbox | patch
Permalink /patch/19153/
State Accepted
Headers show

Comments

Pierre-Yves David - March 12, 2017, 2:45 p.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@ens-lyon.org>
# Date 1489020835 28800
#      Wed Mar 08 16:53:55 2017 -0800
# Node ID 0e277a15c4e81ef8081a8b344c7df54a99ca61d9
# Parent  81eb72c8ba72c9c0f57dc8e090b5bd9d2bff7cf1
# EXP-Topic vfs.cleanup
# Available At https://www.mercurial-scm.org/repo/users/marmoute/mercurial/
#              hg pull https://www.mercurial-scm.org/repo/users/marmoute/mercurial/ -r 0e277a15c4e8
test-bundle2-remote-changegroup: directly use repo.vfs.join

The 'repo.join' method is about to be deprecated.

Patch

diff --git a/tests/test-bundle2-remote-changegroup.t b/tests/test-bundle2-remote-changegroup.t
--- a/tests/test-bundle2-remote-changegroup.t
+++ b/tests/test-bundle2-remote-changegroup.t
@@ -39,7 +39,7 @@  Create an extension to test bundle2 remo
   >         part = bundler.newpart(name, data=data)
   >         return part
   > 
-  >     for line in open(repo.join('bundle2maker'), 'r'):
+  >     for line in open(repo.vfs.join('bundle2maker'), 'r'):
   >         line = line.strip()
   >         try:
   >             verb, args = line.split(None, 1)