~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: John Arbash Meinel
  • Date: 2010-02-04 16:06:36 UTC
  • mfrom: (5007 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5023.
  • Revision ID: john@arbash-meinel.com-20100204160636-xqeuwz8bwt8bbts4
Merge bzr.dev 5007, resolve conflict, update NEWS

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2004-2010 Canonical Ltd
 
1
# Copyright (C) 2005-2010 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
2191
2191
    :Tips & tricks:
2192
2192
 
2193
2193
      GUI tools and IDEs are often better at exploring history than command
2194
 
      line tools. You may prefer qlog or viz from the QBzr and Bzr-Gtk packages
2195
 
      respectively for example. (TortoiseBzr uses qlog for displaying logs.) See
2196
 
      http://bazaar-vcs.org/BzrPlugins and http://bazaar-vcs.org/IDEIntegration.
2197
 
 
2198
 
      Web interfaces are often better at exploring history than command line
2199
 
      tools, particularly for branches on servers. You may prefer Loggerhead
2200
 
      or one of its alternatives. See http://bazaar-vcs.org/WebInterface.
 
2194
      line tools: you may prefer qlog or viz from qbzr or bzr-gtk, the
 
2195
      bzr-explorer shell, or the Loggerhead web interface.  See the Plugin
 
2196
      Guide <http://doc.bazaar.canonical.com/plugins/en/> and
 
2197
      <http://wiki.bazaar.canonical.com/IDEIntegration>.  
2201
2198
 
2202
2199
      You may find it useful to add the aliases below to ``bazaar.conf``::
2203
2200
 
4408
4405
    adding new commands, providing additional network transports and
4409
4406
    customizing log output.
4410
4407
 
4411
 
    See the Bazaar web site, http://bazaar-vcs.org, for further
4412
 
    information on plugins including where to find them and how to
4413
 
    install them. Instructions are also provided there on how to
4414
 
    write new plugins using the Python programming language.
 
4408
    See the Bazaar Plugin Guide <http://doc.bazaar.canonical.com/plugins/en/>
 
4409
    for further information on plugins including where to find them and how to
 
4410
    install them. Instructions are also provided there on how to write new
 
4411
    plugins using the Python programming language.
4415
4412
    """
4416
4413
    takes_options = ['verbose']
4417
4414
 
4615
4612
                    'This format does not remember old locations.')
4616
4613
            else:
4617
4614
                if location is None:
4618
 
                    raise errors.BzrCommandError('No location supplied and no '
4619
 
                        'previous location known')
 
4615
                    if b.get_bound_location() is not None:
 
4616
                        raise errors.BzrCommandError('Branch is already bound')
 
4617
                    else:
 
4618
                        raise errors.BzrCommandError('No location supplied '
 
4619
                            'and no previous location known')
4620
4620
        b_other = Branch.open(location)
4621
4621
        try:
4622
4622
            b.bind(b_other)