On May 11, 2006, at 23:42, Andreas Pakulat wrote:
> So do you have a hint on how I could merge using the python script
> mentioned in my original post? I mean such that the merged project
> up in <myrepository>/project/trunk and not in
> Or am I better off using diff and patch?
The svn_load_dirs.pl Perl script is designed to handle this scenario.
I believe it should be described in the Vendor Branches section of
I use it to keep a copy of phpMyAdmin in my repository, with some
local modifications of my own. The structure in our repository looks
svn_load_dirs.pl makes it easy to keep the contents of /vendor up to
date. If I now see, for example, that phpMyAdmin 126.96.36.199 has been
released, I can download it, decompress it, and import it with:
tar xjf ./phpMyAdmin-188.8.131.52.tar.bz2
svn_load_dirs.pl -t 184.108.40.206 \
...which will cause /vendor/phpmyadmin/current to now be 220.127.116.11, and
a new tag directory /vendor/phpmyadmin/18.104.22.168 to be created.
No local changes ever get made under /vendor. It's supposed to be a
pristine copy of whatever the vendor supplied.
/tools/phpmyadmin is where I make my local changes. It's currently
22.214.171.124 plus my changes. To now upgrade it to 126.96.36.199, I get a
working copy of /tools/phpmyadmin and say:
svn merge \
svn commit -m "Updating my phpMyAdmin to 188.8.131.52"
This describes how you use vendor branches once you get going.
However, to start initially, you simply "svn import" the current
version of phpMyAdmin into /vendor/phpmyadmin/current, "svn copy" it
to /vendor/phpmyadmin/184.108.40.206, and "svn copy" it to /tools/phpmyadmin
where you can start making your changes.
Note that I didn't set up my /tools/phpmyadmin with a trunk
directory, but I certainly could have; since your mail makes it sound
like you might want this, you may want to replace "/tools/phpmyadmin"
with "/tools/phpmyadmin/trunk" everywhere in my instructions above.
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org
Received on Fri May 12 14:37:36 2006