mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
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:
parent
cb2ef39089
commit
5f0f0ead3b
@ -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 = '';
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user