7
The ``export`` command is used to package a release, i.e. to
8
take a copy of the files and directories in a branch and
9
package them into a fresh directory or archive. For example,
10
this command will package the last committed version into
11
a ``tar.gz`` archive file::
13
bzr export ../releases/my-stuff-1.5.tar.gz
15
The ``export`` command uses the suffix of the archive file
16
to work out the type of archive to create as shown below.
18
================= =========================
19
Supported formats Autodetected by extension
20
================= =========================
26
================= =========================
28
If you wish to package a different version to the last one, use
29
the ``-r`` option. If you wish to tune the root directory inside
30
the archive, use the ``--root`` option. See the online help or
31
User Reference for further details on the options supported by
37
Rather than remembering which version was used to package a release,
38
it's useful to define a symbolic name for a version using the ``tag``
43
That tag can be be used later whenever a revision identifier is
46
bzr diff -r tag:version-1-5
48
To see the list of tags defined in a branch, use the ``tags`` command.