# topgit infinite loop

2 messages from 2009-04-22 to 2009-04-22. Participants: Sam Vilain, Uwe Kleine-König.
Thread: https://gitlist.dev/t/19000

## Sam Vilain, 2009-04-22 11:57

Subject: topgit infinite loop
Message-ID: <1240401469.3889.2.camel@maia.lan>
URL: https://gitlist.dev/e/1240401469.3889.2.camel%40maia.lan

```
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, 2009-04-22 19:15

Subject: Re: topgit infinite loop
Message-ID: <20090422191544.GA22277@pengutronix.de>
URL: https://gitlist.dev/e/20090422191544.GA22277%40pengutronix.de
In-Reply-To: <1240401469.3889.2.camel@maia.lan>

```
On Wed, Apr 22, 2009 at 11:57:49PM +1200, Sam Vilain wrote:
> 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/  |

```
