frej/fast-export — pull request #25 by ritcheyer (2014-03-28 22:12:07+00:00)
Title: Removing line returns from branch/tag names

Encountered a bug in SourceTree where it will allow a user to copy/paste 2 lines of copy and create a branch from it. This results in the following:
```
branch with a
line break
```

Mercurial does not allow this via Command Line, so SourceTree must be doing something behind-the-scenes to convert this into an acceptable branch.

**Solution**
Removing the space from the regex and putting in it's place ```\s``` which will remove any whitespace, tab character or line break.

**Resolved Output**
```
Warning: sanitized branch [branch_name_on
multiple_lines] to [branch_name_on_multiple_lines]
```