I'm trying to use diff3 with Unison to merge different versions of files, but it seems to think that the path "C:\Documents and Settings" is three paths. This seems to have to do with how diff3 uses diff, because it is diff that returns the error, as shown in the output below.
Is there some sort of escape that I can put around the paths so they will be passed to diff correctly?
Thanks, Josiah Yoder
--input--
diff3 "C:/Documents and Settings/yoderj/Desktop/a/original.txt" "C:/Documents and Settings/yoderj/Desktop/b/original.txt" "C:/Documents and Settings/yoderj/Desktop/b/original.txt" -m | more
--output--
C:\PROGRA~1\GnuWin32/bin/diff.exe: extra operand Settings/yoderj/Desktop/b/original.txt'' C:\PROGRA~1\GnuWin32/bin/diff.exe: TryC:\PROGRA~1\GnuWin32/bin/diff.exe --help ' for more information.
iff3: subsidiary program `C:\PROGRA~1\GnuWin32/bin/diff.exe' failed (exit statu
s 2)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
version 2.8.7
I'm trying to use diff3 with Unison to merge different versions of files, but it seems to think that the path "C:\Documents and Settings" is three paths. This seems to have to do with how diff3 uses diff, because it is diff that returns the error, as shown in the output below.
Is there some sort of escape that I can put around the paths so they will be passed to diff correctly?
Thanks, Josiah Yoder
--input--
diff3 "C:/Documents and Settings/yoderj/Desktop/a/original.txt" "C:/Documents and Settings/yoderj/Desktop/b/original.txt" "C:/Documents and Settings/yoderj/Desktop/b/original.txt" -m | more
--output--
C:\PROGRA~1\GnuWin32/bin/diff.exe: extra operand
Settings/yoderj/Desktop/b/original.txt'' C:\PROGRA~1\GnuWin32/bin/diff.exe: TryC:\PROGRA~1\GnuWin32/bin/diff.exe --help ' for more information.iff3: subsidiary program `C:\PROGRA~1\GnuWin32/bin/diff.exe' failed (exit statu
s 2)