Commits

Anonymous committed e3764ea

* Added --cwd option to commands to ensure they work with globs and other file patterns.

--cwd sets the repository root, which --repository ought to already do.

  • Participants
  • Parent commits a736f95

Comments (0)

Files changed (3)

File Trunk/VersionControl/Hg/Command/Archive.php

             array(
                 'noninteractive' => null,
                 'repository' => $this->hg->getRepository()->getPath(),
+                'cwd' => $this->hg->getRepository()->getPath(),
             )
         );
 

File Trunk/VersionControl/Hg/Command/Log.php

             array(
                 'noninteractive' => null,
                 'repository' => $this->hg->getRepository()->getPath(),
+                'cwd' => $this->hg->getRepository()->getPath(),
             )
         );
 

File Trunk/VersionControl/Hg/Command/Status.php

             array(
                 'noninteractive' => null,
                 'repository' => $this->hg->getRepository()->getPath(),
+                'cwd' => $this->hg->getRepository()->getPath(),
             )
         );