Trying to push a single branch close commit for a branch named "DialogUtils changes" causes the following failure. I've tried other branches in the repo and the unknown revisions '...' message always contains a word in the branch name, so I suspect the spaces are the issue.
pushing to <URL>
searching for changes
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: added 1 changesets with 0 changes to 0 files
remote: No entry for terminal type "unknown";
remote: using dumb terminal settings.
remote: [2014-06-10 07:48:05] EXCEPTION: (CommandException) Command failed with error #255!
remote: COMMAND
remote: hg log --branch 'changes' --rev '(descendants('\''e7a666cac3762ab93a848f3954771d0be380107f'\'') and head())' --template '{node}\1'
remote:
remote: STDOUT
remote: (empty)
remote:
remote: STDERR
remote: abort: unknown revision 'changes'!
remote: at [<PATH>/libphutil/src/future/exec/ExecFuture.php:398]
remote: #0 ExecFuture::resolvex() called at [<PATH>/phabricator/src/applications/diffusion/engine/DiffusionCommitHookEngine.php:778]
remote: #1 DiffusionCommitHookEngine::findMercurialChangegroupRefUpdates() called at [<PATH>/phabricator/src/applications/diffusion/engine/DiffusionCommitHookEngine.php:666]
remote: #2 DiffusionCommitHookEngine::findMercurialRefUpdates() called at [<PATH>/phabricator/src/applications/diffusion/engine/DiffusionCommitHookEngine.php:202]
remote: #3 DiffusionCommitHookEngine::findRefUpdates() called at [<PATH>/phabricator/src/applications/diffusion/engine/DiffusionCommitHookEngine.php:124]
remote: #4 DiffusionCommitHookEngine::execute() called at [<PATH>/phabricator/scripts/repository/commit_hook.php:104]
remote: transaction abort!
remote: rollback completed
remote: abort: pretxnchangegroup.phabricator hook exited with status 255