The sound distributed version control system

#262 wrong debug log

Closed on January 14, 2021
tankf33der on January 14, 2021

Latest pijul from nest contains enabled debug code and always writes to log file.

$ rm -rf p1
$ pijul init p1
$ cd p1
$ ls -la
total 28
drwxr-xr-x   3 mpech mpech  4096 jan 14 21:25 .
drwx------ 130 mpech mpech 20480 jan 14 21:25 ..
drwxr-xr-x   4 mpech mpech  4096 jan 14 21:25 .pijul
$ pijul ls
Error: No such file or directory (os error 2)
$ ls -la
total 28
drwxr-xr-x   3 mpech mpech  4096 jan 14 21:25 .
drwx------ 130 mpech mpech 20480 jan 14 21:25 ..
drwxr-xr-x   4 mpech mpech  4096 jan 14 21:25 .pijul
$ pijul ls
$ ls -la
total 32
drwxr-xr-x   3 mpech mpech  4096 jan 14 21:26 .
drwx------ 130 mpech mpech 20480 jan 14 21:25 ..
-rw-r--r--   1 mpech mpech    21 jan 14 21:26 log
drwxr-xr-x   4 mpech mpech  4096 jan 14 21:25 .pijul
$
tankf33der on January 14, 2021

and latest pijul from crates too.

pmeunier added a change on January 14, 2021
W5NU4F6JQ52TZPV3ATPQ5NYWWIFODMR6RFV47JHGOGU47GSJVMRQC
main
pmeunier on January 14, 2021

Just pushed a fix, sorry about that. The changes that led to this are quite massive, Pijul now spawns a background process to avoid having commands locking up each other.

pmeunier closed this discussion on January 14, 2021
tankf33der on January 14, 2021

No log file anymore, still issue, alpha.34 from crates:

$ cd repo
$ /home/mpech/.cargo/bin/pijul ls
Error: No such file or directory (os error 2)
$