Fix crash when a branch name starts with '/'
commit4bb50bb3fba1b86decf62d1f8763d56e34ac902c
authorFrej Drejhammar <frej.drejhammar@gmail.com>
Sun, 14 May 2017 12:32:59 +0000 (14 14:32 +0200)
committerFrej Drejhammar <frej.drejhammar@gmail.com>
Sun, 14 May 2017 12:32:59 +0000 (14 14:32 +0200)
treee681269214df4019fcb4cce5b5245078d0134810
parentfb05ce5b7bb549ef5dbfeaa4ec5740b78c4adcbe
Fix crash when a branch name starts with '/'

If a branch name starts with '/' it will be split into ['', ...] and
then mapped over with dot(), only dot() does not handle the empty
string. Teach dot() to handle the empty string.

This fixes the underlying problem in issue #91.
hg-fast-export.py