You are experiencing the classic case of " incompatible development":
you cannot simultaneously fix the error and develop one file at the same time.
This is a classic branching case that allows a single file:
VCS ( ), , , 2 ( 1.0 'DEV'), "" .
, WinMerge,
VCS , - ( ).
, , , capistrano.