vc-keep-workfiles

vc-keep-workfiles is a variable defined in `vc-hooks.el'.
Its value is
t


Documentation:
Whether to keep work files on disk after commits, on a locking VCS.
This variable has no effect on modern merging-based version
control systems.

You can customize this variable.