##// END OF EJS Templates
switch to branch: handle slashes in branch names...
switch to branch: handle slashes in branch names In git, having slashes in branch names are not uncommon. We cannot use a branch name with slashes in the url, so in that case, we use the changeset id instead like we already do for tags and bookmarks. Fixes #654

File last commit:

r1846:349a0ca3 beta
r3424:440fab75 beta
Show More
exceptions.py
13 lines | 246 B | text/x-python | PythonLexer
class InvalidMessage(RuntimeError):
"""
Raised if message is missing vital headers, such
as recipients or sender address.
"""
class BadHeaders(RuntimeError):
"""
Raised if message contains newlines in headers.
"""