convert-repo problems with symlinks/multiple heads

John Gateley mercurial at jfoo.net
Thu May 24 22:00:20 UTC 2007


Hi - I'm a newbie, and have a newbie question (I did search the
archives).

I have a git repository I'd like to convert to Mercurial. Unfortunately,
it isn't converting (with convert-repo). I'm not sure if the problem
is that there are two heads (master and experimental) or if the problem
is symlinks (several files in the repository are actually symlinks to
other files in the repository).

The convert finished, but the symlink'd files are incorrect (contain the
name of the linked-to file), and many files are listed as "M" in
hg status, even though they are really not modified.

I don't really care about having "master" and "experimental" anymore,
they are the same in the git repository, and I could just "hg clone"
a new experimental and merge as needed.

But what is the best way to handle the symlinks?

And why are some files listed as "M" after the transfer (I transferred
a few repositories with no symlinks and only a single head and they
didn't have this problem).

Thanks,

j

p.s. Any way to do hg diff with color?
-- 
John Gateley <mercurial at jfoo.net>



More information about the Mercurial mailing list