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