Changeset 333 in ProjectBuilder for devel/pb/lib/ProjectBuilder/Base.pm


Ignore:
Timestamp:
Mar 20, 2008, 11:46:35 AM (16 years ago)
Author:
Bruno Cornec
Message:

Do not call pb_cms_get_uri if not using a real CMS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/lib/ProjectBuilder/Base.pm

    r331 r333  
    11921192}
    11931193
     1194# This function is only called with a real CMS system
    11941195sub pb_cms_get_uri {
    11951196
     
    12081209    close(PIPE);
    12091210    chomp($res);
    1210 } elsif ($scheme eq "flat") {
    1211     $res = "flat";
    12121211} elsif ($scheme =~ /^cvs/) {
    12131212    # This path is always the root path of CVS, but we may be below
     
    15481547    pb_log(1,"Checking out $uri\n");
    15491548    pb_cms_checkout($scheme,$uri,$ENV{$envar});
     1549} elsif (($scheme !~ /^cvs/) || ($scheme !~ /^svn/)) {
     1550    # Do not compare if it's not a real cms
     1551    return;
    15501552} else {
    15511553    pb_log(1,"$uri found locally, checking content\n");
Note: See TracChangeset for help on using the changeset viewer.