diff --git a/src/Composer/Downloader/HgDownloader.php b/src/Composer/Downloader/HgDownloader.php index a7dc3b03d..d5522954d 100644 --- a/src/Composer/Downloader/HgDownloader.php +++ b/src/Composer/Downloader/HgDownloader.php @@ -51,7 +51,7 @@ class HgDownloader implements DownloaderInterface } $this->enforceCleanDirectory($path); - system(sprintf('cd %s && hg pull && hg up %s', $path, $target->getSourceReference())); + system(sprintf('cd %s && hg pull -u %s', $path, $target->getSourceReference())); } /**