FriendCode / gittle

Pythonic Git for Humans
Other
732 stars 90 forks source link

在windows下使用 gittle.switch_branch 报错 #76

Open khlipeng opened 8 years ago

khlipeng commented 8 years ago

我在windows下使用 switch_branch 切换分支报错,在Mac下正常~

1136 def clean(self, force=None, directories=None): 1137 untracked_files = self.untracked_files -> 1138 map(os.remove, untracked_files) 1139 return untracked_files 1140 : This is the error: WindowsError: [Error 3] : u'.git\refs\remotes\origin\v1.0'

hanleilei commented 8 years ago

Hay dude, English, Please describe your question in English...

khlipeng commented 8 years ago

I use the switch branch branch_switching error at windows, Apple under normal ~

zhaoyc1990 commented 7 years ago

me too;

repo.switch_branch('dev') Traceback (most recent call last): File "", line 1, in File "build\bdist.win-amd64\egg\gittle\gittle.py", line 1185, in switch_branch

File "build\bdist.win-amd64\egg\gittle\gittle.py", line 1207, in clean_working

File "build\bdist.win-amd64\egg\gittle\gittle.py", line 1200, in clean WindowsError: [Error 32] : '.git\objects\pack\pack-aa48931cc1e1008153ac757bed 84aae75478fa9b.pack'