Made Changes in file X.java – through hg repo explorer, I see my changes.
Committed changes in X.java to local repository
I pulled changes from central repo which also included non-conflicting changes by other developer in X.java – I see chages made in X.java by other developer.
I merged two versions locally,
After merge what I am seeing is that changes made by other developer are lost (!) only for this file, and post-merge file is same as what I had committed before merge. All other files which were only changed by others are intact.
I am not sure why merge overwrote other developer’s changes, I found out that this has happened to all files which both developers have changed, merged and committed.
I am using tortoise hg for all mercurial tasks.
Can anyone help me understand what’s going on?
Also, is there anyway I can search such files which are overwritten as a result of previous merges and already committed to central repo so that I can fix them?
Thanks a lot,
*Update Added From A Comment *
I think since changes made in this file were non-conflicting i don't think mercurial launched any tool or Kdiff or asked me to manually select. I think it automerged itself. If at all which I am not 100% sure, mercurial might have marked file as "U" (Unresolved) which after checking non-conflicting changes, I might have chosen "Mark conflict as resolved" option. I remember me doing that for couple of files not sure if I did that in this case. so only two possibilities are 1. Mercurial might have auto-merged without my intervention 2. I might have chosen "Mark as resolved" option. – alwaysLearning