Property | Type | Description | |
---|---|---|---|
$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. |
Method | Description | |
---|---|---|
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. |
return | string | branch name. |