I have Arch Linux Python 3.3.0 I've downloaded the latest repo, and if i try to do the repo init from the Google example, i get this error:
[username@otp-username-l2 teste]$ repo init -u https://android.googlesource.com/platform/manifest
Traceback (most recent call last):
File "/home/username/bin/repo", line 738, in <module>
main(sys.argv[1:])
File "/home/username/bin/repo", line 705, in main
_Init(args)
File "/home/username/bin/repo", line 234, in _Init
_CheckGitVersion()
File "/home/username/bin/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
The reason for which i am forced to do a new repo init is that i must do a commit from an already initialized repo, but i've changed the git user from everywhere, and i still get this:
Writing objects: 100% (12/12), 966 bytes, done.
Total 12 (delta 11), reused 0 (delta 0)
o ssh://new.username@128.224.0.74:29418/stelvio/mm
![remote rejected] branchname -> refs/for/main_dev (you are not committer oldusername@email.com)
error: failed to push some refs to 'ssh://new.username@128.224.0.74:29418/project/one'