xmllint_capable=True
if options.mode == 'commit' and isCvs:
- utilties.detect_vcs_conflicts(options, vcs="cvs")
+ utilities.detect_vcs_conflicts(options, vcs="cvs")
if options.mode == "manifest":
pass
try:
editor = os.environ.get("EDITOR")
if editor and utilities.editor_is_executable(editor):
- commitmessage = utilties.get_commit_message_with_editor(
+ commitmessage = utilities.get_commit_message_with_editor(
editor, message=qa_output)
else:
- commitmessage = utilties.get_commit_message_with_stdin()
+ commitmessage = utilities.get_commit_message_with_stdin()
except KeyboardInterrupt:
exithandler()
if not commitmessage or not commitmessage.strip():
exit 1
}
-while [ "${1:1}" == "-" ]; then
+while [ "${1:0:1}" == "-" ]; do
+ echo $1
case "$1" in
-t|--tag)
CREATE_TAG=true
die "unknown option: $1"
;;
esac
-fi
+done
[ -z "$1" ] && die "Need version argument"
[ -n "${1/[0-9]*}" ] && die "Invalid version argument"