From: Karl Hasselström Date: Wed, 21 May 2008 15:00:26 GMT Subject: Re: [StGit PATCH] Try the built-in version string before git-describe Message-ID: <20080521150026.GC31982@diana.vm.bytemark.co.uk> In-Reply-To: On 2008-05-21 15:38:18 +0100, Catalin Marinas wrote: > On 20/05/2008, Karl Hasselström wrote: > > > In order for this to work when StGit _is_ run directly from a > > git-controlled tree, setup.py has to delete the builtin version > > file once the installation process is over. (Otherwise, the StGit > > version in a git-controlled tree would be frozen at whatever value > > it happened to have when setup.py was last run.) > > OK, I thought it was only the ordering change. With this change to > setup.py, I'm OK with the patch. I'll merge your tree tonight. The change to setup.py is actually tiny. I just had to reindent a gazillion line, which makes the patch less than perfectly readable... -- Karl Hasselström, kha@treskal.com www.treskal.com/kalle