Version problems

Juan Jose Garcia-Ripoll jjgarcia at users.sourceforge.net
Sun Nov 26 13:22:44 CST 2006


2006/11/26, Benoit Boissinot <bboissin at gmail.com>:
> On 11/26/06, Juan Jose Garcia-Ripoll <jjgarcia at users.sourceforge.net> wrote:
> > 2006/11/26, Benoit Boissinot <bboissin at gmail.com>:
> > > From the output of 'hg verify' it looks like a case problem (files
> > > that are identical in a case insensitive FS), for me your repo is
> > > broken with 0.9.1 and tip.
>
> > I have checked also that there are not two files with the same name in
> > the repo right now. Such a situation has indeed never existed, so the
> > only conflict I can think of must come from a file with one name being
> > replaced (I mean as in "delete" and then "add").
> >
>
> Somehow, maybe during the conversion from an older SCM, some files had
> as canonical name foo.s instead of foo.S, I don't know how it
> happened. Are you using a conversion tool, and which one ?

I used the cvs20hg tool and converted from a local repository in the
mac. I tried with tailor but somehow it did not preserve the history
of changes, but just created a big patch.

I had a look a the history of my project and indeed some files were
changed *.s -> *.S -> *.s , etc. This must be the source of the
problem, but as I said it is very difficult for me to check this.

Since I cannot reformat both OSX machines as it was suggested in this
thread, seems the only recipe is to use the linux machine for big
changes (importing sources) and then clone. Or would the cloning
introduce also problems in my OSX repository?

Anyway, I understand it is not hg's fault, but it is very scary to be
able to corrupt my repo so easily :-/ Could somebody post a warning in
the Wiki?

Regards,

Juanjo


More information about the Mercurial mailing list