cidico Posted May 28, 2014 Report Share Posted May 28, 2014 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 zoneerror in commit b5387af7482c94cf15ef13531d5dfdf90f38bdb4: invalid author/committer line - bad time zoneerror in commit f6573571f64b952aaf8099e3560521dbe6dd7656: invalid author/committer line - bad time zoneerror in commit 6eb6b6518756935ccb2fed213b1d58d65dd99a91: invalid author/committer line - bad time zoneerror in commit 0293311dc2cfa725fd8aa923081a45c3aaf3db27: invalid author/committer line - bad time zoneerror in commit 91260d4161050993e915f6fa2917e59e3f7e300f: invalid author/committer line - bad time zoneerror in commit 5e76ae13e6345ed01ca8598ae1d06a055bf1afd5: invalid author/committer line - bad time zoneerror in commit 32489ab3189e39700a65d8171548e114e74caa7d: invalid author/committer line - bad time zoneerror in commit 864e5ff66c4888383569e1c23afe4d59660bd2c3: invalid author/committer line - bad time zoneerror in commit 114e8097802c0fe6620b2c29a080194453d0e89f: invalid author/committer line - bad time zoneerror in commit dd3c26ebcad2578eb3a4e9d8302fe222f995e49f: invalid author/committer line - bad time zoneerror in commit 989d9596892bfc95b450221565db0c94e783a488: invalid author/committer line - bad time zoneerror in commit 812f104cc60aef91a0941db7b08a526f212cbf79: invalid author/committer line - bad time zoneerror in commit 3dca07e22ce3f107376095cc0fefcd8820bfbbe2: invalid author/committer line - bad time zoneerror in commit a86f58a638cf8cd78f0ec0a43afa09804bc68239: invalid author/committer line - bad time zoneerror in commit 3f432c082ad16d6cb870b2176941735ed10c06e9: invalid author/committer line - bad time zoneerror in commit bbb1481fb189434937fb2546a856444c378c6486: invalid author/committer line - bad time zoneerror in commit 13b2030bf8ee77dd9184a3efb65b73f1eded19d2: invalid author/committer line - bad time zoneerror in commit 9eb460664a06175d1ccc9b4e2af2889c9279ab41: invalid author/committer line - bad time zoneerror in commit c91a4d2205dc82aa6b2505a751e239e6bd1c1e50: invalid author/committer line - bad time zoneerror in commit cc9a59ec1df239db4dd1cd96e5d99e5b4fa975dc: invalid author/committer line - bad time zoneerror in commit 586780bd6b763b51d4b11d4a6515b32b0ac06017: invalid author/committer line - bad time zone in the git log: warning: malformed commit (header is missing newline): 6eb6b6518756935ccb2fed213b1d58d65dd99a91commit 6eb6b6518756935ccb2fed213b1d58d65dd99a91Author: PlácidoMonteiro <PlácidoMonteiro@.(none)>Date: Mon Mar 3 17:40:20 2014 -0400warning: malformed commit (header is missing newline): f6573571f64b952aaf8099e3560521dbe6dd7656commit f6573571f64b952aaf8099e3560521dbe6dd7656Author: PlácidoMonteiro <PlácidoMonteiro@.(none)>Date: Mon Mar 3 17:31:16 2014 -0400warning: 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-Bibliotecasgit 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 More sharing options...
manu Posted May 30, 2014 Report Share Posted May 30, 2014 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 More sharing options...
cidico Posted May 30, 2014 Author Report Share Posted May 30, 2014 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 More sharing options...
manu Posted June 2, 2014 Report Share Posted June 2, 2014 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 More sharing options...
cidico Posted June 3, 2014 Author Report Share Posted June 3, 2014 Hi Manu! Well... Right now I'm not able to send you the fast-export. I need to get the repository from a backup. I'll do that on Saturday! Link to comment Share on other sites More sharing options...
manu Posted June 4, 2014 Report Share Posted June 4, 2014 Thanks! Link to comment Share on other sites More sharing options...
Nezabyte Posted August 17, 2014 Report Share Posted August 17, 2014 I'm running into the same issues while trying to switch from using TortoisteGit to GitSync to read my repo. Haven't had any issues with TortoiseGit, so I'm not sure what could be causing the "bad format" problem. Was this ever resolved for this person? Link to comment Share on other sites More sharing options...
cidico Posted August 18, 2014 Author Report Share Posted August 18, 2014 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.