I personally would go with the Trek. I bought a Trek 6000 and it has been a very good bike for the money. The specs between the bikes are very similar. I actually prefer mechanical brakes to hydraullic and provided you set the BB.5's up properly with fixed pad close to the rotor, they will stop abruptly. At this price point and since the components are so similiar, try to catch a test ride. Fit...I will repeat Fit is the most important thing.
Go with the bike that speaks to your heart and rides the best. To me Trek makes the best inexpensive hardtail.
Good Luck.