This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
subversion [2009/03/30 03:26] k2patel |
subversion [2009/03/30 03:29] k2patel |
||
---|---|---|---|
Line 141: | Line 141: | ||
- | + | <code text | SVN Access with SSH wrapper> | |
- | SVN Access with SSH wrapper | + | |
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | + | |
- | *************************** | + | |
URI - svn+ssh://{SSHUSERNAME}@{SERVER_NAME}/{REPO_DIR} | URI - svn+ssh://{SSHUSERNAME}@{SERVER_NAME}/{REPO_DIR} | ||
- | e.g. svn co svn+ssh://yepmobi@yepmobile.webair.com/usr/www/virtual/yepmobi/track.yeprevenue.com/svn | + | e.g. svn co svn+ssh://username@xyz.k2patel.com/srv/www/svn |
+ | </code> | ||
Wrapper script for svnserve | Wrapper script for svnserve | ||
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | + | <code text> |
- | *************************** | + | |
First of all, rename the original svnserve command into svnserve.bin | First of all, rename the original svnserve command into svnserve.bin | ||
(it usually resides in /usr/bin/svnserve) | (it usually resides in /usr/bin/svnserve) | ||
Line 163: | Line 157: | ||
Save the file as "svnserve", being the root superuser. | Save the file as "svnserve", being the root superuser. | ||
+ | </code> | ||
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | + | <code bash | svnserve> |
#!/bin/sh | #!/bin/sh | ||
# wrap in order to put root in by default | # wrap in order to put root in by default | ||
Line 170: | Line 165: | ||
exec /usr/local/bin/svnserve.bin -r /path/to/repository/root "$@" | exec /usr/local/bin/svnserve.bin -r /path/to/repository/root "$@" | ||
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | + | </code> |