Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 343566 - Clone fails with "Missing unknown"
Summary: Clone fails with "Missing unknown"
Status: CLOSED FIXED
Alias: None
Product: JGit
Classification: Technology
Component: JGit (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 329495 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-04-21 11:09 EDT by Przemek Bruski CLA
Modified: 2013-03-15 16:14 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Przemek Bruski CLA 2011-04-21 11:09:01 EDT
Build Identifier: 0.12.0-SNAPSHOT

Doing:
org.eclipse.jgit.pgm-0.12.0-SNAPSHOT.sh clone https://github.com/krosenvold

Fails with:
fatal: Missing unknown 3a450411d6868221ae290bc0c17695de2990d5d8

The clone succeeds when regular git is used. As far as I can tell, the repository is not using submodules (.gitmodules file does not exist in the cloned repo).


Reproducible: Always
Comment 1 Robin Rosenberg CLA 2011-04-24 17:13:19 EDT
The clone command (In reply to comment #1)
> Build Identifier: 0.12.0-SNAPSHOT
> 
> Doing:
> org.eclipse.jgit.pgm-0.12.0-SNAPSHOT.sh clone https://github.com/krosenvold

https://github.com/krosenvold is not a Git repo. Please update with the correct URL.
Comment 2 Przemek Bruski CLA 2011-04-26 06:04:52 EDT
Hmm, the URL has been truncated for some reason. I've meant:
https://github.com/krosenvold/bgit.git
Comment 3 Robin Rosenberg CLA 2011-05-01 17:26:35 EDT
The repo actually has submodules as can be seen from the commit
entries.

git ls-tree HEAD
100644 blob b2ce3a21e1cb7a013db331a2bf94db09a7fb2a94	.gitignore
100644 blob 18343c96ffe60998f500916966c44ef0f0a88300	LICENSE.TXT
100644 blob 7a84aa68e8b819b61829f2c075ffab0ee223cb8d	README.markdown
100755 blob 3dd09027cbdd2557ceb7d74b638e35d8844631e0	installJms.sh
100644 blob b614566a20b81489440aaccb4197a112a458230a	pom.xml
100644 blob 77161ccbb8d5dceac14c180103c252acc46ece63	release.properties
040000 tree 0c8195a11a953e4cc798e14013a928e6c4dc913a	src
160000 commit 3a450411d6868221ae290bc0c17695de2990d5d8	test
160000 commit 34a1c949e2d7e9f138f0fab2c0829c2a134c21a3	test1

C Git ignores the commit entries on checkout so we should too.

Patch posted as http://egit.eclipse.org/r/3303
Comment 4 Robin Rosenberg CLA 2011-09-03 06:14:45 EDT
*** Bug 329495 has been marked as a duplicate of this bug. ***
Comment 5 Robert Emmons CLA 2013-03-15 16:14:59 EDT
Has this bug recurred? I am getting this error:


Git repository clone failed.
Missing unknown 4fdb24201a12d25d47ec1730d1084dc4db5f7661



!SESSION 2013-02-07 15:40:18.347 -----------------------------------------------
eclipse.buildId=M20120914-1800
java.version=1.6.0_24
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product -Dosgi.locking=none
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product -Dosgi.locking=none -data c:\Users\remmons\develop\eclipse\android

This is a continuation of log file C:\Users\remmons\develop\eclipse\android\.metadata\.bak_0.log
Created Time: 2013-02-07 16:47:14.490

!ENTRY org.eclipse.team.svn.core.svnnature 4 0 2013-02-07 16:47:14.491
!MESSAGE SVN: '0x00000114: Commit' operation finished with error
!SUBENTRY 1 org.eclipse.team.svn.core.svnnature 4 0 2013-02-07 16:47:14.491
!MESSAGE Some of selected resources were not added to version control.
!STACK 0
org.eclipse.team.svn.core.connector.SVNConnectorException: svn: E155023: Can't set properties on 'C:\Users\remmons\develop\eclipse\android\Yamba\bin\res\drawable-mdpi': invalid status for updating properties.
at org.polarion.team.svn.connector.svnkit.SVNKitConnector.handleClientException(SVNKitConnector.java:2348)
at org.polarion.team.svn.connector.svnkit.SVNKitConnector.removeProperty(SVNKitConnector.java:2102)
at org.eclipse.team.svn.core.extension.factory.ThreadNameModifier.removeProperty(ThreadNameModifier.java:458)
at org.eclipse.team.svn.core.operation.local.AddToSVNOperation.removeFromParentIgnore(AddToSVNOperation.java:113)
at org.eclipse.team.svn.core.operation.local.AddToSVNOperation.doAdd(AddToSVNOperation.java:124)
at org.eclipse.team.svn.core.operation.local.AddToSVNWithPropertiesOperation.doAdd(AddToSVNWithPropertiesOperation.java:57)
at org.eclipse.team.svn.core.operation.local.AddToSVNOperation$1.run(AddToSVNOperation.java:82)
at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doSubTask(ProgressMonitorUtility.java:118)
at org.eclipse.team.svn.core.operation.AbstractActionOperation.protectStep(AbstractActionOperation.java:154)
at org.eclipse.team.svn.core.operation.AbstractActionOperation.protectStep(AbstractActionOperation.java:149)
org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
at org.


{Additional error messages deleted}