You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>>> r.remotes.origin.fetch('+refs/pull/*:refs/heads/pull/*')
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python2.7/dist-packages/git/remote.py", line 613, in fetch
res = self._get_fetch_info_from_stderr(proc, progress or RemoteProgress())
File "/usr/local/lib/python2.7/dist-packages/git/remote.py", line 555, in _get_fetch_info_from_stderr
for err_line, fetch_line in zip(fetch_info_lines, fetch_head_info))
File "/usr/local/lib/python2.7/dist-packages/git/remote.py", line 555, in
for err_line, fetch_line in zip(fetch_info_lines, fetch_head_info))
File "/usr/local/lib/python2.7/dist-packages/git/remote.py", line 292, in _from_line
raise TypeError("Cannot handle reference type: %r" % ref_type_name)
TypeError: Cannot handle reference type: u"'refs/pull/1/head'"
I could reproduce the issue and am pretty sure there will be a fix today, along with a v0.3.6 release.
What happens is that the fetch succeeds, but it can't make sense of the refs/pull/... paths for some reason and thus fails to wrap it into a corresponding object.
I always and only do it. Started about 12 days ago, and I wouldn't want to miss it anymore.
I'd call it "exstream programming", as it's like pair programming, except for your partner being an anonymous crowd. In any way, it changes and improves the way you approach things, I think.
with the command line
The text was updated successfully, but these errors were encountered: