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 184.108.40.206 has been
released, I can download it, decompress it, and import it with:
tar xjf ./phpMyAdmin-220.127.116.11.tar.bz2
svn_load_dirs.pl -t 18.104.22.168 \
...which will cause /vendor/phpmyadmin/current to now be 22.214.171.124, and
a new tag directory /vendor/phpmyadmin/126.96.36.199 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
188.8.131.52 plus my changes. To now upgrade it to 184.108.40.206, I get a
working copy of /tools/phpmyadmin and say:
svn merge \
svn commit -m "Updating my phpMyAdmin to 220.127.116.11"
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/18.104.22.168, 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: firstname.lastname@example.org
For additional commands, e-mail: email@example.com
Received on Fri May 12 14:37:36 2006