Hi Author,
I have a custom action that call Tortiesehg Patch Reject File Editor since SourceTree currently doesn't provide this feature.
I wrote a script like this:
#!/bin/bash source ~/.bash_profile echo $PYTHONPATH echo $PATH thg rejects $1
SourceTree will hang until I close the patch reject file editor window, that's not really what I expect.
Is it possible to provide an option that let SourceTree not wait for the script ending?
Two ways:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please define "doesn't work".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
'Hang'? No Custom Action I've ever seen causes this. Are you sure thg just doesn't like being called like this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Finally I figure out the solution. It's not a problem of SourceTree
Use --nofork option for thg so that it will not run a background job for THG GUI.
thg --nofork rejects $1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.