code: def save_commit_message(filename):
      commit_message = run_mercurial_command("tip --template '{desc}'")
      with open(filename, "w") as save_file:
          save_file.write(commit_message)
  
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 12 for calling a global function with example usage: save_commit_message(filename) without return types