code: def get_file_contents(filename, revision="tip"):
      hg_out = run_mercurial_command(
          "cat -r %s %s" % (revision, filename)
      )
      return hg_out
  
imports: from __future__ import absolute_import, print_function, division
  import difflib
  import operator
  import os
  import string
  from subprocess import Popen, PIPE
  import sys
  import tabnanny
  import tokenize
  import reindent
  from six import StringIO
label_desc: Use image node_id 11 for calling a global function with example usage: get_file_contents(filename, revision) and returns: hg_out