Posts Tagged With: svn

Remove SVN Info from a Folder

Tagged with: , , , ,

This command removes the SVN data from a folder.

find -name .svn -exec rm -rf {} \;

Creating a SVN Tag

Tagged with: , , , ,

Creating a tag in SVN means that you copy the entire trunk to another folder in the ‘tags’ folder…

svn copy trunk/ tags/TAG_NAME
No Comments »

Some File Operation in SVN

Tagged with: , , , , , , ,

Moving, Coping and Deletion

svn mv file.php to_folder/        #Move
svn cp file.php to_folder/         #Copy
svn rm file.php                          #Deletion
No Comments »

SourceForge Project Packager – from SVN source

Tagged with: , , , , , ,

This script will package your SVN code to a tar.gz file. Just give the name of the project as the first argument. Like this…

perl jus5

#Package a Sourceforge project from its SVN source.

die("Please provide the name of the project as the argument") unless($ARGV[0]);


`svn checkout https://$$project`;
`find $project/ -name .svn -exec rm -rf {} \\;`;
`tar -czf $project.tar.gz $project/`;
`rm -rf $project/`;
No Comments »

Packaging a Subversion Project

Tagged with: , , , , ,

This is the method that I use to package a SVN Project. For CVS projects, the code is slightly different. Please note that the second line requires bash to work.

This is how I packaged nexty

svn checkout
find nexty/ -name .svn -exec rm -rf {} \;
tar -czf nexty.tar.gz nexty/
rm -rf nexty/
1 Comment »

Using Subversion – Import, Checkout and Update

Tagged with: , , , , , , ,

Import/New Project

svn import <Folder> <Repository>

Online Repository Example

svn import Nexty


svn checkout [<folder>]


svn update