Re: [StGit PATCH] Add some tests of refreshing removed files
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.
> 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)).
Show 5 quoted lines
> 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.
--
Karl Hasselström, kha@treskal.com
www.treskal.com/kalle