/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/smart/ping.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-21 19:09:26 UTC
  • mfrom: (6622.1.36 breezy)
  • Revision ID: jelmer@jelmer.uk-20170521190926-5vtz8xaf0e9ylrpc
Merge rename to breezy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
# along with this program; if not, write to the Free Software
15
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
 
"""Ping plugin for bzr."""
 
17
"""Ping plugin for brz."""
18
18
 
19
19
from __future__ import absolute_import
20
20
 
21
 
from bzrlib.commands import Command
22
 
from bzrlib.lazy_import import lazy_import
 
21
from breezy.commands import Command
 
22
from breezy.lazy_import import lazy_import
23
23
 
24
24
lazy_import(globals(), """
25
 
from bzrlib import errors
26
 
from bzrlib.smart.client import _SmartClient
27
 
from bzrlib.transport import get_transport
 
25
from breezy import errors
 
26
from breezy.smart.client import _SmartClient
 
27
from breezy.transport import get_transport
28
28
""")
29
29
 
30
30
 
31
31
class cmd_ping(Command):
32
32
    """Pings a Bazaar smart server.
33
33
    
34
 
    This command sends a 'hello' request to the given location using the bzr
 
34
    This command sends a 'hello' request to the given location using the brz
35
35
    smart protocol, and reports the response.
36
36
    """
37
37