On Tue, Apr 09, 2013 at 11:35:50PM +0200, Antoine Jardin wrote:
>   File "./repo", line 274, in _CheckGitVersion
>     if not ver_str.startswith('git version '):
> TypeError: startswith first arg must be bytes or a tuple of bytes, not str
> Repo sync failed

You seem to be using Python 3, and repo hasn't been converted to deal
with Python 3's changes to Unicode handling.

So, I retract part of my earlier message on this list about repo and
Python compatibility: the new version is incompatible with 2.5 and
below, but it doesn't actually work with Python 3 yet.

Which means that it needs Python 2.6 or 2.7, although I personally
haven't tried 2.6.

--Jed

_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to