mercurial/commands.py
changeset 1996 4c70b10f0418
parent 1995 2da2d46862fb
child 2016 ff5c9a92f556
child 2019 ced2d3620f95
equal deleted inserted replaced
1995:2da2d46862fb 1996:4c70b10f0418
  1030     Commit changes to the given files into the repository.
  1030     Commit changes to the given files into the repository.
  1031 
  1031 
  1032     If a list of files is omitted, all changes reported by "hg status"
  1032     If a list of files is omitted, all changes reported by "hg status"
  1033     will be committed.
  1033     will be committed.
  1034 
  1034 
  1035     The HGEDITOR or EDITOR environment variables are used to start an
  1035     If no commit message is specified, the editor configured in your hgrc
  1036     editor to add a commit comment.
  1036     or in the EDITOR environment variable is started to enter a message.
  1037     """
  1037     """
  1038     message = opts['message']
  1038     message = opts['message']
  1039     logfile = opts['logfile']
  1039     logfile = opts['logfile']
  1040 
  1040 
  1041     if message and logfile:
  1041     if message and logfile: