Welcome To Snipplr


Everyone's Recent Bash Snippets Tagged svn



> <code>__Usage:__<br> > ./svn-export.sh [repository/subdir] [rev1] [rev2]</code>
0 1820 posted 16 years ago by tcmacdonald
This is how to patch changes from svn into git (should work with other vcs as well).
0 1728 posted 16 years ago by narkisr
gets the svn version of the cwd
0 1725 posted 16 years ago by iloveitaly
0 1419 posted 16 years ago by winstonford
Works as advertised on OS X.
0 3166 posted 16 years ago by zachharkey
Using svnadmin hotcopy doesn’t require any server downtime, completes in minutes, and replicates server configuration and hook scripts.
1 2121 posted 16 years ago by Mithun
svn log | sed -n '/username/,/-----$/ p'
0 1491 posted 16 years ago by sonnyg
usage: dgrep foo svn://my-svn-server/trunk/my-file.txt
0 2491 posted 16 years ago by hacker
usage: sgrep foo svn://my-svn-server/trunk/my-file.txt
0 2267 posted 16 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 2181 posted 16 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 1822 posted 17 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 2014 posted 17 years ago by jasonm23
0 1744 posted 17 years ago by pmaciver
Improved version of http://snipplr.com/view/15246/color-coded-svn-status/
0 1894 posted 17 years ago by phalkunz
0 1987 posted 17 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 1763 posted 17 years ago by berkes
1 2019 posted 17 years ago by arcturus
1 1747 posted 17 years ago by wdso
0 1573 posted 17 years ago by otaqui
Copy a directory (and subdirectories) without .svn files.
0 1861 posted 17 years ago by sanjivarunsahayamhotmailcom
Simple function which makes it easy to add files to svn in bash (add this to your .bashrc file).
1 2046 posted 17 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 1969 posted 17 years ago by vanne