Changeset 736 in ProjectBuilder for devel/pb/lib/ProjectBuilder/CMS.pm


Ignore:
Timestamp:
Mar 12, 2009, 2:51:00 AM (15 years ago)
Author:
Bruno Cornec
Message:

Fix #35 by forcing the usage of a -r release option, and by exporting only that version tree from the VCS.

File:
1 edited

Legend:

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

    r681 r736  
    620620        pb_mkdir_p("$ENV{$envar}");
    621621    } else {
     622        # Either we have a version in the uri, and it should be the same
     623        # as the one in the envar. Or we should add the version to the uri
     624        if (basename($uri) ne basename($ENV{$envar})) {
     625            $uri .= "/".basename($ENV{$envar})
     626        }
    622627        pb_log(1,"Checking out $uri\n");
    623628        pb_cms_checkout($scheme,$uri,$ENV{$envar});
Note: See TracChangeset for help on using the changeset viewer.