Welcome To Snipplr


Everyone's Recent Bash Snippets Tagged svn



> <code>__Usage:__<br> > ./svn-export.sh [repository/subdir] [rev1] [rev2]</code>
0 616 posted 14 years ago by tcmacdonald
This is how to patch changes from svn into git (should work with other vcs as well).
0 634 posted 14 years ago by narkisr
gets the svn version of the cwd
0 556 posted 14 years ago by iloveitaly
0 419 posted 14 years ago by winstonford
Works as advertised on OS X.
0 768 posted 14 years ago by zachharkey
Using svnadmin hotcopy doesn’t require any server downtime, completes in minutes, and replicates server configuration and hook scripts.
1 683 posted 14 years ago by Mithun
svn log | sed -n '/username/,/-----$/ p'
0 482 posted 14 years ago by sonnyg
usage: dgrep foo svn://my-svn-server/trunk/my-file.txt
0 839 posted 14 years ago by hacker
usage: sgrep foo svn://my-svn-server/trunk/my-file.txt
0 790 posted 14 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 850 posted 14 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 568 posted 14 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 679 posted 14 years ago by jasonm23
0 592 posted 14 years ago by pmaciver
Improved version of http://snipplr.com/view/15246/color-coded-svn-status/
0 605 posted 14 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 585 posted 15 years ago by berkes
1 740 posted 15 years ago by arcturus
1 604 posted 15 years ago by wdso
0 513 posted 15 years ago by otaqui
Copy a directory (and subdirectories) without .svn files.
0 582 posted 15 years ago by sanjivarunsahayamhotmailcom
Simple function which makes it easy to add files to svn in bash (add this to your .bashrc file).
1 693 posted 15 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 693 posted 15 years ago by vanne