Update to Samba 4.0.5 release
[abartlet/samba-debian.git] / debian / README.source
1 Merging upstream releases
2 =========================
3
4 $ svn-load -t tags/samba/upstream_${version} \
5 svn+ssh://svn.debian.org/svn/pkg-samba branches/samba/upstream .
6
7 The svn-load command is in the aptly-named "svn-load" package.  The 
8 above is the simplest use of svn-load to merge a new upstream version
9 into the "upstream" branch and copy it to a per-version tag directory;
10 please see "svn-load --help" for a list of other options that are of
11 interest.  In particular, you may find that the --wc option saves time
12 if you're on a slow connection, and the "-m" option may be needed if
13 files are moved around in the upstream repository and this needs to be
14 indicated to prevent subversion treating this as addition and deletion
15 of unrelated files.
16
17 Note that this only imports the new upstream version into the branch, it
18 doesn't merge it onto the trunk.  For this, you should go to your
19 (clean) working copy of the trunk and run:
20
21 $ svn merge \
22 svn+ssh://svn.debian.org/svn/pkg-samba/tags/samba/upstream_{prev_version,new_version}
23 $ svn diff # (to make sure the diff makes sense)
24 $ svn commit -m "merge upstream $version"