dusty-phillips / gitifyhg

Tools for using git as a client to mercurial repositories
GNU General Public License v3.0
62 stars 17 forks source link

Add separate bin script for testing #72

Closed PaulPrice closed 11 years ago

PaulPrice commented 11 years ago

Separate pull request for bin script functionality, as requested in #58.

dusty-phillips commented 11 years ago

This is a problem that needs to be solved, and I can't think of a better way to solve it. Yet I feel like there ought to be a more elegant solution. This is really a result of how stupid the various Python packaging solutions are right now.

The test suite uses gitifyhg:: paths, so it would still be picking up the wrong executable, right?

I wonder if storing this script in test/ instead of bin/ would make more sense; it would highlight that it is meant for development only, and could also be called by the test infrastructure to make sure tests aren't relying on system python. But if we're going to start working with that, we should probably get the sharness PR (#68) sorted out first.

I'm going to leave this open for a bit. If I don't wake up at 2AM with a Eureka moment, I'll merge it. ;-)

dusty-phillips commented 11 years ago

closing as this has been merged into the sharness branch, which should be going to master soon.