C Creideiki Active Member Licensed User Longtime User Dec 13, 2019 #1 I set up a git repository like described in https://www.b4x.com/android/forum/threads/using-a-git-repository-version-control-for-beginners.80899. Now I had to checkout an old version. When I try to open the project, I get the error The Given key was not present in dictionary and the IDE shows a virgin Main. I can access the .b4a file with another editor though. I suppose it has to do with the *.b4a.meta file, which is in .gitignore as suggested. So the question is: What is the correct way to handle B4A projects in a version contol system? With the .b4a.meta I have too much changes (BTW: the .b4a file changes IMHO to frequent, too). Without it I can't checkout older versions because of the mentioned error.
I set up a git repository like described in https://www.b4x.com/android/forum/threads/using-a-git-repository-version-control-for-beginners.80899. Now I had to checkout an old version. When I try to open the project, I get the error The Given key was not present in dictionary and the IDE shows a virgin Main. I can access the .b4a file with another editor though. I suppose it has to do with the *.b4a.meta file, which is in .gitignore as suggested. So the question is: What is the correct way to handle B4A projects in a version contol system? With the .b4a.meta I have too much changes (BTW: the .b4a file changes IMHO to frequent, too). Without it I can't checkout older versions because of the mentioned error.
Erel B4X founder Staff member Licensed User Longtime User Dec 15, 2019 #2 Creideiki said: I suppose it has to do with the *.b4a.meta file, which is in .gitignore as suggested. Click to expand... The meta file is not required. Open the b4a file with a text editor and check its "headers". Upvote 0
Creideiki said: I suppose it has to do with the *.b4a.meta file, which is in .gitignore as suggested. Click to expand... The meta file is not required. Open the b4a file with a text editor and check its "headers".
C Creideiki Active Member Licensed User Longtime User Dec 15, 2019 #3 The b4a file is ok (I used vim to check it). So I should delete the .b4a.meta when i checkout an older version? Upvote 0
The b4a file is ok (I used vim to check it). So I should delete the .b4a.meta when i checkout an older version?
Erel B4X founder Staff member Licensed User Longtime User Dec 15, 2019 #4 Try it. It isn't expected to cause problems. You can safely delete it. Upvote 0