I have been using svn fast and furious to do commits and, because I’m airhead, I can’t seem to remember to to “svn up” before my commits.
Does anyone know of a way in svn to enforce an “svn up” before doing a commit? I’m using svn on Ubuntu.
Many thanks!
Janie
I have been using svn fast and furious to do commits and, because I’m
Share
Create an alias for yourself in your shell. Something like this:
Or even a small shell script in your $
PATHBut how will you manage merge conflicts and compilation errors when this happens?
svn commitshould not allow you to commit (well, the server shouldn’t) unless your working copy is already up to theHEADrevision anyway. So in your current state, the worst that should be happening is your commit is rejected by the server.