Tuesday, June 25, 2013

Commit failed (details follow): Cannot commit 'D:\Users\Admin\AddUpdateContact.aspx.cs' because it was moved to 'D:\Users\Admin\AddContact.cs' which is not part of the commit; both sides of the move must be committed together

I recently started to getting this exception from SVN on my Windows
Commit failed (details follow):
Cannot commit 'D:\Users\Admin\AddUpdateContact.aspx.cs'
 because it was moved to 'D:\Users\Admin\AddContact.cs'
 which is not part of the commit; both sides of the move must be committed
 together

First solution:

Try to commit both folders together, the folder of  : 'D:\Users\Admin\AddUpdateContact.aspx.cs' and the folder of 'D:\Users\Admin\AddContact.cs' and if that doesnt work:

Select the new location(AddContact.cs) when committing and add the old one (AddUpdateContact.aspx.cs) to ignore list

5 comments:

  1. Have you found any solution? I have the same problem

    ReplyDelete
  2. Have you found a solution? I have the same problem

    ReplyDelete
  3. Solution is above,just add the old file to ignore list and commit the new file

    ReplyDelete
  4. Commit both the files together and the will delete the unwanted

    ReplyDelete
  5. it will delete the unwanted

    ReplyDelete