TortoiseProc.exe logmsg with spaces via PowerShell - tortoisesvn

When I execute this command via PowerShell v2, TortoiseSVN commit window pops up, but I can see only "Latest" message, not "Latest changes". I can't find out why.
TortoiseProc.exe /command:commit /logmsg:"Latest changes" /path:"$loc" /closeonend:1

Related

How can I fix this bug on create react app?

How can I fix this bug on create react app? Whenever I run command "npx create-react-app my-app --template typescript have error as shown in image"
in order for your node-webkit to be able to run this command, you must open your terminal with administrator access and then run the command.
So if you are on Windows, follow the steps below:
For Bash:
1-Right-click on the "on Windows" application and select Properties.
2-Under the Shortcut tab, click Advanced.
3-Select the Run as administrator checkbox and apply the changes.
for Command Prompt
Press the Windows Start button at the bottom left.
Type in "Command Prompt".
Right click on Command Prompt and click "Run as administrator".
Click Yes if the Windows 10 User Account Control prompt is displayed.
If you use vscode, just run the app itself with administrator permission:
If you're on Windows you can:
1-Right click the shortcut or app/exe
2-Go to properties
3-Compatibility tab
4-Check "Run this program as an administrator"
For more information, you can refer to the following links:
1-https://stackoverflow.com/a/30810320/17615078
2-https://stackoverflow.com/a/39948482/17615078

Sublime text 3 with Git-Bash

I was wondering how you can open Sublime text 3 with Git-Bash I keep getting errors saying that bash: subl: command not found does anyone know how to get the file to open up??
You need to add the folder containing subl.exe to your PATH. Here's how to do that in Windows 10:
Open the Windows menu and click on Settings.
In the search box, type in path. Choose the following from the dropdown: Edit environment variables for your account. This window should open:
In the top pane, click on Path, then click the Edit… button. A new window will open up.
Click the New button, then (carefully) type in C:\Program Files\Sublime Text 3. This is assuming you used the installer and didn't choose a custom location for a portable install. If you do have a portable install, use the Browse… button and select the installation folder that way.
Hit OK to close the window, then OK again to close the other one. Finally, close out of Settings.
Completely close out of and restart Git Bash. subl should now be available on the command line.

How to run cmder from start menu

I have been vexed by what I felt should be an easy issue to solve. I have been trying to run the cmder executable from the start menu. But when I type the Cmder in the Run box, Cmder.exe does not show up in the list
But I can see from the cmd that Cmder.exe is present and when I run that exe in cmd , Cmder opens up.
Is there some reason that Cmder.exe does not appear in my start/run command?
Thanks in advance
The reason for this is that Cmder isn't installed like a typical Windows application.
The solution is to add Cmder to your computer's path. See Henrik Sommerfeld's blog post.
Additionally, if you're interested in learning more about what is being used for your searches, click the Filters button. See image below:
Instead of using the Start Menu, install Keypirinha. Then add the folder where you store Cmder and similar tools, to the Keypirinha and you can get rid of the Start Menu.
Keypirinha is faster and much more flexible than the Start Menu - e.g. let you pick the apps from somewhere on your machine.
I have a lot of XCopy-deployable tools like Cmder (and Keypirinha too) in an "Application" Git repository. If I have to provision a new developer machine with all the beloved developer tools, now the fast way is:
install Chocolatey
install Git Extensions via Chocolatey
clone my "Application" Git repository
This a done in less than 10 minutes and it covers 95% of my toolset.
To have CMDER on Windows Context Menu (right click) wherever you want.
Open a terminal as an Administrator
Navigate to the directory you have placed Cmder
Execute .\cmder.exe /REGISTER ALL
If you get a message "Access Denied" ensure you are executing the command in an Administrator prompt.
In a file explorer window right click in or on a directory to see "Cmder Here" in the context menu.
From: https://github.com/cmderdev/cmder#shortcut-to-open-cmder-in-a-chosen-folder
Tip: put the CMDER files in c:\Program Files\CMDER

TortoiseProc Launch failed: The application has failed to start because its side-by-side configuration is incorrect

I installed Tortoise on Windows 10 (my user had admin privileges but installer wasn't ran as admin), and when trying to use any tortoise contextual menu, I was getting this error:
"TortoiseProc Launch failed: The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail."
I verified, "run as Administrator" was not checked for TortoiseProc.exe file. I tried to check it, but this didn't change anything.
So I decided to uninstall it, and install it again. And then I was having this error:
a dialog saying the TortoiseProc.exe requires elevation
Now, when attempting to run the app by double clicking on TortoiseProc.exe, I got a prompt saying this app required privilege admin. Clicking on OK ran it properly. So I guess the prompt isn't displayed when calling it from a contextual menu, and it silently fails.
I fixed the problem by right clicking on TortoiseProc.exe file -> proporties. Then, on the Compatibily tab, I clicked on "Run compatibility troubleshooter". And voila! It fixed the problem: TortoiseProc.exe now runs, and does not ask any admin rights!
Run the Command prompt (cmd.exe) with admin rights and run this command:
SxsTrace Trace -logfile:SxsTrace.etl
Now run the Tortoise program which causes the SideBySide error.
Go back to the command prompt press ENTER to generate the SxsTrace.etl. Now type this:
sxstrace Parse -logfile:SxSTrace.etl -outfile:SxSTrace.txt
Now open the SxSTrace.txt trace and look which VC++ runtime is missing. Go to Microsoft.com, download and install the required version.
If you are unsure, please upload the complete SxSTrace.txt here.

Exceptions using CruiseControl.NET

I recently updated to CC.NET 1.5 and I'm now getting some strange exceptions.
On one project I get: -
ThoughtWorks.CruiseControl.Core.CruiseControlException: Source control operation failed: svn: Can't create a character converter from native encoding to 'UTF-8'
This happens when CC is checking a subversion repository for any mods. If I run the actual command line CC says is failing it works and returns an empty XML (there are no mods).
Some other projects also fail to check mods with another "Source control operation failed" exception but no further info. Again the command is an "svn log" which when run from command line works ok.
I'm using subversion 1.4.5 client side and my source repository exists on a separate box than my build server.
Anyone got any ideas?
Have u try to update Svn client ? I doubt it is so simple, but let's check !
Try a svn cleanup
What is your svn config in ccnet ?
What is the build revision of ccnet you are using ? You should try the latest 1.5.x nigthly build, which is very stable for me.
http://ccnetlive.thoughtworks.com/CCNet-builds/1.5.0/
did you try to change the startup parameters of CCService?
Namely, set the "Allow service to interact with desktop" check box on Log On tab.
Also, you may try to use other account than "Local System".
I am not sure, but seems it may fix the issue, since it may be "Local System" account specific issue effect.

Resources