Changeset 2116 in ProjectBuilder


Ignore:
Timestamp:
Jul 22, 2016, 12:17:15 PM (5 years ago)
Author:
Bruno Cornec
Message:
  • Reduce git commit ID to 8 digits
Location:
devel/pb
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r2113 r2116  
    11131113
    11141114        pb_log(0,"\n");
    1115         pb_log(0,"Management of $pbpkg $pbver-$pbtag (rev $pbrev)\n");
     1115        pb_log(0,"Management of $pbpkg $pbver-$pbtag\n");
    11161116        die "Unable to get env var PBDESTDIR" if (not defined $ENV{'PBDESTDIR'});
    11171117
  • devel/pb/lib/ProjectBuilder/CMS.pm

    r2032 r2116  
    114114        $tmp = `(cd "$ENV{'PBDIR'}" ; $vcscmd log | head -1 | cut -f2)`;
    115115        $tmp =~ s/^.* //;
     116        # Reduce length of commit id to 8 digit
     117        $tmp = substr($tmp,1,8);
    116118    }
    117119    chomp($tmp);
Note: See TracChangeset for help on using the changeset viewer.