tla/baz detection and tla username

Aleix Conchillo Flaqué aleix at member.fsf.org
Wed Feb 13 01:53:33 CST 2008


On Feb 13, 2008 12:42 AM, Patrick Mézard <pmezard at gmail.com> wrote:

> > I had 2 issues with the tla and baz tests (tla 1.3.5, baz 1.4.2):
> > - tests fail if tla username is not set and I could not find a way to set it locally with an environment variable. I have added a warning in the beginning of the tests to explain what has to be done. Thomas suggested to skip the test by detecting this with hghave. Maybe you have a better solution.
>
> Fixed by 8b30d8eb3015, sorry for the noise.
>

Bon jour, I just thought about that while sleeping :-). The only
solution I could think is setting an id if not present, but that's not
very clean. The current solution is fine for me, tla/baz are not very
"famous" nowadays so if anyone have them installed they will probably
have an id.

> Your opinion is still welcome on:
>
>
> > - the baz test failed with both tools setup. I guess tla cannot handle repositories generated with baz, but the opposite seemed to be true (at least on my system), so I just reversed the detection logic in gnuarch.py. Is that correct ?
>

While I was coding the converter I tested it and it worked fine, that
is, I created a baz repo and convert it via tla and the opposite.

I have tested it again and works fine. I have also converted a 878
patch repo created with baz via tla and also works.

What error do you get?

Aleix



More information about the Mercurial-devel mailing list