Depends on payroll. A re-tool year next year after trading Edwin/Bautista rather than extending them into their late 30s would probably be the best course. Let the Donaldson era begin with new management.
That doesn't really mean anything though, at least regarding Hamels. What matters is flexibility in 2016 and 2017. If they're capped at 120M, Hamels doesn't make sense. If they can go to 150+, Hamels becomes hugely attractive.
It's hard to even comment on this because we have no idea how much payroll space is available, but Cueto and Zimmermann will cost close to 200M on long-term deals in the offseason. Getting Hamels for 4.5 years at just over 20 per year is actually quite desireable.