-
Notifications
You must be signed in to change notification settings - Fork 68
Closed
Description
The scalar clone command fails on local repos paths and gives an incorrect error message.
Git-proper does allow such local repo paths.
jeffhost-mbp ~/work $ scalar clone ./gfw xxx_yyy
Clone parameters:
Repo URL: ./gfw
Branch: Default
Cache Server: Default
Local Cache: /Users/jeffhost/.scalarCache
Destination: /Users/jeffhost/work/xxx_yyy
FullClone: False
Fetching objects from remote...Failed
Cannot clone @ /Users/jeffhost/work/xxx_yyy
Error: Failed to complete regular clone: fatal: './gfw' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
jeffhost-mbp ~/work $ scalar clone file:///Users/jeffhost/work/gfw xxx_yyy
Clone parameters:
Repo URL: file:///Users/jeffhost/work/gfw
Branch: Default
Cache Server: Default
Local Cache: /Users/jeffhost/.scalarCache
Destination: /Users/jeffhost/work/xxx_yyy
FullClone: False
Fetching objects from remote...Succeeded
Checking out 'master'...Succeeded
jeffhost-mbp ~/work $ git clone ./gfw yyy_zzz
Cloning into 'yyy_zzz'...
done.
jeffhost-mbp ~/work $
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels