JohnstonCode / svn-scm

SVN support for VS Code
MIT License
207 stars 88 forks source link

Unable to commit #515

Closed JohnstonCode closed 5 years ago

JohnstonCode commented 5 years ago

svn extension version: 1.47.5 vscode version: 1.32.3 os: Linux x64 4.4.175-89-default

Issue

since a few updates the svn extension for Visual Studio Code seems to be broken. At least I cannot commit the changes, however committing in the terminal with svn commands is working without issues.

SVN Output

[cs_dev]$ svn cat -r HEAD http://vsvn:8088/svn/cs_dev/trunk/climateraster2/config/drawing/austria_linediagram.yaml
[cs_dev]$ svn info --xml /daten3/nobak/ZAMG/04_CS18-19/cs_dev/climateraster2/config/drawing/austria_linediagram.yaml
[cs_dev]$ svn commit climateraster2/config/drawing/austria_linediagram.yaml -m test --depth empty
[cs_dev]$ svn info --xml /daten3/nobak/ZAMG/04_CS18-19/cs_dev
[cs_dev]$ svn info --xml /daten3/nobak/ZAMG/04_CS18-19/cs_dev
[cs_dev]$ svn stat --xml --no-ignore --ignore-externals
[cs_dev]$ svn cat -r HEAD http://vsvn:8088/svn/cs_dev/trunk/climateraster2/config/drawing/austria_linediagram.yaml
JohnstonCode commented 5 years ago

@ilgatto88

IperStan commented 5 years ago

svn extension version: 1.47.5 vscode version: 1.32.3 os: Win 10 x64

I have a related problem. I noticed a couple of days ago I was able to commit, however, after the commit, its message remains in the input, as if the input was waiting to be "noticed" about the operation.

JohnstonCode commented 5 years ago

Can you copy the svn output when you try and commit please

IperStan commented 5 years ago

I'm sorry, I can't find how to see the svn output in vscode, could you provide me any info?

edgardmessias commented 5 years ago

"SHOW > OUTPUT" and select SVN dropdown

IperStan commented 5 years ago

[myProject]$ svn commit src\components\dashboard\x.vue src\components\dashboard\y.vue -m '~ fix last todos' --depth empty [myProject]$ svn info --xml C:/myProject [myProject]$ svn info --xml C:/myProject [myProject]$ svn info --xml C:/myProject [myProject]$ svn info --xml C:/myProject [myProject]$ svn info --xml C:/myProject [myProject]$ svn info --xml C:/myProject [myProject]$ svn info --xml C:/myProject [myProject]$ svn stat --xml --no-ignore --ignore-externals [myProject]$ svn info --xml [myProject]$ svn cat -r HEAD https://192.168.0.2/svn/myProject/trunk/src/components/dashboard/y.vue

After clicking "Commit" the message "~ fix last todos" remains in the vscode's input

edgardmessias commented 5 years ago

Nice @IperStan, some message are shown after commit?

@JohnstonCode, line to refer https://github.com/JohnstonCode/svn-scm/blob/8471670e67a0ca6d12f7c8ebd050f48eddb017a2/src/commands/commit.ts#L64

IperStan commented 5 years ago

@edgardmessias The above-mentioned log is exactly what was shown after I clicked "Commit", nothing more.

edgardmessias commented 5 years ago

Sorry, I meant if it shows a popup.

Before commit, you can go to "HELP > Toggle developers tools", and make the commit, and check some error message

IperStan commented 5 years ago

This is what I see after hitting "CTRL+ENTER" to commit svn-report

edgardmessias commented 5 years ago

Big thanks @IperStan , now I will try reproduce here

edgardmessias commented 5 years ago

The problem is caused by 17c5438, has removed default encoding.

JohnstonCode commented 5 years ago

:tada: This issue has been resolved in version 1.47.6 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: