Comment 3 for bug 227349

Revision history for this message
Robert Collins (lifeless) wrote : Re: Should refuse to switch threads if doing so would cause a WT conflict

So, there are several things to tease apart here:
 - how do you commit changes to a different branch/thread
 - what is the primary use for switch
 - whats the best default.

I'll support a --require-clean mode on switch or something, to say 'dont switch if there are conflicts', but defaulting to that seems really weird - pull itself can conflict when a directory is deleted and there are pyc files left behind; forcing switch to break when that happens would just annoy me :)