Re: P4 Sync problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, I know this is an old thread, but I think it might be relevant.  (At any
rate, at least you know I've been looking).

I'm trying to use git-p4 with a very large P4 repository, of which my client
view is a small fraction.  
My client view is within the administrator-set file limit of P4 files. 
E.G., p4 sync //depot/... works.

When I call git-p4 sync or clone, however, it bumps into the limit.  Even if
I am using client spec and detecting branches.  If p4 were successfully
detecting my branches -or- using my client spec, I would not be running into
the limit.  But:

git p4 sync //depot@all --use-client-spec --detect-branches --verbose
Syncing with origin first by calling git fetch origin
executing git fetch origin
Reading pipe: git config git-p4.user
Reading pipe: git config git-p4.password
Reading pipe: git config git-p4.port
Reading pipe: git config git-p4.host
Reading pipe: git config git-p4.client
p4 -u mkramer -c mkramer -G client -o
Opening pipe: p4 -u mkramer -c mkramer -G client -o
Reading pipe: git rev-parse --symbolic  --remotes
Reading pipe: git rev-parse p4/master
p4-git branches: []
initial parents: {}
Getting p4 changes for //depot/...
p4 -u mkramer -c mkramer changes //depot/...
Reading pipe: p4 -u mkramer -c mkramer changes //depot/...
Request too large (over 110000); see 'p4 help maxresults'.
Traceback (most recent call last):
  File "/home/mkramer/git/bin/git-p4", line 1924, in <module>
    main()
  File "/home/mkramer/git/bin/git-p4", line 1919, in main
    if not cmd.run(args):
  File "/home/mkramer/git/bin/git-p4", line 1671, in run
    changes = p4ChangesForPaths(self.depotPaths, self.changeRange)
  File "/home/mkramer/git/bin/git-p4", line 444, in p4ChangesForPaths
    for p in depotPaths]))
  File "/home/mkramer/git/bin/git-p4", line 108, in p4_read_pipe_lines
    return read_pipe_lines(real_cmd)
  File "/home/mkramer/git/bin/git-p4", line 101, in read_pipe_lines
    die('Command failed: %s' % c)
  File "/home/mkramer/git/bin/git-p4", line 59, in die
    raise Exception(msg)
Exception: Command failed: p4 -u mkramer -c mkramer changes //depot/...


Is this a limitation in the current --use-client-spec or --detect-branches
flags, or am I doing it wrong?
-- 
View this message in context: http://git.661346.n2.nabble.com/P4-Sync-problem-tp3979793p5326585.html
Sent from the git mailing list archive at Nabble.com.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]