;ō |oPFc@sCdkZdkZd„Zd„Zd„Zd„Zd„ZdS(NcCsPtiƒ}t|ƒiƒ}|idt|ƒƒ|i|ƒ|iƒSdS(Nsblob %d( sshashsfilespathsreadsdatasupdateslens hexdigest(spathshsdata((sO/mnt/gmirror/ports/audio/ruby-xmms2/work/xmms2-0.2DrJekyll/waftools/gittools.pysgitshas   cCs‘tidƒiƒiƒ}| otdƒ‚ntiƒtidƒijoti dƒndGHt tidƒiƒƒ}||fSdS(Ns'git-rev-parse --verify HEAD 2>/dev/nullsCouldn't get hashs .git/indexs%git-update-index --refresh >/dev/nulls;NOT updating git cache, local changes might not be detectedsgit-diff-index -r HEAD( sosspopensreadsstrips commithashs ValueErrorsgetuidsstatsst_uidssystemsboolschanged(s commithashschanged((sO/mnt/gmirror/ports/audio/ruby-xmms2/work/xmms2-0.2DrJekyll/waftools/gittools.pysgit_info sc CsĘtdƒiƒidƒ}|d}t}xŽgi}|dD]}|o||ƒq@q@~D]V} | it dƒ\}}}}|djoqbnt|ƒ|jo t}PqbqbW||fSdS(Ns commithashs iiisblob(sfilesreadssplitsinfos commithashsFalseschangedsappends_[1]saslinesNonesmodestagsshaspathsgitshasTrue( sinfosaschangeds_[1]sshastagsmodespaths commithashsline((sO/mnt/gmirror/ports/audio/ruby-xmms2/work/xmms2-0.2DrJekyll/waftools/gittools.pys snapshot_infos 7  cCs8y tƒSWn&y tƒSWq4dtfSq4XnXdS(NsUnknown(sgit_infos snapshot_infosFalse(((sO/mnt/gmirror/ports/audio/ruby-xmms2/work/xmms2-0.2DrJekyll/waftools/gittools.pysget_info%s  cCs8tƒ\}}|o d}nd}d||fSdS(Ns + local changesss%s%s(sget_infos commithashschanged(s commithashschanged((sO/mnt/gmirror/ports/audio/ruby-xmms2/work/xmms2-0.2DrJekyll/waftools/gittools.pys get_info_str.s  (sossshasgitshasgit_infos snapshot_infosget_infos get_info_str(s get_info_strs snapshot_infosshasget_infosgitshasgit_infosos((sO/mnt/gmirror/ports/audio/ruby-xmms2/work/xmms2-0.2DrJekyll/waftools/gittools.pys?s