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

Re: git p4 clone not processing branches properly

From
Vitor Antunes <vitor.hda@gmail.com>
Date
Jul 5, 2013, 18:36 UTC
Message-ID
<CAOpHH-WAjjaa3oOXje3u5bBWb=vm-2wG1KYf8oKwH__XLK4R2A@mail.gmail.com>
In-Reply-To
<CAHCaCkLpobqTOUMeK2TP_=VkjRo4P3-dMwt85_CaasSuRNE1Kg@mail.gmail.com>

On Fri, Jul 5, 2013 at 7:11 PM, Matthieu Brucher <matthieu.brucher@gmail.com> wrote:

Show 8 quoted lines
>> Hi Matthieu,
>>
>> Could you please try using //Depot/Project<at>all instead of selecting a
>> specific revision?
>
> I can try. Indeed, at this revision, the two other branches do not yet
> exist. But @all will get everything? Last time, I only got head
> (IIRC).

Our P4 server has a limitation on the number of lines returned by "p4 changes" command, so sometimes I have to use @change_start,@change_stop instead of @all. You might want to use this range limitation to test git-p4 by limiting to a small number of changelists that allows you to check if at least one branch is correctly detected.

Show 7 quoted lines
>> Also, by using that command it means that the following depot paths must
>> exist:
>> //Depot/Project/Branch/Main
>> //Depot/Project/Releases/2013
>> //Depot/Project/Branch/Feature1
>
> Yes, they indeed do.
In this case the problem should not be in branchList configuration.
Show 6 quoted lines
>> I've never used the --use-client-spec, so I'm not sure if that will not
>> break the branch detection code.
>
> I need to do that because if I don't, the depot is clobbed with
> binaries. Or perhaps if I put some .gitignore stuff, I might not do
> this?

Keep using it, at least for now. If everything else fails we can look at this again.

Cheers, Vitor

Previous: Matthieu BrucherNext: Matthieu Brucher
Message 4 of 12 in “Re: git p4 clone not processing branches properly”
  1. Matthieu BrucherJul 5, 2013
  2. Vitor AntunesJul 5, 2013
  3. Matthieu BrucherJul 5, 2013
  4. Vitor AntunesJul 5, 2013
  5. Matthieu BrucherJul 5, 2013
  6. Matthieu BrucherJul 8, 2013
  7. Vitor AntunesJul 8, 2013
  8. Matthieu BrucherJul 8, 2013
  9. Matthieu BrucherJul 8, 2013
  10. Vitor AntunesJul 8, 2013
  11. Matthieu BrucherJul 8, 2013
  12. Vitor AntunesJul 13, 2013

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.