svn triks

SVN commands

Create Repo

svnadmin create <repo name>


svn checkout or
svn co<port>/svn/ltm-cg
svn co file:///svn/ltm-cg

Updating revision

svn update

Status check

svn status

Adding to new version

svn add <name> or svn add *

Deleting an item from revision

svn del <what u want to del>

Committing new revision

svn commit -m “any comment”

Ignoring unrevisioned  item during svn status check

First go to the svn directory where you want to ignore.

svn propset svn:ignore <give a suitable name> .

and you will find a message like ” property ‘svn:ignore’ set on ‘.’ ”

Now to edit this property file first export EDITOR=vi and the run

svn propedit svn:ignore <you just give name with propset>

To delete a ignore property – svn propdel svn:ignore <prop file name>

To view the property list – svn propget svn:ignore <prop file name>

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: