task#4364 - support branches with slashes
Compare changes
- hahn authored
@@ -102,6 +102,11 @@ class vcs implements iVcs {
@@ -102,6 +102,11 @@ class vcs implements iVcs {
@@ -213,7 +218,7 @@ class vcs implements iVcs {
@@ -213,7 +218,7 @@ class vcs implements iVcs {
@@ -227,8 +232,10 @@ class vcs implements iVcs {
@@ -227,8 +232,10 @@ class vcs implements iVcs {
@@ -236,9 +243,9 @@ class vcs implements iVcs {
@@ -236,9 +243,9 @@ class vcs implements iVcs {
@@ -257,14 +264,14 @@ class vcs implements iVcs {
@@ -257,14 +264,14 @@ class vcs implements iVcs {
$this->log(__FUNCTION__ . ' loop over output of git ls-remote <pre>'.print_r($sBranchLine, 1).'</pre>');
// http://stackoverflow.com/questions/15472107/when-listing-git-ls-remote-why-theres-after-the-tag-name
@@ -419,11 +426,11 @@ class vcs implements iVcs {
@@ -419,11 +426,11 @@ class vcs implements iVcs {
@@ -490,7 +497,7 @@ class vcs implements iVcs {
@@ -490,7 +497,7 @@ class vcs implements iVcs {
@@ -499,18 +506,18 @@ class vcs implements iVcs {
@@ -499,18 +506,18 @@ class vcs implements iVcs {
$sGitCmd .= 'echo git clone "' . $this->getUrl() . '" "'.$sWorkDir.'" 2>&1 \&\& cd "'.$sWorkDir.'" \&\& git checkout "' . $sBranchname . '" ; ';
$sGitCmd .= ' git clone "' . $this->getUrl() . '" "'.$sWorkDir.'" 2>&1 && cd "'.$sWorkDir.'" && git checkout "' . $sBranchname . '" 2>&1 ';