-1
votes
0answers
11 views

Subversion (SVN) Hookscript for commit messages change (pre-revprop-change) with log

because I couldn't find a useful hookscript for pre-revprop-change with logging and I think my script is a good start point for others, here it's. #!/bin/bash # Requires # Bash (tested with 4.1.2) # ...
0
votes
1answer
32 views

How To Find SVN on my Mac

I'm very wet behind the ears on my Mac as I'm a windows developer. I'm trying to find out if I have SVN installed and where it is but I cannot even figure out this basic task. I've got a terminal ...
1
vote
1answer
118 views

Disabling “oh-my-zsh” SVN completion

I am using Zsh version: 4.3.11 with the oh-my-zsh framework. When coupled with "oh-my-zsh", Zsh will attempt to autocomplete SVN (and Git for that matter) commands when the TAB key is pressed during ...
0
votes
0answers
27 views

Remote URL Completion in Bash

I'm currently adding support for remote url completion for svn in Bash. I'm currently using a modified bash-completion-svn that figures out when to trigger the completion on URls looking like ...
1
vote
1answer
98 views

Piping svn diff produces ESC characters (OS X 10.7.5)

Why is it that when I pipe svn diff output to, say less, I get a bunch of ESC characters? $ svn diff | less Index: test/unit/tour_guide_tip_test.rb ...
0
votes
3answers
954 views

How do I parse a line thorugh a file in bash

I am very new to shell scripting I had a small query regarding the file parsing. So, here's what I am trying to do: I run an svn merge command, and genaratea conflict file my conflict file is ...
0
votes
1answer
168 views

output of `svn status -uq` has no newlines in script

function runstatus { echo "SVN Status -uq:" echo status=$(svn status -uq) echo $status echo $bigline } This prints something like: SVN Status -uq: rd_backup ...
0
votes
2answers
892 views

svn - command line - Is there a script or command that will commit every changes?

By "every change" I mean TortoiseSVN's "Commit" button. It removes the deleted files, adds new ones, and commit the changes. At least these are the ones I know of, but there may be others as well. (I ...
1
vote
0answers
94 views

Remote Subversion URL Completion in Bash

Has anybody added Bash completion support for remote urls in svn commands? It could typically be implemented through parsing of calls to svn ls.
2
votes
4answers
1k views

Format SVN Log Output

I would like to fetch the log message for a file committed to svn. I'm using the following command currently: svn --non-interactive log "myfile.c" | sed -e "s/[\-]//g"' The output is : r42153 ...
0
votes
1answer
177 views

Program/script to 'walk' through svn revision history

Looking for a program, or script, I can use to easily 'walk' through an SVN revision history for a specific file. Anyone know if this exists? Can I achieve this with the command line client for svn? ...
0
votes
1answer
348 views

List all SVN repository URLs from a folder in recursive mode

We are looking for a script that will traverse in recursive mode all subfolders and list all SVN repository URLs and the path where it was found. It will be used on /home folder of a user.
0
votes
1answer
121 views

ssh pubkey auth in subshell

Why is this not working: svnout="$(/usr/bin/svn log -qr HEAD svn+ssh://user@ftp/repo)" The problem seems to be the subshell. Why? Public key auth is correctly set up and works fine without the ...
1
vote
2answers
577 views

shell script post commit hook that just does date > /tmp/post-commit.log nothing is written to log file

I installed svn server with apache 2 on ubuntu 10 i have created a post-commit.sh with a single 2 lines of code repository/hooks/post-commit.sh: #!/bin/sh date > /tmp/post-commit.log nothing ...
1
vote
0answers
308 views

Subversion URL bash completion

I found the below script and sourced it correctly, and it successfully bash completes my commands, but isn't working for my URLs. I'm using OSX Snow Leopard and 3.2.48 and I've been using the normal ...
0
votes
2answers
759 views

backup svn script on linux does not work?

I have a script that runs on Linux Ubuntu Server every dat at 5am. This script backups all my SVN in this way: #!/bin/bash svnadmin dump /home/xxx/svn/p1 > /home/xxx/svn-backup/p1 svnadmin dump ...