Part of bzrlib
Function | edit_commit_message | Let the user edit a commit message in a temp file. |
Function | edit_commit_message_encoded | Let the user edit a commit message in a temp file. |
Function | make_commit_message_template | Prepare a template file for a commit into a branch. |
Function | make_commit_message_template_encoded | Prepare a template file for a commit into a branch. |
Class | MessageEditorHooks | A dictionary mapping hook name to a list of callables for message editor |
Function | set_commit_message | Sets the commit message. |
Function | generate_commit_message_template | Generate a commit message template. |
Function | _get_editor | Return a sequence of possible editor binaries for the current platform |
Function | _run_editor | Try to execute an editor to edit the commit message. |
Function | _create_temp_file_with_commit_template | Create temp file and write commit template in it. |
This is run if they don't give a message or message-containing file on the command line.
Parameters | infotext | Text to be displayed at bottom of message for the user's reference; currently similar to 'bzr status'. |
ignoreline | The separator to use above the infotext. | |
start_message | The text to place above the separator, if any. This will not be removed from the message after the user has edited it. | |
Returns | commit message or None. |
This is run if they don't give a message or message-containing file on the command line.
Parameters | infotext | Text to be displayed at bottom of message for the user's reference; currently similar to 'bzr status'. The string is already encoded |
ignoreline | The separator to use above the infotext. | |
start_message | The text to place above the separator, if any. This will not be removed from the message after the user has edited it. The string is already encoded | |
Returns | commit message or None. |
Parameters | infotext | Text to be displayed at bottom of message for the user's reference; currently similar to 'bzr status'. The text is already encoded. |
ignoreline | The separator to use above the infotext. | |
start_message | The text to place above the separator, if any. This will not be removed from the message after the user has edited it. The string is already encoded | |
Returns | 2-tuple (temp file name, hasinfo) |
Returns a unicode string containing the template.
Returns an encoded string.