Mercurial > hg
comparison mercurial/__init__.py @ 7243:a8e4e599e17f
convert: return remote branches in git source
When converting git repos, all stuff happening on branches
seems to be ignored.
This is caused by the fact a "git clone" of a remote git
repo has all its branches prefixed with "origin/". By
chance, the "origin/master" branch is always linked to a
local "master" branch. So getheads() returns only the
master head, and it ignores all the other heads.
Make sure getheads() returns all heads, forcing remote
branches to be return by git-rev-parse.
author | Edouard Gomez <ed.gomez@free.fr> |
---|---|
date | Sun, 19 Oct 2008 00:32:23 +0200 |
parents | 9117c6561b0b |
children | 4374d819ccd5 |
comparison
equal
deleted
inserted
replaced
7237:b9bf36905b55 | 7243:a8e4e599e17f |
---|