Per Bernhardt пре 13 година
родитељ
комит
ee508725c6
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/Composer/Downloader/HgDownloader.php

+ 1 - 1
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()));
     }
 
     /**