allow multi line mercurial messages

This commit is contained in:
Sebastian Sdorra
2013-10-01 21:40:27 +02:00
parent 1b09dc4d56
commit 5637c1a8a2
2 changed files with 2 additions and 2 deletions

View File

@@ -45,7 +45,8 @@ credentials = os.environ['SCM_CREDENTIALS']
def printMessages(ui, msgs):
for line in msgs:
if line.startswith("_e") or line.startswith("_n"):
ui.warn(line[2:]);
line = line[2:];
ui.warn(line);
def callHookUrl(ui, repo, hooktype, node):
abort = True