Created
March 28, 2013 14:15
-
-
Save unhammer/5263434 to your computer and use it in GitHub Desktop.
encrypted svn passwords without "wallets"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# stuff | |
[alias] | |
svndcommit = !sh -c 'svnauth && git svn dcommit' | |
svnrebase = !sh -c 'svnauth && git svn rebase' | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
! test -d $HOME/.subversion/auth.encrypted || | |
test -d $(readlink -f $HOME/.subversion/auth) || | |
encfs --idle=30 $HOME/.subversion/auth.encrypted $HOME/.subversion/auth.decrypted |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment