pijul_org / pijul

#410 `pijul init` fails with misleading error when parent directory has .pijul folder

Opened by jimbo1qaz, on June 25, 2019
jimbo1qaz commented on June 25, 2019

If I try to run pijul init in a subdirectory when a parent directory has .pijul, I get error Repository "/path/to/parent/child" already exists. The error claims the child contains a repository, instead of listing the path of the parent.\r+ \r + This can be resolved by:\r + \r +

  • Replacing the printed path with the parent directory containing .pijul\r +
  • Rewording the error to indicate "this folder is inside a parent repo"\r +
  • Doing both.\r + \r + I may be able to add a patch to change this in master?