svn gedit svn:externals ./Gedit is the editor that you will see the external repository information, do the nessasary change and save to change the edit external svn repositories
Search This Blog
Showing posts with label svn. Show all posts
Showing posts with label svn. Show all posts
Wednesday, October 5, 2011
How to remove or edit external svn repositories
Tuesday, February 15, 2011
How to get svn diff file and apply patch file
Get as a patch file
apply the patch file
>svn diff -r 6738:6739>mychange.diff
apply the patch file
>patch -p0 -i mychange.diff
How to get a svn diff form a specific revision
If you want to get the changed file list
example
Get as a patch file
apply the patch file
>svn diff -r REVNO:HEAD --summarize
example
>svn diff -r 6738:6739 --summarize
Get as a patch file
>svn diff -r 6738:6739>mychange.diff
apply the patch file
>patch -p0 -i mychange.diff
Friday, January 28, 2011
SVN revert recursively
svn revert --recursive .
Tuesday, December 14, 2010
Recursively deletes subversion .svn folders in ubuntu
First we find the .svn folders, then we use rm to remove those folders . There are 2 methods to do this.Type this in shell
Method -1
Method -1
$ find . -name ".svn" -exec rm -rf {} \;
Method -2$ rm -rf `find . -type d -name .svn`
Thursday, October 21, 2010
How to import project to SVN
This is useful if you want to move a copy of existing svn
directory to another svn directory
directory to another svn directory
$ svn import -m "Adding the new file"
ourProject http://yourserver/repos/
Friday, October 15, 2010
How to create a new svn project and upload files
First create a new directory by issuing this command in the terminal
now go to your working directory
>svn mkdir -m "message"
http://svnserver.com/repos/abc
now go to your working directory
abc>svn import -m "message"
http://svnserver.com/repos/abc-m has the comment you can write anything inside
Tuesday, October 5, 2010
How to revert svn repository to previous version number
svn merge -rHEAD:4130 .
How to svn check out from a specific revision number
svn co -r REVISION SOURCE
How to rename svn repository
If you want to rename a svn repository you can use either of these commands
svn move SOURCE DESTINATION svn rename SOURCE DESTINATION
Subscribe to:
Posts (Atom)