Ticket UUID: | 3f0c73f2d2d08eb454339b49e4978f385bc4c385 | ||
Title: | diff-command with parameter doesn't work | ||
Status: | Fixed | Type: | Code_Defect |
Severity: | Important | Priority: | |
Subsystem: | Resolution: | Fixed | |
Last Modified: | 2009-10-31 15:09:12 | ||
Version Found In: | 37f295c310 | ||
Description & Comments: | |||
> fossil set diff-command 'diff -u' > fossil diff ... sh: diff -u: command not found rwilson added on 2009-09-22 13:26:01: drh added on 2009-09-22 14:30:57: I suppose the right solution here is to require windows people with spaces in their pathnames to add their own double-quotes around those paths. Otherwise, there is no way (that I can see) to distinguish between spaces in pathnames and separate arguments in a command. rwilson added on 2009-09-22 18:42:22: PS C:\fossil\xyntservice> fossil setting editor C:\progra~1\JGsoft\EditPadPro6\EditPadPro.exe /newinstance Usage: C:\WINDOWS\system32\fossil.exe setting ?PROPERTY? ?VALUE? PS C:\fossil\xyntservice> fossil settings editor '"c:\program files\jgsoft\editpadpro6\editpadpro.exe" /newinstance' Usage: C:\WINDOWS\system32\fossil.exe settings ?PROPERTY? ?VALUE? PS C:\fossil\xyntservice> fossil setting editor "C:\progra~1\JGsoft\EditPadPro6\EditPadPro.exe /newinstance" PS C:\fossil\xyntservice> fossil settings autosync (local) 1 diff-command dont-push editor (local) C:\progra~1\JGsoft\EditPadPro6\EditPadPro.exe /newinstance gdiff-command (local) C:\Program Files\Beyond Compare 3\BComp.exe http-port localauth (local) 0 clearsign (local) 0 pgp-command mtime-changes proxy web-browser PS C:\fossil\xyntservice> rwilson added on 2009-09-22 18:55:18: PS C:\fossil\xyntservice> fossil settings editor """c:\program files\jgsoft\editpadpro6\editpadpro.exe"" /newinstance" Usage: C:\WINDOWS\system32\fossil.exe settings ?PROPERTY? ?VALUE? drh added on 2009-10-31 15:09:12: |