
Erik de Castro Lopo wrote:
Simon Peyton-Jones wrote:
I'd done that (repeatedly). BUT, as has often happened before, I'd forgotten that my tree was on a different branch, and pulling of course has no effect on the branch. Rats. Note to self: whenever anything odd happens, check you are on 'master'.
Better yet, the sync-all script should detect whether it is on master and error out (with a decent error message) if not.
That way you (and I and others) don't have to remember this particular failure mode.
My Perl coding skills are rather rusty, but I'll have a go at this.
Attached is a patch that checks that the current branch is master and bails if it isn't. If no one sees anything obviously wrong with this I'll push it. Cheers, Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/