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


git-svn-id: svn://10.0.0.236/trunk@187596 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
timeless%mozdev.org 2006-01-13 21:21:39 +00:00
parent d0a0878969
commit df3a4f2b8b

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 = '';