Ideas for SVN / WinSCP automation
I'm trying to improvise a way around my organization's lack of proper source code management (SCM). I've been using Subversion locally, and manually SFTPing changes from the server when I want to place those changes under SVN.
I keep thinking there's got to be a good way to automate this. (Never mind that installing SVN on the server would be far better; so far, that hasn't gotten anywhere.) What I'd like to do is this:
local windows prompt> svn ci foo.txt -m"This is a change."
[WinSCP goes out and gets foo.txt off the server]
Sending foo.txt
Transmitting file data .
Committed revision 1234.
[WinSCP puts the new foo.txt with embedded version info in the $Id$ keyword back on the server.]
I'd probably want to set a flag somehow to make it optional whether I get the server-side version or whether I commit the actual local file.
Any thoughts on how I might go about this? I know SVN hooks are quite powerful but I haven't really played with them. I've done a little bit of WinSCP command line scripting.
Thanks in advance.
I keep thinking there's got to be a good way to automate this. (Never mind that installing SVN on the server would be far better; so far, that hasn't gotten anywhere.) What I'd like to do is this:
local windows prompt> svn ci foo.txt -m"This is a change."
[WinSCP goes out and gets foo.txt off the server]
Sending foo.txt
Transmitting file data .
Committed revision 1234.
[WinSCP puts the new foo.txt with embedded version info in the $Id$ keyword back on the server.]
I'd probably want to set a flag somehow to make it optional whether I get the server-side version or whether I commit the actual local file.
Any thoughts on how I might go about this? I know SVN hooks are quite powerful but I haven't really played with them. I've done a little bit of WinSCP command line scripting.
Thanks in advance.