#NEWLINE# @ property #NEWLINE# def revision( self ) : #NEWLINE# #INDENT# ( code , output , error ) = self . execute ( [ 'hg' , 'identify' , '--id' ] , cwd = output . path , log_errors = True ) #NEWLINE# return ( output . strip ( ) if ( code == 0 ) else None )