Свойство | Тип | Описание | |
---|---|---|---|
$binPath | path to the 'hg' bin command. By default simple 'hg' is used assuming it available as global shell command. It could be '/usr/bin/hg' for example. |
Метод | Описание | |
---|---|---|
applyRemoteChanges ( string $projectRoot, string &$log = null ) : boolean | Applies changes from remote repository. | |
getCurrentBranch ( string $projectRoot ) : string | Returns currently active Mercurial branch name for the project. | |
hasRemoteChanges ( string $projectRoot, string &$log = null ) : boolean | Checks, if there are some changes in remote repository. |
public getCurrentBranch ( string $projectRoot ) : string | ||
$projectRoot | string | VCS project root directory path. |
Результат | string | branch name. |