svn management/ update
Moderators: MattKingUSA, khz
-
studio32
svn management/ update
Hi,
I've downloaded the latest SVN of hydrogen and I've some questions about svn. How do you keep the latest svn version? Is there a possibility to update or should you download and install it everytime again?
After installation of the svn or source (.bz2) do you guys alway remove the folder?
I've downloaded the latest SVN of hydrogen and I've some questions about svn. How do you keep the latest svn version? Is there a possibility to update or should you download and install it everytime again?
After installation of the svn or source (.bz2) do you guys alway remove the folder?
Quick svn howto :
-------------------------
1- checkout a project :
2- project update
Miscellaneous
--------------------
diffing a file or dir for creating a pacth (if you have modified the code with your own stuff):
checking changelog
updating a specific SVN revision
that's it for the main things you want to use SVN for.
-------------------------
1- checkout a project :
Code: Select all
svn co someproject target_directory
Code: Select all
cd target_directory
svn update
--------------------
diffing a file or dir for creating a pacth (if you have modified the code with your own stuff):
Code: Select all
svn diff some_file_or_some_dir > mypatch
Code: Select all
svn log some_file
Code: Select all
svn update -r revision_number some_file_or_dir_or_everything
-
studio32
thanks, great to know!thorgal wrote:yep.
actually, after you checked out the 1st time, you do ./configure && make &&sudo make install.
Later on, after you svn update, it is better to just do:
make clean && make &&sudo make install (no need to configure but clean up is always a good thing)
EDIT: how do you check if you need to update? And how many times do you update a svn?
from the top of hydrogen source tree :
but be careful, if you have added some drumkits by hand where you installed it, it will remove all the /usr/local/share/hydrogen/data area ... be warned!
Code: Select all
sudo make uninstall