Welcome To Snipplr


Everyone's Recent Snippets Tagged svn



> <code>__Usage:__<br> > ./svn-export.sh [repository/subdir] [rev1] [rev2]</code>
0 1949 posted 16 years ago by tcmacdonald
Can be used on any machine with PERL installed. Just execute this script in the directory and it will remove .svn folders recursively
0 2230 posted 16 years ago by TEHEK
This is how to patch changes from svn into git (should work with other vcs as well).
0 1835 posted 16 years ago by narkisr
2 4162 posted 16 years ago by jmiller
gets the svn version of the cwd
0 1825 posted 16 years ago by iloveitaly
0 1513 posted 16 years ago by winstonford
Works as advertised on OS X.
0 3274 posted 16 years ago by zachharkey
I recently had to remove some files from a svn repo. should work pretty much out of the box, just fill in blatantly exampleish text and read the comments
0 1994 posted 16 years ago by spreelanka
0 4098 posted 16 years ago by obi
Using svnadmin hotcopy doesn’t require any server downtime, completes in minutes, and replicates server configuration and hook scripts.
1 2227 posted 16 years ago by Mithun
This is useful if you do not currently have a trunk/branch structure and would like to move everything into a new trunk.
0 4118 posted 17 years ago by jmiller
svn log | sed -n '/username/,/-----$/ p'
0 1591 posted 17 years ago by sonnyg
usage: dgrep foo svn://my-svn-server/trunk/my-file.txt
0 2607 posted 17 years ago by hacker
usage: sgrep foo svn://my-svn-server/trunk/my-file.txt
0 2387 posted 17 years ago by hacker
Put this into your ~/.bashrc script and you should see the Git/SVN status in your prompt if your working directory is a sandbox.
0 2291 posted 17 years ago by zingo
0 3979 posted 17 years ago by randyjhunt
En este ejemplo, las uri apuntan hacia los dos working copy's pero pueden apuntar también hacia URL's de repositorio.
0 3807 posted 17 years ago by delm
0 4098 posted 17 years ago by ttr738
0 4143 posted 17 years ago by ttr738
sed is required because hg status returns paths with \ (backslash) instead of / (slash). I'm using the Windows version of Mercurial, in a linux version you can omit the sed part.
0 1941 posted 17 years ago by geekiuscaesar
0 4274 posted 17 years ago by paulbooker
Assuming you have a set of svn project folders inside a parent (only folders in parent) you can do a simple backtick `ls` to get the folder names for svn...
0 2119 posted 17 years ago by jasonm23
0 1845 posted 17 years ago by pmaciver
Improved version of http://snipplr.com/view/15246/color-coded-svn-status/
0 1995 posted 17 years ago by phalkunz
0 2216 posted 17 years ago by pauljmartinez