Welcome To Snipplr


Everyone's Recent Bash Snippets Tagged svn



> <code>__Usage:__<br> > ./svn-export.sh [repository/subdir] [rev1] [rev2]</code>
0 10 posted 10 years ago by tcmacdonald
This is how to patch changes from svn into git (should work with other vcs as well).
0 13 posted 10 years ago by narkisr
gets the svn version of the cwd
0 13 posted 10 years ago by iloveitaly
0 10 posted 10 years ago by winstonford
Works as advertised on OS X.
0 35 posted 10 years ago by zachharkey
Using svnadmin hotcopy doesn’t require any server downtime, completes in minutes, and replicates server configuration and hook scripts.
1 11 posted 10 years ago by Mithun
svn log | sed -n '/username/,/-----$/ p'
0 9 posted 10 years ago by sonnyg
usage: dgrep foo svn://my-svn-server/trunk/my-file.txt
0 29 posted 10 years ago by hacker
usage: sgrep foo svn://my-svn-server/trunk/my-file.txt
0 28 posted 10 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 30 posted 10 years ago by zingo
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 10 posted 10 years ago by geekiuscaesar
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 12 posted 10 years ago by jasonm23
0 12 posted 10 years ago by pmaciver
Improved version of http://snipplr.com/view/15246/color-coded-svn-status/
0 14 posted 10 years ago by phalkunz
A common Drupal problem: how to save e.g. your blocks configuration without dragging an X Gig database around. A simple command that dumps a table in a way that it can be inserted into SVN. Every row is dumped as a single line, and they are sor...
1 13 posted 10 years ago by berkes
1 22 posted 10 years ago by arcturus
1 15 posted 11 years ago by wdso
Here's how you can update Textmate to include MXML
0 12 posted 11 years ago by chrisaiv
0 16 posted 11 years ago by otaqui
Copy a directory (and subdirectories) without .svn files.
0 15 posted 11 years ago by sanjivarunsahayamhotmailcom
Simple function which makes it easy to add files to svn in bash (add this to your .bashrc file).
1 13 posted 11 years ago by narkisr
Here's how to copy 2 directories and strip the .svn and .cvs nonsense, basically an export function, but locally
1 13 posted 11 years ago by vanne