On Monday, August 17, 2015 at 1:39:42 PM UTC+1, Damien GERARD wrote:
>
> I am trying to import a full perforce repository, and I've got the 
> following exception:
>
>   File "/home/dgerard/libexec/git-core/git-p4", line 3287, in <module>
>     main()
>   File "/home/dgerard/libexec/git-core/git-p4", line 3281, in main
>     if not cmd.run(args):
>   File "/home/dgerard/libexec/git-core/git-p4", line 3155, in run
>     if not P4Sync.run(self, depotPaths):
>   File "/home/dgerard/libexec/git-core/git-p4", line 3008, in run
>     self.importChanges(changes)
>   File "/home/dgerard/libexec/git-core/git-p4", line 2680, in importChanges
>     self.initialParent)
>   File "/home/dgerard/libexec/git-core/git-p4", line 2304, in commit
>     self.streamP4Files(new_files)
>   File "/home/dgerard/libexec/git-core/git-p4", line 2218, in streamP4Files
>     cb=streamP4FilesCbSelf)
>   File "/home/dgerard/libexec/git-core/git-p4", line 482, in p4CmdList
>     cb(entry)
>   File "/home/dgerard/libexec/git-core/git-p4", line 2212, in 
> streamP4FilesCbSelf
>     self.streamP4FilesCb(entry)
>   File "/home/dgerard/libexec/git-core/git-p4", line 2167, in 
> streamP4FilesCb
>     self.streamOneP4File(self.stream_file, self.stream_contents)
>   File "/home/dgerard/libexec/git-core/git-p4", line 2078, in 
> streamOneP4File
>     if data[-1] == '\n':
> IndexError: string index out of range
>
>
> The p4 repository is private but I can do some digging.
>
> git: v2.5.0, ubuntu 15.10 (compiled from sources/tag)
>

Can you try with -v turned on? Looks like it might be a problem file of 
some sort.

i.e. git p4 clone //depot/whatever -v

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to