프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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. |