projects
/
diogenes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reduce webserver logging of RCS operations
[diogenes.git]
/
include
/
diogenes.rcs.inc.php
diff --git
a/include/diogenes.rcs.inc.php
b/include/diogenes.rcs.inc.php
index
070a887
..
090d6b5
100644
(file)
--- a/
include/diogenes.rcs.inc.php
+++ b/
include/diogenes.rcs.inc.php
@@
-118,7
+118,7
@@
class DiogenesRcs extends DiogenesSpool {
{
$this->info("RCS : checkout out $file ($rev)..");
$rfile = $this->rcsFile($dir,$file);
{
$this->info("RCS : checkout out $file ($rev)..");
$rfile = $this->rcsFile($dir,$file);
- if ($this->cmdExec("co -r".escapeshellarg($rev)." ".escapeshellarg($rfile)." ".escapeshellarg("$output/$file")))
+ if ($this->cmdExec("co -
q -
r".escapeshellarg($rev)." ".escapeshellarg($rfile)." ".escapeshellarg("$output/$file")))
{
$this->info("RCS : Error, checkout failed!");
$this->info($this->cmdStatus());
{
$this->info("RCS : Error, checkout failed!");
$this->info($this->cmdStatus());
@@
-154,7
+154,7
@@
class DiogenesRcs extends DiogenesSpool {
// if the RCS file does not exist, create it
if (!file_exists($rfile)) {
// if the RCS file does not exist, create it
if (!file_exists($rfile)) {
- if ($this->cmdExec("
rcs
-i ".escapeshellarg($rfile)))
+ if ($this->cmdExec("
echo '' | rcs -q
-i ".escapeshellarg($rfile)))
{
// error
$this->info("RCS : Error, could not initialise RCS file '$rfile'!");
{
// error
$this->info("RCS : Error, could not initialise RCS file '$rfile'!");
@@
-164,7
+164,7
@@
class DiogenesRcs extends DiogenesSpool {
}
// lock the spool file
}
// lock the spool file
- if ($this->cmdExec("co -l ".escapeshellarg($rfile)." ".escapeshellarg($sfile)))
+ if ($this->cmdExec("co -
q -
l ".escapeshellarg($rfile)." ".escapeshellarg($sfile)))
{
// error
$this->info("RCS : Error, could not get RCS lock on file '$file'!");
{
// error
$this->info("RCS : Error, could not get RCS lock on file '$file'!");
@@
-175,7
+175,7
@@
class DiogenesRcs extends DiogenesSpool {
fwrite($fp,$content);
fclose($fp);
fwrite($fp,$content);
fclose($fp);
- if ($this->cmdExec("ci -w".escapeshellarg($this->login). ($message ? " -m".escapeshellarg($message) : "").
+ if ($this->cmdExec("ci -
q -
w".escapeshellarg($this->login). ($message ? " -m".escapeshellarg($message) : "").
" ". escapeshellarg($sfile). " ". escapeshellarg($rfile)))
{
// error
" ". escapeshellarg($sfile). " ". escapeshellarg($rfile)))
{
// error
@@
-184,7
+184,7
@@
class DiogenesRcs extends DiogenesSpool {
return false;
}
return false;
}
- if ($this->cmdExec("co ".escapeshellarg($rfile)." ".escapeshellarg($sfile)))
+ if ($this->cmdExec("co
-q
".escapeshellarg($rfile)." ".escapeshellarg($sfile)))
{
// error
$this->info("RCS : Error, checkout after checkin failed!");
{
// error
$this->info("RCS : Error, checkout after checkin failed!");