Merge pull request #2921 from schmkr/svn-driver-patch
Updating SvnDriver trunk revision checkpull/2931/head
commit
7b487360e3
|
@ -207,7 +207,7 @@ class SvnDriver extends VcsDriver
|
||||||
foreach ($this->process->splitLines($output) as $line) {
|
foreach ($this->process->splitLines($output) as $line) {
|
||||||
$line = trim($line);
|
$line = trim($line);
|
||||||
if ($line && preg_match('{^\s*(\S+).*?(\S+)\s*$}', $line, $match)) {
|
if ($line && preg_match('{^\s*(\S+).*?(\S+)\s*$}', $line, $match)) {
|
||||||
if (isset($match[1]) && isset($match[2]) && $match[2] === 'composer.json') {
|
if (isset($match[1]) && isset($match[2]) && $match[2] === './') {
|
||||||
$this->branches['trunk'] = $this->buildIdentifier(
|
$this->branches['trunk'] = $this->buildIdentifier(
|
||||||
'/' . $this->trunkPath,
|
'/' . $this->trunkPath,
|
||||||
$match[1]
|
$match[1]
|
||||||
|
|
Loading…
Reference in New Issue