git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Problem with cogito and Linux tree tags
@ 2005-06-02 19:36 Radoslaw Szkodzinski
  2005-06-02 19:48 ` Dan Holmsand
  0 siblings, 1 reply; 7+ messages in thread
From: Radoslaw Szkodzinski @ 2005-06-02 19:36 UTC (permalink / raw
  To: git

My cg-version is:
cogito-0.10 (20e473c9afd8b5d2d549b0e7881473600beb9c37)

cg-tag-ls output is:
v2.6.11    5dc01c595e6c6ec9ccda4f6f69c131c0dd945f8c
v2.6.11-tree    5dc01c595e6c6ec9ccda4f6f69c131c0dd945f8c
v2.6.12-rc2    9e734775f7c22d2f89943ad6c745571f1930105f
v2.6.12-rc3    0397236d43e48e821cce5bbe6a80a1a56bb7cc3a
v2.6.12-rc4    ebb5573ea8beaf000d4833735f3e53acb9af844c
v2.6.12-rc5    06f6d9e2f140466eeb41e494e14167f90210f89d

The ID of the commit that says "Linux 2.6.12-rc5" is:
137318b273db26b889675101fbd02d2e84cae5e3

The v2.6.12-rc5 tag hash isn't a tree or commit hash, it is unusable.
I don't know what causes that...

AstralStorm

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Problem with cogito and Linux tree tags
  2005-06-02 19:36 Problem with cogito and Linux tree tags Radoslaw Szkodzinski
@ 2005-06-02 19:48 ` Dan Holmsand
  2005-06-02 20:01   ` Radoslaw Szkodzinski
  0 siblings, 1 reply; 7+ messages in thread
From: Dan Holmsand @ 2005-06-02 19:48 UTC (permalink / raw
  To: git

Radoslaw Szkodzinski wrote:
  The v2.6.12-rc5 tag hash isn't a tree or commit hash, it is unusable.
> I don't know what causes that...

It's a tag object. If you cg-pull via http, you won't get any of those, 
though.

Try rsync instead:

$ cg-branch-add kernel 
rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
$ cg-pull kernel

/dan


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Problem with cogito and Linux tree tags
  2005-06-02 19:48 ` Dan Holmsand
@ 2005-06-02 20:01   ` Radoslaw Szkodzinski
  2005-06-02 20:19     ` Dan Holmsand
  0 siblings, 1 reply; 7+ messages in thread
From: Radoslaw Szkodzinski @ 2005-06-02 20:01 UTC (permalink / raw
  To: Dan Holmsand; +Cc: git

Dan Holmsand wrote:

>
> Radoslaw Szkodzinski wrote:
>  The v2.6.12-rc5 tag hash isn't a tree or commit hash, it is unusable.
>
>> I don't know what causes that...
>
>
> It's a tag object. If you cg-pull via http, you won't get any of
> those, though.
>
I thought it was one of these. Seems cogito can't handle them yet.

> Try rsync instead:
>
Guess what, I did it by rsync.

AstralStorm

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Problem with cogito and Linux tree tags
  2005-06-02 20:01   ` Radoslaw Szkodzinski
@ 2005-06-02 20:19     ` Dan Holmsand
  2005-06-02 21:02       ` Radoslaw Szkodzinski
  0 siblings, 1 reply; 7+ messages in thread
From: Dan Holmsand @ 2005-06-02 20:19 UTC (permalink / raw
  To: git

Radoslaw Szkodzinski wrote:
> Dan Holmsand wrote:
>>It's a tag object. If you cg-pull via http, you won't get any of
>>those, though.
> I thought it was one of these. Seems cogito can't handle them yet.

Ah. I forgot just how old cogito-0.10 has gotten. Current cogito handles 
these just fine. You should be able to read the tag object slightly more 
manually, though:

$ git-cat-file tag 06f6d9e2f140466eeb41e494e14167f90210f89d

which tells you that v2.6.12-rc5 is commit 
2a24ab628aa7b190be32f63dfb6d96f3fb61580a

/dan


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Problem with cogito and Linux tree tags
  2005-06-02 20:19     ` Dan Holmsand
@ 2005-06-02 21:02       ` Radoslaw Szkodzinski
  2005-06-02 23:14         ` Radoslaw Szkodzinski
  0 siblings, 1 reply; 7+ messages in thread
From: Radoslaw Szkodzinski @ 2005-06-02 21:02 UTC (permalink / raw
  To: Dan Holmsand; +Cc: git

Dan Holmsand wrote:

>
> $ git-cat-file tag 06f6d9e2f140466eeb41e494e14167f90210f89d
>
> which tells you that v2.6.12-rc5 is commit
> 2a24ab628aa7b190be32f63dfb6d96f3fb61580a
>
Ok.  This doesn't work too. That cogito version really works fine, but I
had that branch cloned from a local repository gotten from rsync and
probably that's the problem.
The tags weren't propagated, but they should be.

AstralStorm

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Problem with cogito and Linux tree tags
  2005-06-02 21:02       ` Radoslaw Szkodzinski
@ 2005-06-02 23:14         ` Radoslaw Szkodzinski
  2005-06-03  7:28           ` Petr Baudis
  0 siblings, 1 reply; 7+ messages in thread
From: Radoslaw Szkodzinski @ 2005-06-02 23:14 UTC (permalink / raw
  To: Dan Holmsand; +Cc: git

Radoslaw Szkodzinski wrote:

>Dan Holmsand wrote:
>
>  
>
>>$ git-cat-file tag 06f6d9e2f140466eeb41e494e14167f90210f89d
>>
>>which tells you that v2.6.12-rc5 is commit
>>2a24ab628aa7b190be32f63dfb6d96f3fb61580a
>>
>>    
>>
>Ok.  This doesn't work too. That cogito version really works fine, but I
>had that branch cloned from a local repository gotten from rsync and
>probably that's the problem.
>The tags weren't propagated, but they should be.
>
>AstralStorm
>  
>
Well, new cogito-0.11.1 (300ab153620d2492e824cb3561c32debb5e80bf8) has
this fixed and picked up missing objects automatically.

AstralStorm

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Problem with cogito and Linux tree tags
  2005-06-02 23:14         ` Radoslaw Szkodzinski
@ 2005-06-03  7:28           ` Petr Baudis
  0 siblings, 0 replies; 7+ messages in thread
From: Petr Baudis @ 2005-06-03  7:28 UTC (permalink / raw
  To: Radoslaw Szkodzinski; +Cc: Dan Holmsand, git

Dear diary, on Fri, Jun 03, 2005 at 01:14:18AM CEST, I got a letter
where Radoslaw Szkodzinski <astralstorm@gorzow.mm.pl> told me that...
> Radoslaw Szkodzinski wrote:
> 
> >Dan Holmsand wrote:
> >
> >  
> >
> >>$ git-cat-file tag 06f6d9e2f140466eeb41e494e14167f90210f89d
> >>
> >>which tells you that v2.6.12-rc5 is commit
> >>2a24ab628aa7b190be32f63dfb6d96f3fb61580a
> >>
> >>    
> >>
> >Ok.  This doesn't work too. That cogito version really works fine, but I
> >had that branch cloned from a local repository gotten from rsync and
> >probably that's the problem.
> >The tags weren't propagated, but they should be.
> >
> >AstralStorm
> >  
> >
> Well, new cogito-0.11.1 (300ab153620d2492e824cb3561c32debb5e80bf8) has
> this fixed and picked up missing objects automatically.

Oh yes, I wanted to mention it in this thread but forgot.

However note that what it does now is awful and it's just a
quick'n'dirty fix to make it mostly work. I guess a better way would be
to teach the pull tools to download refs/ files too and do the proper
dependency things from them too (in addition to the passed commit id).

I will need to go back and look again at the set of Daniel's patches
which implemented something like that.

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
C++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-06-03  7:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-02 19:36 Problem with cogito and Linux tree tags Radoslaw Szkodzinski
2005-06-02 19:48 ` Dan Holmsand
2005-06-02 20:01   ` Radoslaw Szkodzinski
2005-06-02 20:19     ` Dan Holmsand
2005-06-02 21:02       ` Radoslaw Szkodzinski
2005-06-02 23:14         ` Radoslaw Szkodzinski
2005-06-03  7:28           ` Petr Baudis

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).