FriendCode / gittle

Pythonic Git for Humans
Other
732 stars 90 forks source link

Windows under the repository to create the file, the next initialization, it will prompt already exists, and error #90

Closed zhaoyc1990 closed 7 years ago

zhaoyc1990 commented 7 years ago

repo = Gittle.clone(repo_url, repo_path) The first time, normal!!!!!!!!!!!! repo = Gittle.init("D:\py\django\wocao", bare=True) Traceback (most recent call last): File "", line 1, in File "build\bdist.win-amd64\egg\gittle\gittle.py", line 312, in init File "C:\Python27\lib\site-packages\dulwich-0.15.0-py2.7.egg\dulwich\repo.py", line 945, in init_bare return cls._init_maybe_bare(path, True) File "C:\Python27\lib\site-packages\dulwich-0.15.0-py2.7.egg\dulwich\repo.py", line 914, in _init_maybe_bare os.mkdir(os.path.join(path, *d)) WindowsError: [Error 183] : 'D:\py\django\wocao\refs' The second time, being given!!!!!!!!!

If you go to the repository inside the file created by gittle to delete and then run Gittle.initi () on the normal

help me, how to solve this problem?