Inexplicable “abort: untracked files in working directory”

Matt Mackall mpm at selenic.com
Sun Feb 9 19:39:12 UTC 2014


On Sat, 2014-02-08 at 15:56 +0000, Pietro Moras wrote:
> I'm getting a, to
> me, unjustified and therefore inexplicable:
> “abort:
> untracked files in working directory differ from files in requested
> revision”

This almost certainly means exactly what it says. But let me translate
it to more verbose English:

"Hey user, you have a file sitting here named foo that you haven't told
me to track. If I update, I will be forced to destroy it, even though it
apparently has changes in it that you might not want to lose. So I'm
aborting to avoid accidental data loss. You're very welcome."

If you don't mind losing the changes in that file.. then delete it.

-- 
Mathematics is the supreme nostalgia of our time.





More information about the Mercurial mailing list