Re: [StGit PATCH] Add some tests of refreshing removed files
- From
Jon Smirl <jonsmirl@gmail.com>
- Date
- Aug 4, 2008, 14:07 UTC
- Message-ID
- <9e4733910808040707u2ef8992eha629ebca9c41730b@mail.gmail.com>
- In-Reply-To
- <20080804134050.19457.96613.stgit@yoghurt>
On 8/4/08, Karl Hasselström <kha@treskal.com> wrote:
Show 6 quoted lines
> Signed-off-by: Karl Hasselström <kha@treskal.com> > > --- > > These four tests all pass on Catalin's current master. Do they fail > for you, or did I miss something in your problem description?
I just updated to current git and stg and retested. Tracking a remove is working now for me. Tools were about three months old before updating.
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.
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.
-- Jon Smirl jonsmirl@gmail.com