Hi Stefan,
  I follow your guideline to get the REV.but when i prepare_port the port file.
   It report  errors that  fatal: reference is not a tree:     6241b87eb37b9cfe7b063f0054732bf2c7686202
  how can i to solve it?
    thanks

2015-03-29 20:46 GMT+08:00 Lee gary <11430erwin@...9...>:
Hi all.
   I know  the REV(git)  in the port file is  hash of the current version.but i don't know  how to get the value of  REV?  

  Thanks