title: p4 sync -f does not overwrite opened files
body: <p>I have checked out a file from my perforce depot and made some changes in it but did not submit those changes.</p>
  
  <p>Now,</p>
  
  <p>p4 sync -f does not overwrite my changes by getting latest revision of from perforce.</p>
  
  <p>I want my code to be overwritten here.</p>