Erik de Castro Lopo mle+hs at
Sun Aug 4 03:59:22 CEST 2013

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.

Erik de Castro Lopo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-sync-all-Bail-out-if-not-on-master-branch.patch
Type: text/x-diff
Size: 937 bytes
Desc: not available
URL: <>

More information about the ghc-devs mailing list