git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-p4: exception when cloning a perforce repository
@ 2014-01-13 13:37 Damien Gérard
  2014-01-14  0:18 ` Pete Wyckoff
  0 siblings, 1 reply; 11+ messages in thread
From: Damien Gérard @ 2014-01-13 13:37 UTC (permalink / raw)
  To: git


Hi !

I am trying to clone a perforce repository via git and I am having the following backtrace :

{14:20}~/projects/####:master ✗ ➭ git p4 clone //depot/@all .
Importing revision …
[...]
Importing revision 59702 (45%)Traceback (most recent call last):
  File "/opt/git/libexec/git-core/git-p4", line 3287, in <module>
    main()
  File "/opt/git/libexec/git-core/git-p4", line 3281, in main
    if not cmd.run(args):
  File "/opt/git/libexec/git-core/git-p4", line 3155, in run
    if not P4Sync.run(self, depotPaths):
  File "/opt/git/libexec/git-core/git-p4", line 3008, in run
    self.importChanges(changes)
  File "/opt/git/libexec/git-core/git-p4", line 2680, in importChanges
    self.initialParent)
  File "/opt/git/libexec/git-core/git-p4", line 2304, in commit
    self.streamP4Files(new_files)
  File "/opt/git/libexec/git-core/git-p4", line 2218, in streamP4Files
    cb=streamP4FilesCbSelf)
  File "/opt/git/libexec/git-core/git-p4", line 482, in p4CmdList
    cb(entry)
  File "/opt/git/libexec/git-core/git-p4", line 2212, in streamP4FilesCbSelf
    self.streamP4FilesCb(entry)
  File "/opt/git/libexec/git-core/git-p4", line 2167, in streamP4FilesCb
    self.streamOneP4File(self.stream_file, self.stream_contents)
  File "/opt/git/libexec/git-core/git-p4", line 2078, in streamOneP4File
    if data[-1] == '\n':
IndexError: string index out of range


git —version: git version 1.8.5.2.309.ga25014b [last commit from master from github.com/git/git]
os : ubuntu 13.10


Any ideas ? :)

Best regards,
Damien

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-01-20 14:01 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-13 13:37 git-p4: exception when cloning a perforce repository Damien Gérard
2014-01-14  0:18 ` Pete Wyckoff
2014-01-14 23:24   ` Pete Wyckoff
2014-01-15  8:56     ` Damien Gérard
2014-01-16 13:08       ` Pete Wyckoff
2014-01-16 13:46         ` Damien Gérard
2014-01-16 14:45           ` Pete Wyckoff
2014-01-16 16:02             ` Damien Gérard
2014-01-18 18:22               ` Pete Wyckoff
2014-01-20 12:14                 ` Damien Gérard
2014-01-20 14:01                 ` Damien Gérard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).