[darcs-devel] [patch2027] fix creation of temporary directories

Ganesh Sittampalam bugs at darcs.net
Sat Jul 4 15:25:37 UTC 2020


Ganesh Sittampalam <ganesh at earth.li> added the comment:

Unfortunately it's still failing (I double-checked I have the
"diff command: withTempDir->withDelayedDir" patch) - full output
attached.

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/patch2027>
__________________________________
-------------- next part --------------
diff (Darcs3) (PatienceDiff): [Failed]
|
| export DARCS_TMPDIR=`pwd`/tmp
| ++ pwd
| ++ ghc --make -o hspwd /home/ganesh/darcs/screened/tests/bin/hspwd.hs
| ++ ./hspwd
| + export 'DARCS_TMPDIR=C:\Users\Ganesh\AppData\Local\Temp\tmp3A8E/tmp'
| + DARCS_TMPDIR='C:\Users\Ganesh\AppData\Local\Temp\tmp3A8E/tmp'
| mkdir tmp
| + mkdir tmp
|
| rm -rf temp1
| + rm -rf temp1
| darcs init temp1
| + darcs init temp1
| cd temp1
| + cd temp1
|
| echo text > afile.txt
| + echo text
| darcs record -lam init
| + darcs record -lam init
| darcs diff
| + darcs diff
| diff: darcs-diff-e7b8195ee68f0c35\old-temp1: No such file or directory
| diff: darcs-diff-e7b8195ee68f0c35\new-temp1: No such file or directory
| darcs diff --no-unified -p . --store-in-mem > diffinmem
| + darcs diff --no-unified -p . --store-in-mem
| diff: darcs-diff-0a384a201d84306f\old-temp1: No such file or directory
| diff: darcs-diff-0a384a201d84306f\new-temp1: No such file or directory
| darcs diff --no-unified -p . --no-store-in-mem > diffondisk
| + darcs diff --no-unified -p . --no-store-in-mem
| diff: darcs-diff-7b58930383e15a43\old-temp1: No such file or directory
| diff: darcs-diff-7b58930383e15a43\new-temp1: No such file or directory
| diff diffinmem diffondisk
| + diff diffinmem diffondisk
|
| echo text >> afile.txt
| + echo text
| darcs diff | sed 's/afile\.txt.*//'> diffnoarg
| + darcs diff
| + sed 's/afile\.txt.*//'
| diff: darcs-diff-e6ba726004fdefb2\old-temp1: No such file or directory
| diff: darcs-diff-e6ba726004fdefb2\new-temp1: No such file or directory
| darcs diff . | sed 's/afile\.txt.*//' > diffdot
| + darcs diff .
| + sed 's/afile\.txt.*//'
| diff: darcs-diff-9ec84f6cc41ca8b9\old-temp1: No such file or directory
| diff: darcs-diff-9ec84f6cc41ca8b9\new-temp1: No such file or directory
| diff diffnoarg diffdot
| + diff diffnoarg diffdot
|
| cd ..
| + cd ..
| rm -rf temp1
| + rm -rf temp1
|
|
| # issue966
|
| darcs init temp1
| + darcs init temp1
| cd temp1
| + cd temp1
| echo "aaa diff" > file
| + echo 'aaa diff'
| darcs record -lam "aaa"
| + darcs record -lam aaa
| echo "bbb diff" >> file
| + echo 'bbb diff'
| darcs record -a -m "bbb"
| + darcs record -a -m bbb
|
| darcs diff --patch "aaa" | grep "aaa diff"
| + darcs diff --patch aaa
| + grep 'aaa diff'
| diff: darcs-diff-f5545bb9ee300a64\old-temp1: No such file or directory
| diff: darcs-diff-f5545bb9ee300a64\new-temp1: No such file or directory


More information about the darcs-devel mailing list