Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble resolving merge conflicts with Mercurial and vscode #32

Closed
erocheleau opened this issue Nov 8, 2017 · 8 comments
Closed

Trouble resolving merge conflicts with Mercurial and vscode #32

erocheleau opened this issue Nov 8, 2017 · 8 comments
Labels

Comments

@erocheleau
Copy link

I have done a simple hg merge branch into my current branch.

2 files are in merge conflicts. They are shown correctly separate from the other files that were auto-merged.
However when trying to open the conflict files to see the comparison about what changed I get the following error:

Unable to open 'gulpfile.js (local <-> other)': Unexpected token p in JSON at position 0.

Also when trying to resolve the file, I get this error:

'echomsg' is not recognized as an internal or external command, operable program or batch file.

in the hg output log.

Don't really know what other information I could provide?

@erocheleau
Copy link
Author

Using hg 4.2.1
Vscode Version 1.17.2

@ghusse
Copy link

ghusse commented Jan 26, 2018

Same thing with mercurial 4.3.1, VSCode 1.19.2 on Linux

@thomasbalsloev
Copy link

thomasbalsloev commented Apr 25, 2018

I have exactly the same problem on Linux Mint 17.2.

HG: 4.4.1
VSC: 1.22.2
HG extension mcrowl: 1.2.3

This makes it impossible for me to use VSC :(
Please fix this issue soon!

@ghusse
Copy link

ghusse commented Apr 25, 2018

@P9GIT As a workaround, you can right-click on the file and select "open files".

Could it be possible to make it the default behavior?

@thomasbalsloev
Copy link

Hi @ghusse

Thanks for your suggestion.
Unfortunately this does not help me resolve the merge conflict for the file as I still can't open the changes view without getting an exception.

@feakuru
Copy link

feakuru commented Mar 11, 2019

any progress on this? how can I help? maybe provide some logs?

@mrcrowl mrcrowl added the bug label Apr 26, 2019
@dnistreanu
Copy link

dnistreanu commented Mar 31, 2020

I can confirm this issue is still reproducible:
HG - v1.3.0
VsCode - 1.43.2
OS - Windows x10 Pro

Error:
Unable to open 'search.scss (local <-> other)': Unexpected token p in JSON at position 0.

@mrcrowl
Copy link
Owner

mrcrowl commented Jun 3, 2020

Released in v1.5.1. Thanks @incidentist!

@mrcrowl mrcrowl closed this as completed Jun 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants