Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » Export/import of commits and diff between repositories in binary form
Export/import of commits and diff between repositories in binary form [message #1843297] Thu, 22 July 2021 22:34
Yuriy Mitrofanov is currently offline Yuriy MitrofanovFriend
Messages: 22
Registered: July 2021
Junior Member
Hello, I have one problem: There is a repository with 10 commits and an empty repository.
In the first repository, I take the difference between commits and the commit itself and save it to a file and I have no problems with this.

To load the difference between commits, I will use:
ApplyResult result = git.apply().setPatch(is).call();

and I have no problems with this either.
There are no problems with deserealization either, I use this:
RevCommit newСommit = RevCommit.parse(rawData);

But how do I add this commit to a completely empty repository?
Previous Topic:EGit cannot find the signing key
Next Topic:Create binary diff and apply binary diff
Goto Forum:
  


Current Time: Thu Apr 25 01:05:23 GMT 2024

Powered by FUDForum. Page generated in 0.02243 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top