Quick way to set of a bzr branch of Samba 3 or 4

Gerald (Jerry) Carter jerry at samba.org
Thu Jun 8 01:20:11 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

For the impatient (You need bzr 0.8 or later):

Download the appropriate SAMBA tree tarball from
http://download.samba.org/samba/ftp/bzr/ and unpack it.
For example (substitute SAMBA_4_0 for SAMBA_3_0 if
appropriate).  This will save a lot of time creating the
initial branch.

$ mkdir ~/src && cd ~/src
$ wget \
http://download.samba.org/samba/ftp/bzr/SAMBA_3_0.bzr-svn-r16060.tar.bz2
$ tar jxvf SAMBA_3_0.bzr-svn-r16060.tar.bz2

Then create your own local branch:

$ bzr branch SAMBA_3_0.bzr samba

The merge any recent changes from the official tree

$ cd ~/src/samba
$ bzr merge http://www.samba.org/~jerry/bzr/SAMBA_3_0.bzr
$ bzr commit -m "merge from official tree"

Now you have a working, local tree.  Bzr will remember
the last location merged from so you don't have to include
the full URL after the first one.




cheers, jerry


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFEh3tLIR7qMdg1EfYRAgaOAKCjdyCOQMq6nHi/LjAO//iIdu8yiwCglnTc
+wNvqVqhyjTISLmo8qxvF3c=
=VbU8
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list