Sophie

Sophie

distrib > Mageia > 5 > i586 > by-pkgid > 27647990744ebd9cfe32398f37f67e20 > files > 2799

bzr-2.6.0-11.1.mga5.i586.rpm

branch
======

:Purpose: Create a new branch that is a copy of an existing branch.
:Usage:   bzr branch FROM_LOCATION [TO_LOCATION]

:Options:
  --use-existing-dir    By default branch will fail if the target directory
                        exists, but does not already have a control directory.
                        This flag will allow branch to proceed.
  --stacked             Create a stacked branch referring to the source
                        branch. The new branch will depend on the availability
                        of the source branch for all operations.
  -v, --verbose         Display more information.
  --standalone          Do not use a shared repository, even if available.
  --files-from=ARG      Get file contents from this tree.
  -h, --help            Show help message.
  -q, --quiet           Only display errors and warnings.
  --switch              Switch the checkout in the current directory to the
                        new branch.
  --hardlink            Hard-link working tree files where possible.
  --bind                Bind new branch to from location.
  --usage               Show usage message and options.
  --no-tree             Create a branch without a working-tree.
  -r ARG, --revision=ARG
                        See "help revisionspec" for details.

:Description:
  If the TO_LOCATION is omitted, the last component of the FROM_LOCATION will
  be used.  In other words, "branch ../foo/bar" will attempt to create ./bar.
  If the FROM_LOCATION has no / or path separator embedded, the TO_LOCATION
  is derived from the FROM_LOCATION by stripping a leading scheme or drive
  identifier, if any. For example, "branch lp:foo-bar" will attempt to
  create ./foo-bar.
  
  To retrieve the branch as of a particular revision, supply the --revision
  parameter, as in "branch foo/bar -r 5".
  
  The synonyms 'clone' and 'get' for this command are deprecated.

:Aliases:  get, clone
:See also: :doc:`checkout <checkout-help>`