Bug 243996 cvs log for a revision should actually track a branch tied to the revision instead of tracking head

fixing regexp for rev to not make the entire string optional, it was supposed to be looking for at least one digit followed by optional decimal digits.
r=justdave
This commit is contained in:
timeless%mozdev.org 2006-01-13 21:21:39 +00:00
parent cb2ef39089
commit 5f0f0ead3b

View File

@ -81,7 +81,7 @@ $::opt_rev = &SanitizeRevision($::FORM{'rev'}) if
my $revstr = '';
$revstr = "&rev=$::opt_rev" unless $::opt_rev eq '';
my $browse_revtag = 'HEAD';
$browse_revtag = $::opt_rev if ($::opt_rev =~ /[A-Za-z]|^\d*(?:\.\d+)*$/);
$browse_revtag = $::opt_rev if ($::opt_rev =~ /[A-Za-z]|^\d+(?:\.\d+)*$/);
my $revision = '';