What's wrong with Mercurial in v. 1.4.3? - mercurial

I've just installed latest 1.4.3 version of Mercurial and see new status messages for unknown/modified files.
Previous versions showed this for modified files:
M README.txt
This new version shows some gibberish like:
←[0;32;1m file.txt←[0m
What is this and how to interpret it?
Also, is it possible to revert to the old style notation?
SOLUTION:
If you happened to enable the 'color' plugin on Windows you'd get above behavior. After I commented the 'color' plugin, everything went back to normal.

Looks like Ansi control codes, ie. codes to change color and other things on terminal.
These codes doesn't work on XP terminal (worked on Dos terminals with ANSI.SYS in config).
Look if there is a setting somewhere to disable colored output.

Related

How to find out in which Chromium version a commit was shipped

For example I need to know when this commit, that resolved this issue, was released to be able to support newer and older Chrome versions.
Chromium's current version is specified in this file: chrome/VERSION So you will have to look at that file, to find out in which version that commit is present. For example, the link you have posted points to commit id: 277a0c8 which can be seen in that page and if you click that commit id which points to: https://chromium.googlesource.com/chromium/src/+/277a0c817996a9ea0617a410d356d57e1cf8d548
So in your case if you look at this file: https://chromium.googlesource.com/chromium/src/+/277a0c817996a9ea0617a410d356d57e1cf8d548/chrome/VERSION, that commit was merged in Chromium version 81.0.4035.0
Hope that helps
Another way is to use the Chromium Dash service:
https://chromiumdash.appspot.com/commits?commit=277a0c817996a9ea0617a410d356d57e1cf8d548&platform=Linux

Prevent opening Visual Studio Code when click Show In Folder in Chrome

I've been googling and fighting this for a half a day already.
When I download something in Google Chrome I want to go to the folder with a file. But when I press 'Show in folder' a Visual Studio Code starts instead of my Thunar. How can I fix this?
Firefox opens folders ok but Chromium, Google-Chrome and Opera kicks of Visual Studio Code.
My system is Linux Mint Tara. I've already tried some things. Like added
[Default Applications]
inode/directory=Thunar.desktop
to /home/[user]/.config/mimeapps.list
Completely removed code.desktop from /usr/share/applications/mimeinfo.cache
Ran xdg-mime default Thunar.desktop inode/directory and the output of xdg-mime query default inode/directory is Thunar.desktop!!!
Even fully removed code.desktop from filesystem. Nothing worked!
Please help, this annoys me so much.
This is caused by MimeType=text/plain;inode/directory; which can be found in /usr/share/applications/code.desktop for what I can find.
What fixed it for me is changing this line to MimeType=text/plain; and removing code.desktop from /usr/share/applications/mimelist.cache
EDIT
A more permanent solution i've found is the following.
add inode/directory=org.gnome.Nautilus.desktop to the ~/.local/share/applications/mimeapps.list file.
After doing this make sure to the inode/directory entry is the same or not present at all in ~/.local/share/applications/mimelist.cache' and /usr/share/applications/mimelist.cache
org.gnome.Nautilus.desktop can be replaced by your preferred file explorer if you don't use Nautilus.
You might need to restart your desktop environment for the changes to apply.
The solution is simpler,
What happens is that the system orders the directory opening preferences.
Just go to the file manager > select a folder > right click > open with another application > select the file manager.
This will update the opening preferences for the directories.
Finally found! it. I had to delete
inode/directory; /usr/share/code/code --new-window %s; test=test -n "$DISPLAY"
line in the /etc/mailcap file. Bingo!
Chromium related browsers seems to not respect xdg settings on not full-fledged Desktop environments like i3wm which I use. Because the problem was not reproducible when I logged in with xfce4 session.

Phpstorm shows js files as updated

When doing "Sync with deployed on ..." in phpstorm, the diff shows as if all local js files were updated recently and thus offers to upload them even they were not changed or most recent changes are on the server. Anyone had this weird issue or knows how to fix it?
The GUI allows you to switch to "Compare by: Content". Note that this will be more bandwidth-intensive than comparing by modification date.
See e.g. this for a screenshot: https://www.jetbrains.com/phpstorm/help/comparing-deployed-files-and-folders-with-their-local-versions.html

WebStorm/PhpStorm, issue with terminal on Windows 10

I decided to try Windows 10, but having problem to make terminal works inside WebStorm/PhpStorm.
When I open terminal, sometimes it's completely black, sometimes it loads the project folder but I cannot type there. There is a way to run it in the external window, but I just got accustomed to work with console like internal window inside WebStorm/PhpStorm...
I tried cmd, Power Shell - same results.
Any ideas?
Workaround: Terminal works fine in Windows 10 if you use legacy console.
To do so, open a command prompt window, right click on the title, then select Properties. At the bottom, check "Use legacy console". Confirm the dialog window and go back to WebStorm to launch a new terminal. It should work.
In any case, this is the ticket to watch after:
https://youtrack.jetbrains.com/issue/IDEA-143300 -- star/vote/comment to get notified on progress.
UPDATE:
This issue has now been resolved -- the fix will arrive in next major version -- PhpStorm v10/WebStorm v11 (or whatever that version will be as long as it's based on 142.xx branch or newer).
UPDATE:
For those who have problems with right clicking and finding "Properties" menu entry:
Just for the record: I have confirmation from JetBrains that it will be fixed (i.e. work with non-legacy mode) in WebStorm 11 which is scheduled for the beginning of November. In the EAP version it should already work.

Can't comment code in phpStorm using cmd+/ if selected code is right after php opening tag

I am having an annoying problem and I don't know if this is the default behavior or if I did something wrong (maybe accidentally changed some configuration values?).
When I am trying to comment code using keys cmd+/ and cursor is (or selection begins) on the code line right after opening php tag, nothing happens (see screenshot below)
but if I move cursor (or start of selection) by one line, commenting code with cmd+/ works fine (see screenshot below).
Am I missing something, could anyone confirm this behavior or maybe someone knows a solution to this annoying problem?
I am using phpStorm 7.1 (Build #PS-133.982) on Mac OS 10.9.2
By the way Cmd+Alt+/ works fine on both cases, but it creates block comment, not line comment.
Well, I can confirm this behaviour on 7.1.3 on Windows 7 x64 SP1.
But it works just fine in v8 EAP build 136.1255
You can try EAP build yourself (you can run it alongside with v7 -- just not the same project in both IDEs at the same time) -- http://eap.jetbrains.com/phpstorm