Convert extension and GIT branches

Edouard Gomez ed.gomez at free.fr
Mon Oct 13 15:52:01 CDT 2008


Hello,

I am having seom trouble converting the vlc GIT repo to mercurial because 
branches don't appear in the mercurial converted repo. So basically 
working on the stable branch is notpossible for me using hg :-(

I narrowed down the problem to the way branches are discovered using GIT.
The command that is used is: git-rev-parse --branches 

As the GIT repository of VLC is a remote repo living on videolan.org, all
branches are marked as remote branches. Is there any technical reason
that forces us to ignore remote branches (i don't know git internals that 
well).

Anyway i would replace the current command with:
git-rev-parse --branches --remotes

So that all branches are catched.

If that makes sense to some more experienced GIT user than I am, please
report back cc'ing me your answer. I'll prepare a patch for that if I get
positive feedback.

-- 
Edouard Gomez



More information about the Mercurial-devel mailing list