Closed rholmboe closed 4 years ago
To reproduce
pip3 install --user git+https://github.com/dynamist/sgit.git rh@rh ~ mkdir /tmp/sgit-test rh@rh ~ cd /tmp/sgit-test rh@rh /tmp/sgit-test sgit init Successfully wrote new config file ".sgit.yml" to disk rh@rh /tmp/sgit-test sgit repo add sgit https://github.com/dynamist/sgit.git master Successfully added new repo "sgit" rh@rh /tmp/sgit-test sgit update DEBUG: Repo update - all Are you sure you want to update the following repos "sgit" (y/n) << y Traceback (most recent call last): File "/home/rh/.local/lib/python3.6/site-packages/sgit/cli.py", line 185, in cli_entrypoint exit_code = run(cli_args, sub_args) File "/home/rh/.local/lib/python3.6/site-packages/sgit/cli.py", line 171, in run retcode = core.update(repo) File "/home/rh/.local/lib/python3.6/site-packages/sgit/core.py", line 253, in update repo = Repo(repo_path) File "/home/rh/.local/lib/python3.6/site-packages/git/repo/base.py", line 130, in __init__ raise NoSuchPathError(epath) git.exc.NoSuchPathError: /tmp/sgit-test/sgit > /home/rh/.local/lib/python3.6/site-packages/git/repo/base.py(130)__init__() -> raise NoSuchPathError(epath) rh@rh /tmp/sgit-test
To reproduce