def hg_file_finder(dirname='.'):
 if (not dirname):
  dirname = '.'
 if (hg is None):
  return find_files_with_cmd(dirname)
 return find_files_with_lib(dirname)

def hg_file_finder ( dirname = '.' ) : if ( not dirname ) : dirname = '.' if ( hg is None ) : return find_files_with_cmd ( dirname ) return find_files_with_lib ( dirname )
find the files in dirname under mercurial version control .