зеркало из https://github.com/mozilla/pjs.git
Bug 316289 cvsview2.cgi problems due to new cvs version
r=kairo
This commit is contained in:
Родитель
676740b429
Коммит
e022bf91b1
|
@ -290,6 +290,8 @@ sub parse_rcs_tree {
|
|||
undef %::prev_delta;
|
||||
undef %::next_delta;
|
||||
undef %::last_revision;
|
||||
# until we use commitid
|
||||
my $commitid;
|
||||
|
||||
while (1) {
|
||||
$revision = &get_token;
|
||||
|
@ -361,13 +363,21 @@ sub parse_rcs_tree {
|
|||
$::prev_revision{$next} = $revision;
|
||||
}
|
||||
}
|
||||
if (($token = &get_token) eq 'commitid') {
|
||||
$commitid = &get_token;
|
||||
&match_token(';');
|
||||
} else {
|
||||
&unget_token($token);
|
||||
}
|
||||
|
||||
if ($debug >= 3) {
|
||||
print "<pre>revision = $revision\n";
|
||||
print "date = $date\n";
|
||||
print "author = $author\n";
|
||||
print "branches = $branches\n";
|
||||
print "next = $next</pre>\n\n";
|
||||
print "next = $next\n";
|
||||
print "commitid = $commitid\n" if defined $commitid;
|
||||
print "</pre>\n\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче