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

Re: git-p4 Question

From
Luke Diamand <luke@diamand.org>
Date
Apr 24, 2015, 09:20 UTC
Message-ID
<553A0ACF.4000006@diamand.org>
In-Reply-To
<CAFcBi88ZohscEZXVXbaf+6=ZKJAy9LRfn2-4WT0JV+1RodBTJg@mail.gmail.com>
On 23/04/15 14:42, FusionX86 wrote:
Show 7 quoted lines
> Hi Luke,
>
> I found a silly mistake I was making in the command I've been using.
> The folder under the depot should have been capitalized, but it
> wasn't. Also, I expected that if there was a problem with the command,
> it would fail with some message instead of creating an empty local git
> repo.

I would expect that as well - it will usually create the empty git repo, but it should then fail with an error message, like this:

$ git p4 clone //depot/main/nosuchpath Importing from //depot/main/nosuchpath into nosuchpath Initialized empty Git repository in /home/lgd/p4-hacking/git/nosuchpath/.git/ Doing initial import of //depot/main/nosuchpath/ from revision #head into refs/remotes/p4/master p4 returned an error: //depot/main/nosuchpath/...#head - no such file(s).

$ echo $? 1

If you get a moment can you send your command output; if it's not doing something like the above, then it's a bug.

Thanks!
Luke
Previous: FusionX86Next: FusionX86
Message 8 of 10 in “git-p4 Question”
  1. FusionX86Apr 20, 2015
  2. Sam VilainApr 20, 2015
  3. FusionX86Apr 21, 2015
  4. Luke DiamandApr 20, 2015
  5. FusionX86Apr 21, 2015
  6. Luke DiamandApr 21, 2015
  7. FusionX86Apr 23, 2015
  8. Luke DiamandApr 24, 2015
  9. FusionX86Apr 24, 2015
  10. Luke DiamandApr 26, 2015

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.