facebook/phabricator — Issue #97: Cannot import mercurial repositories with spaces in branch names
Author: killermonk
Created: 2012-03-06 17:09:51+00:00
State: open

If a mercurial repository has branches with spaces in the name (bad practice, but it happens), arcanist cannot import the repository.

PhabricatorRepositoryMercurialCommitDiscoveryDaemon reports the following error:
EXCEPTION: (Exception) Failed to parse 'hg branches' output: New UI 139:5390fdfa0cae (inactive) at [/var/phabricator/arcanist/src/repository/parser/mercurial/ArcanistMercurialParser.php:216]

I have a patch that fixes the regex, but I'm not sure how to submit it...