Sophie

Sophie

distrib > Mageia > 7 > aarch64 > by-pkgid > 7e647d9940d31b34c253e6f71c416c4b > files > 2972

bzr-2.7.0-6.mga7.aarch64.rpm

upgrade
=======

:Purpose: Upgrade a repository, branch or working tree to a newer format.
:Usage:   bzr upgrade [URL]

:Options:
  --dry-run             Show what would be done, but don't actually do
                        anything.
  -v, --verbose         Display more information.
  -q, --quiet           Only display errors and warnings.
  --clean               Remove the backup.bzr directory if successful.
  --usage               Show usage message and options.
  -h, --help            Show help message.

  Branch format:
    --format=ARG        Upgrade to a specific format.  See "bzr help formats"
                        for details.
    --2a                Format for the bzr 2.0 series. Uses group-compress
                        storage. Provides rich roots which are a one-way
                        transition.
    --default           Format for the bzr 2.0 series. Uses group-compress
                        storage. Provides rich roots which are a one-way
                        transition.
    --development-colo  The 2a format with experimental support for colocated
                        branches.
    --pack-0.92         Pack-based format used in 1.x series. Introduced in
                        0.92. Interoperates with bzr repositories before 0.92
                        but cannot be read by bzr < 0.92.

:Description:
  When the default format has changed after a major new release of
  Bazaar, you may be informed during certain operations that you
  should upgrade. Upgrading to a newer format may improve performance
  or make new features available. It may however limit interoperability
  with older repositories or with older versions of Bazaar.
  
  If you wish to upgrade to a particular format rather than the
  current default, that can be specified using the --format option.
  As a consequence, you can use the upgrade command this way to
  "downgrade" to an earlier format, though some conversions are
  a one way process (e.g. changing from the 1.x default to the
  2.x default) so downgrading is not always possible.
  
  A backup.bzr.~#~ directory is created at the start of the conversion
  process (where # is a number). By default, this is left there on
  completion. If the conversion fails, delete the new .bzr directory
  and rename this one back in its place. Use the --clean option to ask
  for the backup.bzr directory to be removed on successful conversion.
  Alternatively, you can delete it by hand if everything looks good
  afterwards.
  
  If the location given is a shared repository, dependent branches
  are also converted provided the repository converts successfully.
  If the conversion of a branch fails, remaining branches are still
  tried.
  
  For more information on upgrades, see the Bazaar Upgrade Guide,
  http://doc.bazaar.canonical.com/latest/en/upgrade-guide/.

:See also: :doc:`check <check-help>`, :doc:`formats <formats-help>`, :doc:`reconcile <reconcile-help>`