/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 bzrlib/builtins.py

  • Committer: Andrew Bennetts
  • Date: 2009-06-15 06:47:14 UTC
  • mfrom: (4438 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4446.
  • Revision ID: andrew.bennetts@canonical.com-20090615064714-j04tkbgfz6bis3la
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1085
1085
 
1086
1086
 
1087
1087
class cmd_branch(Command):
1088
 
    """Create a new copy of a branch.
 
1088
    """Create a new branch that is a copy of an existing branch.
1089
1089
 
1090
1090
    If the TO_LOCATION is omitted, the last component of the FROM_LOCATION will
1091
1091
    be used.  In other words, "branch ../foo/bar" will attempt to create ./bar.
1119
1119
 
1120
1120
        accelerator_tree, br_from = bzrdir.BzrDir.open_tree_or_branch(
1121
1121
            from_location)
 
1122
        if (accelerator_tree is not None and
 
1123
            accelerator_tree.supports_content_filtering()):
 
1124
            accelerator_tree = None
1122
1125
        revision = _get_one_revision('branch', revision)
1123
1126
        br_from.lock_read()
1124
1127
        try: