Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » [jgit] Problems to reuses an already cloned repo and tagging
[jgit] Problems to reuses an already cloned repo and tagging [message #756479] Sun, 13 November 2011 21:11 Go to next message
Thorsten Kamann is currently offline Thorsten KamannFriend
Messages: 7
Registered: July 2009
Junior Member

I am trying to develop a Git Tag plugin for Atlassian Bamboo. Bamboo has already cloned the repo. Now i want to tag this cloned repo and push the tag back to the origin. For this I try this:

Git git = File(...));


But this doesn't work. I get this exception:
Exception in thread "main" org.eclipse.jgit.api.errors.JGitInternalException: Exception caught during execution of push command
	at org.agilebackoffice.bamboo.vcstag.git.GitHandler.pushGitRepository(
	at org.agilebackoffice.bamboo.vcstag.git.GitHandler.main(
Caused by: org.eclipse.jgit.errors.TransportException: Missing commit 5a9ee6b2b1a1127883a28dc2a2080a05da2a05ca
	at org.eclipse.jgit.transport.BasePackPushConnection.doPush(
	at org.eclipse.jgit.transport.TransportHttp$SmartHttpPushConnection.doPush(
	at org.eclipse.jgit.transport.BasePackPushConnection.push(
	at org.eclipse.jgit.transport.PushProcess.execute(
	at org.eclipse.jgit.transport.Transport.push(
	... 2 more

The missing commit doesn't exist anywhere and seems only be missing if I tag the repository.
Whats I am doing wrong?


[Updated on: Sun, 13 November 2011 21:19]

Report message to a moderator

Re: [jgit] Problems to reuses an already cloned repo and tagging [message #757310 is a reply to message #756479] Thu, 17 November 2011 16:14 Go to previous message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1072
Registered: July 2009
Senior Member
- Does $git show 5a9ee6b2b1a1127883a28dc2a2080a05da2a05ca find this commit ?
- Does $git fsck report any errors ?
- Can you tag HEAD and push this using native git ?
Previous Topic:how to tell git to use a remote repository
Next Topic:Egit doesn't recognize user-created symbolic-refs
Goto Forum:

Current Time: Wed Aug 21 10:05:52 GMT 2019

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

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

Back to the top