Welcome To Snipplr
Everyone's Recent Bash Snippets Tagged svn
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
> <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
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
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
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
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