threads / discuss / 19000

topgit infinite loop

Subject: topgit infinite loop

## tl;dr

2 messages between Apr 22, 2009 and Apr 22, 2009.

replies: 1people: 2as markdown or json

Sam Vilain· Apr 22, 2009, 11:57 UTC · lore

Using the current topgit master, I did a 'tg depends add' and somehow seem to have found an infinite loop; see http://gist.github.com/99752

I've pushed all my t/* branches to github.com/samv/git - the t/* branches. Any obvious idea what went wrong?

Thanks for writing tg! Sam.

Uwe Kleine-König· Apr 22, 2009, 19:15 UTC · re: Sam Vilain · lore

Re: topgit infinite loop

On Wed, Apr 22, 2009 at 11:57:49PM +1200, Sam Vilain wrote:
Show 5 quoted lines
> Using the current topgit master, I did a 'tg depends add' and somehow
> seem to have found an infinite loop; see http://gist.github.com/99752
> 
> I've pushed all my t/* branches to github.com/samv/git - the t/*
> branches.  Any obvious idea what went wrong?
Yes, you have a circular dependency:
	ukleinek@cassiopeia:~/tmp/samv/git$ git show t/revcache/spec:.topdeps
	t/revcache/spec

it was introduced in a7506fa2d393068b3ed85beaaa74cf6d3d52279d. This patch belongs to the TopGit-patch t/revcache/spec, but the subject suggests that it's on t/revcache/spec-bitmap.

If you want to check what went wrong, you should check the revlog of t/revcache/spec.

Best regards Uwe

-- 
Pengutronix e.K.                              | Uwe Kleine-König            |
Industrial Linux Solutions                    | http://www.pengutronix.de/  |

← back to recent threads