commit
b8bcc375fc
|
@ -90,9 +90,9 @@ class RuleWatchNode
|
||||||
{
|
{
|
||||||
if ($this->watch1 == $literal) {
|
if ($this->watch1 == $literal) {
|
||||||
return $this->watch2;
|
return $this->watch2;
|
||||||
} else {
|
|
||||||
return $this->watch1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return $this->watch1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -70,9 +70,9 @@ class HgExcludeFilter extends BaseExcludeFilter
|
||||||
|
|
||||||
if ($this->patternMode == self::HG_IGNORE_GLOB) {
|
if ($this->patternMode == self::HG_IGNORE_GLOB) {
|
||||||
return $this->patternFromGlob($line);
|
return $this->patternFromGlob($line);
|
||||||
} else {
|
|
||||||
return $this->patternFromRegex($line);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return $this->patternFromRegex($line);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -425,7 +425,8 @@ class Perforce
|
||||||
$path = $identifier. '/' . $file;
|
$path = $identifier. '/' . $file;
|
||||||
|
|
||||||
return $path;
|
return $path;
|
||||||
} else {
|
}
|
||||||
|
|
||||||
$path = substr($identifier, 0, $index) . '/' . $file . substr($identifier, $index);
|
$path = substr($identifier, 0, $index) . '/' . $file . substr($identifier, $index);
|
||||||
$command = $this->generateP4Command(' files ' . $path, false);
|
$command = $this->generateP4Command(' files ' . $path, false);
|
||||||
$this->executeCommand($command);
|
$this->executeCommand($command);
|
||||||
|
@ -440,7 +441,6 @@ class Perforce
|
||||||
return substr($identifier, 0, $index) . '/' . $file . '@' . $fields[1];
|
return substr($identifier, 0, $index) . '/' . $file . '@' . $fields[1];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue