![]() Under the new cloned repo, I select "Remotes->origin" and do In the Git repositories view, I clone the repository which contains genmodel file I get a "Missing blob" error > fresh clone of the repository and performing a very simple > I have a Gerrit repository that contains some EMF models and after a > I've ran into a problem that seems to be a weird interaction between Noĭoubt the EGit folks will have a better idea of what might cause the > Team -> File Contentĭoes list *.genmodel as ASCII Text for me so it's just a thought. Preserved as is), so maybe there is some issue related to havingĬommitted a binary representation and then trying to commit a textual Line ending conversion) and binary files (that must be byte-for-byte That team providers make a distinction between text files (that require Using EGit so it must be something special in your situation. There are a great many projects with EMF models I tried modifying only the ecore file and there is no problem, so the problem is with the genmodel modification.Īfter trying "git prune" on the command-line I was able to push the change to Gerrit, but I'm wondering a couple of things:ġ) is "git prune" safe for this scenario?Ģ) why did this happen in the first place? why does modifying the genmodel file create a missing blob?ģ) is this a problem with EGit, Gerrit or EMF? (I'm positing it here in case it's an EGit issue)Ĥ) any ideas about how to avoid this in the future?ĥ) is this a bug or is this behaviour expected? (seems like a bug)Įclipse Git Team Providerē.02031740-rc1 .groupĞclipse EGitĮMF - Eclipse Modeling Framework SDKĒ.11.0.v20150123-0357 .oupĞclipse Modeling ProjectĬertainly I've never seen this problem nor have I ever heard of anyoneĮlse with this problem. The error ocurrs exactly when I modify the genmodel file. That's when the push fails with the "Missing tree/blob" error. I right-click on the repository and then "Push to Gerrit". ![]() I go to the EGit staging view, and add "mymodel.ecore" and "mymodel.genmodel" to the index, Click the "Add Change-Id" button, write a commit message and click "Commit".ħ. I open the model's genmodel file (mymodel.genmodel), and reload the ecore model, removing the reference to the other model. I open the model's ecore file (mymodel.ecore) and make one modification, which is to remove a reference to an element in another EMF project ("othermodel"), within the same repository. Under "Local" I select the master branch, do "right-click->Configure branch" and select "Rebase"Ĥ. Under the new cloned repo, I select "Remotes->origin" and do "right-click->Gerrit configuration". In the Git repositories view, I clone the repository which contains only some EMF projects.Ģ. genmodel file I get a "Missing blob" error when attempting to "Push to Gerritt.".ġ. I have a Gerrit repository that contains some EMF models and after a fresh clone of the repository and performing a very simple modification to the EMF. I've ran into a problem that seems to be a weird interaction between EGit, Gerrit and EMF:
0 Comments
Leave a Reply. |