> I looked at this a little in the car today and I found two useful bits > of information. First, an easy way to reproduce the problem is to make a > new repository with a directory and a file in the directory. Then > initialize MQ, make a new patch, move the file from in the directory to > the top of the tree, and refresh the patch. I poked at MQ and mercurial > briefly, and it looks like either the directory is being removed from > the working directory prematurely, or the "usage counter" like thing > that keeps track of the number of items in the directory gets > decremented prematurely. If you put a check to only decrement the > counter if the directory is actually still in the accounting system > (like it should be), then it doesn't error out. The directory doesn't > get deleted either which leads me to believe it's being removed from the > accounting system some other way. If it was being decremented too often, > it would have decremented once, removed the directory, tried to > decrement again and failed, but in the end the directory would still be > there. I haven't verified that much at all but that's my hunch.
Since you've got it somewhat figured out, can you submit a bug report when you arrive? _______________________________________________ m5-dev mailing list m5-dev@m5sim.org http://m5sim.org/mailman/listinfo/m5-dev