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 {} \;
2 Comments »

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 packager.pl jus5


#!/usr/bin/perl
#Package a Sourceforge project from its SVN source.

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

$project=$ARGV[0];
#$project='jus5';

`svn checkout https://$project.svn.sourceforge.net/svnroot/$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 https://nexty.svn.sourceforge.net/svnroot/nexty
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 https://nexty.svn.sourceforge.net/svnroot/nexty

Checkout

svn checkout https://nexty.svn.sourceforge.net/svnroot/nexty [<folder>]

Update

svn update

2 Comments »