Executing cells in the Python interactive window should work even if a file is open in multiple tabs.
I get the error message
Cannot run cells, duplicate documents for my_notebook.py found.
Thanks for the report @janosh. I can repro this as well, we'll take a look.
This error also happens when reverting a commit from the active editor pane.
Any updates on this ? It's very annoying not being able to revert a change via git.
I'm also experiencing this issue.