Changeset e91599d1e782e46c10017f061273bd9e3d5b6dd7

Show
Ignore:
Timestamp:
05/22/08 20:36:01 (6 years ago)
Author:
Mark Harrison <mark@omniti.com>
git-committer:
Mark Harrison <mark@omniti.com> 1211488561 +0000
git-parent:

[9e4634564570c8a1a91274520a3547ab2f2b8e36]

git-author:
Mark Harrison <mark@omniti.com> 1211488561 +0000
Message:

Minor change to how a revision is shown if the svn info command fails.

git-svn-id: https://labs.omniti.com/resmon/trunk@112 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lib/Resmon/Module/RESMON.pm

    rc9675cb re91599d  
    3333    } 
    3434    my $output = cache_command("$svn info $resmon_dir 2>&1", 600); 
    35     my $revision = 0
     35    my $revision = "svn revision unknown"
    3636    for (split(/\n/, $output)) { 
    3737        if (/^Revision:\s*(\d*)$/) { $revision = "r$1"; }