~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Jelmer Vernooij
  • Date: 2011-08-30 09:03:33 UTC
  • mto: This revision was merged to the branch mainline in revision 6169.
  • Revision ID: jelmer@samba.org-20110830090333-64mdcfmszxkeyply
Rename --scan to --recursive.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1347
1347
 
1348
1348
    takes_args = ['location?']
1349
1349
    takes_options = [
1350
 
                  Option('scan', help='Recursively scan for for branches '
1351
 
                                      'rather than just looking in the '
1352
 
                                      'specified location.')]
 
1350
                  Option('recursive', short_name='R',
 
1351
                         help='Recursively scan for branches rather than '
 
1352
                              'just looking in the specified location.')]
1353
1353
 
1354
 
    def run(self, location=".", scan=False):
1355
 
        if scan:
 
1354
    def run(self, location=".", recursive=False):
 
1355
        if recursive:
1356
1356
            t = transport.get_transport(location)
1357
1357
            if not t.listable():
1358
1358
                raise errors.BzrCommandError(