> I would love to try the nightly build but unfortunately they have CVS (and
> all other non standard ports) blocked at our firewall at this location.
> Everything is set up to read that directory and permissions appear to be
> what they should.  It is writing the revisions as it should, it just isn't
> reading them.
That is the point. Revision are saved but not read due to a strage change
someone introduced. Lets fix it manually :-)

1. Go to /AegirCore/lib/rc_functions snippet and find function
rcs_gethistrory arounf line no.250

250: function rcs_gethistory($what)
251: {
252:     global $argv;
253:     $history = rcs_exec('rlog "'.$what.',v"');
254:     $lines = explode("\n", $history);
255:     for ($i=0; $i < count($lines); $i++) {
256:         if (substr($lines[$i], 0, 9) == "revision ") {
257:             $currentrev = substr($lines[$i], 9);
//ereg_replace("^revision ", "",  $lines[$i]);
258:             $i += 2;
259:             while ($i < count($lines) and !substr($lines[$i], 0, 4) ==
'----' and !substr($lines[$i], 0, 5) == '=====') {
260:                 $revisions[$currentrev] .= $lines[$i]." ";
261:                 $i++;
262:             }
263:         }
264:     }
265:     return $revisions;
266: }

2. change line #259 to:

259:             while ($i < count($lines) && substr($lines[$i], 0, 4) !=
'----' && substr($lines[$i], 0, 5) != '=====') {

and save it.

I don;t really know what was the idea of replacing prevoiusly used ereg()
but anyway line #259 has a logic bug.

BTW. I'll fix it in CVS in a minute

Solt


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to