OK I am connected to a server via SSH, I run the command:
hg merge
I am now taken to a screen that is split into 3 sections. On the bottom they are labeled as:
file
file~other.Dcyqtz
file~base.N64J4dp
Obviously it wants me to resolve conflicts. It looks like the first one is my local changes, other is the changes I just pulled and am trying to merge with. And base is what the file looked like before splitting.
So for every part where there is a conflict I supposed I am to pick which of the 3 to keep.
How do I do this?
I am in a command shell so I can not click on anything. I can only move my cursor up and down in the first of the 3, I do not know how to get my cursor to the other 2 sections.
I do no know know how to specify, use mine here, use other there, and use base over there.
Also I do not know how to say, I give up and exit.
So currently I am stuck.
As Cesar mentioned, you need a merge tool. If you are familiar with vim, I suggest vimDiff.
Also, don't worry, you didn't lose any data or did anything wrong.
Just setup some merge tool, use hg update -C
to start from clean slate. Proceed with hg merge
.
Maybe what you need is a merge tool
UPDATE:
Of course you may want to use SSH with X11 forwarding
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With