Merged sdorra/scm-manager into default

This commit is contained in:
Clemens Rabe
2013-10-02 19:54:34 +02:00
2 changed files with 2 additions and 2 deletions

View File

@@ -55,7 +55,6 @@ import sonia.scm.repository.RepositoryNotFoundException;
import sonia.scm.repository.RepositoryUtil;
import sonia.scm.repository.api.HgHookMessage;
import sonia.scm.repository.api.HgHookMessage.Severity;
import sonia.scm.repository.api.HookMessageProvider;
import sonia.scm.repository.spi.HgHookContextProvider;
import sonia.scm.repository.spi.HookEventFacade;
import sonia.scm.security.CipherUtil;

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