Just wanted to the share this as I was quite annoyed with my issue. All of a sudden my Android version (still on 0.13.7) became incompatible with my OS X version (upgraded to 0.14.0).
My aim was then to downgrade on OS X to match the Android version, here is how I did this:
rm -rf /usr/local/Cellar/syncthing/0.14.0/ cd $(brew --prefix)/Library/Formula git checkout 534f02e syncthing.rb brew upgrade syncthing git reset HEAD syncthing.rb git checkout -- syncthing.rb
- Uninstall the latest, in my case 0.14.0.
- Checkout the target revision of syncthing.rb.
I wanted 0.13.7 so that’s commit
534f02e...if you scroll down.
- Ask for upgrade: Homebrew will do it based on the checked out version of Library/Formula/syncthing.rb, so now the one pointing to 0.13.7.
- Revert to the latest commit. This means that a further upgrade would make Homebrew install 0.14.0 again.
And now my Mac and my Android handset sync again! I hope this will help other Homebrew OS X users.