Jump to content

GitSync problems with BitBucket's repository


cidico

Recommended Posts

Hi!

 

I used to have problems when syncing with BitBucket and yesterday I tried again and got the same error.

This time I've sent an email to BitBucket support team and they gave this answer:

 

 

 

Jesse Yowell [Atlassian]

 Today 10:15 PM

Hey there,

It looks like the formatting of your commits may be wrong:

rror in commit 6c05b4436abc1ff9da8c0d7148a231cdd3c36b2a: invalid author/committer line - bad time zone
error in commit b5387af7482c94cf15ef13531d5dfdf90f38bdb4: invalid author/committer line - bad time zone
error in commit f6573571f64b952aaf8099e3560521dbe6dd7656: invalid author/committer line - bad time zone
error in commit 6eb6b6518756935ccb2fed213b1d58d65dd99a91: invalid author/committer line - bad time zone
error in commit 0293311dc2cfa725fd8aa923081a45c3aaf3db27: invalid author/committer line - bad time zone
error in commit 91260d4161050993e915f6fa2917e59e3f7e300f: invalid author/committer line - bad time zone
error in commit 5e76ae13e6345ed01ca8598ae1d06a055bf1afd5: invalid author/committer line - bad time zone
error in commit 32489ab3189e39700a65d8171548e114e74caa7d: invalid author/committer line - bad time zone
error in commit 864e5ff66c4888383569e1c23afe4d59660bd2c3: invalid author/committer line - bad time zone
error in commit 114e8097802c0fe6620b2c29a080194453d0e89f: invalid author/committer line - bad time zone
error in commit dd3c26ebcad2578eb3a4e9d8302fe222f995e49f: invalid author/committer line - bad time zone
error in commit 989d9596892bfc95b450221565db0c94e783a488: invalid author/committer line - bad time zone
error in commit 812f104cc60aef91a0941db7b08a526f212cbf79: invalid author/committer line - bad time zone
error in commit 3dca07e22ce3f107376095cc0fefcd8820bfbbe2: invalid author/committer line - bad time zone
error in commit a86f58a638cf8cd78f0ec0a43afa09804bc68239: invalid author/committer line - bad time zone
error in commit 3f432c082ad16d6cb870b2176941735ed10c06e9: invalid author/committer line - bad time zone
error in commit bbb1481fb189434937fb2546a856444c378c6486: invalid author/committer line - bad time zone
error in commit 13b2030bf8ee77dd9184a3efb65b73f1eded19d2: invalid author/committer line - bad time zone
error in commit 9eb460664a06175d1ccc9b4e2af2889c9279ab41: invalid author/committer line - bad time zone
error in commit c91a4d2205dc82aa6b2505a751e239e6bd1c1e50: invalid author/committer line - bad time zone
error in commit cc9a59ec1df239db4dd1cd96e5d99e5b4fa975dc: invalid author/committer line - bad time zone
error in commit 586780bd6b763b51d4b11d4a6515b32b0ac06017: invalid author/committer line - bad time zone

in the git log:

warning: malformed commit (header is missing newline): 6eb6b6518756935ccb2fed213b1d58d65dd99a91
commit 6eb6b6518756935ccb2fed213b1d58d65dd99a91
Author: PlácidoMonteiro <PlácidoMonteiro@.(none)>
Date: Mon Mar 3 17:40:20 2014 -0400
warning: malformed commit (header is missing newline): f6573571f64b952aaf8099e3560521dbe6dd7656

commit f6573571f64b952aaf8099e3560521dbe6dd7656
Author: PlácidoMonteiro <PlácidoMonteiro@.(none)>
Date: Mon Mar 3 17:31:16 2014 -0400
warning: malformed commit (header is missing newline): b5387af7482c94cf15ef13531d5dfdf90f38bdb4

Its showing that every single commit has an error. You'll probably want to use git filter-branch and use the env-filter on your repo:http://stackoverflow.com/questions/454734/how-can-one-change-the-timestamp-of-an-old-commit-in-git

Also, it seems Git is also complaining about special characters.. you have a tag listed as 'Atualização-de-Bibliotecas'. Unfortunatel Git doesn't know how to deal with the accents, which gives another error. Try to delete the tag with this:

git tag -d Atualização-de-Bibliotecas
git push origin :refs/tags/Atualização-de-Bibliotecas

Also, please make sure you update your git author lines locally:

git config --global user.name "John Doe"
git config --global user.email johndoe@example.com

Thanks,
Jesse

 

What do you think about his answer?

Link to comment
Share on other sites

hi Plácido,

 

regarding the issue with accents... Plastic SCM supports them without problems, I'll test bitbucket to see if I get the same error and study what we can do. Right now the direct solution is stop using accents in Plastic since Git is not supporting them.

 

Regarding the other issue, the commits with the " invalid author/committer line - bad time zone" Can you please send me the error or warning you get during the sync?

Link to comment
Share on other sites

Hi Manu!

 

The problem is I don't get any errors when syncing.

The sync process ends without problems but when I try to see the code on Bitbucket I get the error..

 

What can I do to help you?

Link to comment
Share on other sites

Hi Plácido,

 

is it possible to send me (mlucio at codicesoftware dot com or skype) a fast-export package of the repository without data (--nodata)?

 

I'll be able to push it to bitbucket and review the issue.

Link to comment
Share on other sites

  • 2 months later...

Hi Nezabyte!

 

This problem seems to be a very particular problem that was happening with some old repository I had...

I'm not actually using GitSync with that repository anymore, so I can't answer your questin... :(

 

Have you tried the latest release on the Labs section at the download page?!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...