composer/composer — Issue #251: Hg Driver: Using $this when not in object context
Author: bclozel
Created: 2012-01-23 17:29:57+00:00
State: open

Getting this error when running composer from bin/vendors in Symfony2:

Fatal error: Using $this when not in object context in phar://D:/workspace/myproject/composer.phar/src/Composer/Repository/Vcs/HgDriver.php on line 2

Maybe related to [issue #230](https://github.com/composer/composer/issues/230) ?
Same fix for [HgDriver](https://github.com/composer/composer/blob/master/src/Composer/Repository/Vcs/HgDriver.php#L188) ?