From: Karl Hasselström Date: Mon, 04 Aug 2008 14:43:54 GMT Subject: Re: [StGit PATCH] Add some tests of refreshing removed files Message-ID: <20080804144354.GE12232@diana.vm.bytemark.co.uk> In-Reply-To: <9e4733910808040707u2ef8992eha629ebca9c41730b@mail.gmail.com> On 2008-08-04 10:07:45 -0400, Jon Smirl wrote: > I just updated to current git and stg and retested. Tracking a > remove is working now for me. Well, that's good. > Tools were about three months old before updating. Might have been fixed by 8fe07fa4cef (Handle refresh of changed files with non-ASCII names) or 466bfe50 (Fix "refresh" failure with moved files (bug 11661)). > Not sure what changed. But I definitely couldn't get stgit to do it > and had to use git commands to generate the patch. I would remove > the file, refresh and the patch was empty. stg status would show the > file in D state. As soon as I touched something else and refreshed > the rm would appear in the patch. Well, that's exactly what my new test tests for. So at least i got it right. > Maybe there is more to the triggering sequence than a simple rm. > I'll keep a watch out and see if I can figure out how I got into the > state. Thanks. -- Karl Hasselström, kha@treskal.com www.treskal.com/kalle