git/list[1] front-page[2] threads[3] people[4] search[5] about
 

P4 Sync problem

From
DSDmitry Smirnov <divis1969@gmail.com>
Date
Nov 10, 2009, 13:56 UTC
Message-ID
<loom.20091110T145046-137@post.gmane.org>
Hi,

I'm trying to import Perfoce client into Git repository. I had configured git-p4.clent=MYCLIENT and git-p4.useclientspec=true.

When runnign git p4 sync --verbose I got the follwing:
c:\p4\views\Git\p4client>git p4 sync --verbose
Reading pipe: git config git-p4.useclientspec
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 -c MYCLIENT -G client -o
Opening pipe: p4 -c MYCLIENT -G client -o
Reading pipe: git rev-parse --symbolic  --remotes
branches: []
Getting p4 changes for ...
Traceback (most recent call last):
  File "/usr/sbin/git-core//git-p4", line 1929, in ?
    main()
  File "/usr/sbin/git-core//git-p4", line 1924, in main
    if not cmd.run(args):
  File "/usr/sbin/git-core//git-p4", line 1676, in run
    changes = p4ChangesForPaths(self.depotPaths, self.changeRange)
  File "/usr/sbin/git-core//git-p4", line 442, in p4ChangesForPaths
    assert depotPaths
AssertionError
I would appreciate if someone help to solve this problem.
Dmitry
Next: Tor Arvid Lund
Message 1 of 9 in “P4 Sync problem”
  1. Dmitry SmirnovNov 10, 2009
  2. Tor Arvid LundNov 11, 2009
  3. Dmitry SmirnovNov 11, 2009
  4. Tor Arvid LundNov 11, 2009
  5. Dmitry SmirnovNov 11, 2009
  6. Tor Arvid LundNov 11, 2009
  7. Dmitry SmirnovNov 11, 2009
  8. masonkJul 22, 2010
  9. Pete WyckoffNov 15, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.