old_contents: #!/usr/bin/env python
  
  import os
  
  component = os.getenv("COMPONENT")
  
  if component == "ocaml":
      print "/repos/xen-dist-ocaml.hg"
  if component == "api-libs":
      print "/repos/xen-api-libs-specs"
  
  
new_contents: #!/usr/bin/env python
  
  import os
  
  component = os.getenv("COMPONENT")
  
  if component == "ocaml":
      print "/repos/xen-dist-ocaml.hg"
  if component == "api-libs":
      print "/repos/xen-api-libs-specs"
  if component == "perf-tools":
      print "/repos/perf-tools"
  
  
subject: Add perf-tools to get_config_dir.py