I'm finding myself in the situation where a client has provided us with a computer that I can use to VPN into their network in order to access their SVN repo. But we can't all be doing our development on that computer so we exported "our branch" and then imported it into our own SVN repo. Since the client doesn't really care about our day-to-day work we are planning to simply drop in large changesets at convenient times. This would all work, I'm sure of that.
Lately I have been wondering if there's any easy way of getting changesets (i.e. diff + message) out of our SVN, and then replay that into the client's SVN. Similar to what git format-patch
and git am
allows.
From looking at svn log --diff
it looks like it would be possible, but I'd have to whip up some script to separate the output into a patch (to be applied using svn patch
) and a commit message (to be supplied to svn commit -F
). I'm hoping there's a solution that doesn't require me writing such a script though ;)