#NEWLINE# def get_affected_files( self , revision ) : #NEWLINE# #INDENT# cmd = ( "hg log -r %s --template '{files}'" % revision ) #NEWLINE# ( code , output , _ ) = run_shell_command ( cmd , shell = True , cwd = self . _path ) #NEWLINE# affected = [ ] #NEWLINE# if ( code == 0 ) : #NEWLINE# #INDENT# affected = output . split ( ' ' ) #NEWLINE# #UNINDENT# return revision