-
-
Notifications
You must be signed in to change notification settings - Fork 950
Closed
Labels
Milestone
Description
Installed as python-git
from Debian Testing (package version is 0.3.2~RC1-3):
In [1]: import git
In [2]: repo= git.Repo.init ('merde')
In [3]: pricing= repo.create_remote ('pricing', 'http://user@machine/git/scm/sspc/pricing.git')
In [4]: pricing.fetch ()
---------------------------------------------------------------------------
AssertionError Traceback (most recent call last)
<ipython-input-4-1588473e7cee> in <module>()
----> 1 pricing.fetch ()
/usr/lib/python2.7/dist-packages/git/remote.pyc in fetch(self, refspec, progress, **kwargs)
591 kwargs = add_progress(kwargs, self.repo.git, progress)
592 proc = self.repo.git.fetch(self, refspec, with_extended_output=True, as_process=True, v=True, **kwargs)
--> 593 return self._get_fetch_info_from_stderr(proc, progress or RemoteProgress())
594
595 def pull(self, refspec=None, progress=None, **kwargs):
/usr/lib/python2.7/dist-packages/git/remote.pyc in _get_fetch_info_from_stderr(self, proc, progress)
537 fp.close()
538
--> 539 assert len(fetch_info_lines) == len(fetch_head_info), "len(%s) != len(%s)" % (fetch_head_info, fetch_info_lines)
540
541 output.extend(FetchInfo._from_line(self.repo, err_line, fetch_line)
AssertionError: len(["5487c312cef344b6709a293ba55450861fa2105e\tnot-for-merge\tbranch 'PTR6472300' of http://rndwww.nce.amadeus.net/git/scm/sspc/pricing\n", ...
I cut off the rest because it's lines and lines of output. I'm not sure if you need access to the problematic repo, but given that I can run git fetch
from it and that I can't actually give you such access, we'll have to work from here.
Let me know what data can I give you from the result of this (there is data in the resulting repo, just not sure how consistent).