~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_transport.py

Merge fetch-spec-everything-not-in-other.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2005-2010 Canonical Ltd
 
1
# Copyright (C) 2005-2011 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
16
16
 
17
17
 
18
18
from cStringIO import StringIO
19
 
import os
20
19
import subprocess
21
20
import sys
22
21
import threading
967
966
            bzr_remote_path = sys.executable + ' ' + self.get_bzr_path()
968
967
        else:
969
968
            bzr_remote_path = self.get_bzr_path()
970
 
        os.environ['BZR_REMOTE_PATH'] = bzr_remote_path
 
969
        self.overrideEnv('BZR_REMOTE_PATH', bzr_remote_path)
971
970
 
972
971
        # Access the branch via a bzr+ssh URL.  The BZR_REMOTE_PATH environment
973
972
        # variable is used to tell bzr what command to run on the remote end.