Revert "hg2git: Replaces space with "_" in branches name"
commit205c76749a2aba3d14d7cd35ac3d484b88eccc8e
authorRocco Rutte <pdmef@gmx.net>
Tue, 3 Jun 2008 11:53:08 +0000 (3 13:53 +0200)
committerRocco Rutte <pdmef@gmx.net>
Tue, 3 Jun 2008 11:53:08 +0000 (3 13:53 +0200)
tree5328400ac2168243a1dfa0414fd66b8f0a7597ec
parent6e3872b6a0465d3da271f6d16b45a86f99e620ea
Revert "hg2git: Replaces space with "_" in branches name"

The get_branch() function's purpose is to detect whether a mercurial
branch name actually should be considered the default branch.

Sanitizing branch and tag names for git is done in sanitize_name().

Noted by Jonathan Nieder.

This reverts commit cdfdae36c8a73fb257eceff33b03d2f320bafc6b.
hg2git.py