On Sun, 2024-10-06 at 09:09 +0100, Roy Marples wrote: > Actually the file wasn't there! > And that was the clue - a simple hg clone of xsrc checkedout xorg and > not trunk. > Is there a way to fixate a default branch on clone on anonhg so this > doens't happen to others? >
Mostly, but only mostly though. hg is checking out a bookmark called @ and I'm sure the process of converting the CVS repos to hg could be adjusted so that the bookmark @ is forcibly set to be the trunk after each CVS import/update. Unfortunately hg will ignore bookmark updates on "hg pull/update" when it sees the bookmark changing in illogical ways (I can't remember the details). The CVS conversion process sometimes changes the bookmark @ in illogical ways. This doesn't end well. I always explicitly checkout a named branch and I have wrapper scripts to make that easy for me. Ngā mihi, Lloyd