Skip to contentSkip to conversation

cg-clone http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git fail

DISCUSSION 宋冬生 1 participant 2 messages Jun 15, 2016

lore
Share & tools
lore

宋冬生

author
#0 lore raw

Because the rsync access method is DEPRECATED and will be REMOVED in the future, I try the http pull method:

ab:/tmp$ cg-clone
http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
defaulting to local storage area
15:57:06
URL:http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/refs/heads/master
[41/41] -> "refs/heads/.origin-pulling" [1]
Getting pack list
Getting index for pack e3117bbaf6a59cb53c3f6f0d9b17b9433f0e4135
Getting index for pack c60dc6f7486e34043bd6861d6b2c0d21756dde76
Getting index for pack 011d837bd60b7e2544fa0f095ae4ca0d61c3c1ea
error: Couldn't get 0572e3da3ff5c3744b2f606ecf296d5f89a4bbdf: not
separate or in any pack
error: Tried
http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/objects/05/72e3da3ff5c3744b2f606ecf296d5f89a4bbdf
Cannot obtain needed object 0572e3da3ff5c3744b2f606ecf296d5f89a4bbdf
while processing commit 0000000000000000000000000000000000000000.
cg-pull: objects pull failed
cg-clone: pull failed
ab:/tmp$
author
#1 lore raw

But cg-clone git.git sucess:

cg-clone http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/git.git/
defaulting to local storage area
17:39:36 URL:http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/git.git/refs/heads/master [41/41] -> "refs/heads/.origin-pulling" [1]
progress: 3 objects, 5345 bytes
Getting pack list
Getting index for pack 3c5133604508466855453f3e609428f4bbba9131
Getting pack 3c5133604508466855453f3e609428f4bbba9131
which contains 6ff87c4664981e4397625791c8ea3bbb5f2279a3
progress: 1810 objects, 4197537 bytes
17:57:40 URL:http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/git.git/refs/tags/v0.99 [41/41] -> "refs/tags/v0.99" [1]
17:57:41 URL:http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/git.git/refs/tags/v0.99.1 [41/41] -> "refs/tags/v0.99.1" [1]
17:57:41 URL:http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/git.git/refs/tags/v0.99.2 [41/41] -> "refs/tags/v0.99.2" [1]
17:57:41 URL:http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/git.git/refs/tags/v0.99.3 [41/41] -> "refs/tags/v0.99.3" [1]
17:57:43 URL:http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/git.git/refs/tags/v0.99.4 [41/41] -> "refs/tags/v0.99.4" [1]

FINISHED --17:57:43--
Downloaded: 5,854 bytes in 10 files
Missing object of tag v0.99.1... retrieved Missing object of tag v0.99.2... retrieved Missing object of tag v0.99.3... retrieved Missing object of tag v0.99.4... retrieved New branch: 2a29da7c6d6103c4719c71f6cce88e853260912c Cloned to git/ (origin
http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/git.git
available as branch "origin")

May be linux-2.6.git something wrong?

Quoted 26 lines

Because the rsync access method is DEPRECATED and will be REMOVED in the future, I try the http pull method:

ab:/tmp$ cg-clone
http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
defaulting to local storage area
15:57:06
URL:http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/refs/heads/master
[41/41] -> "refs/heads/.origin-pulling" [1]
Getting pack list
Getting index for pack e3117bbaf6a59cb53c3f6f0d9b17b9433f0e4135
Getting index for pack c60dc6f7486e34043bd6861d6b2c0d21756dde76
Getting index for pack 011d837bd60b7e2544fa0f095ae4ca0d61c3c1ea
error: Couldn't get 0572e3da3ff5c3744b2f606ecf296d5f89a4bbdf: not
separate or in any pack
error: Tried
http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/objects/05/72e3da3ff5c3744b2f606ecf296d5f89a4bbdf
Cannot obtain needed object 0572e3da3ff5c3744b2f606ecf296d5f89a4bbdf
while processing commit 0000000000000000000000000000000000000000.
cg-pull: objects pull failed
cg-clone: pull failed
ab:/tmp$