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 8, 2013, 10:24 UTC
Message-ID
<CAOpHH-WiH8K__Wm_0WmnDpY8OKMWVz5-sOQWZ1vtb0GPJ44USQ@mail.gmail.com>
In-Reply-To
<CAHCaCkL=ghxktJHDEVPfn73o-6oPQnXQv1NBCwxkwsM==-bQ4A@mail.gmail.com>

On Mon, Jul 8, 2013 at 11:09 AM, Matthieu Brucher <matthieu.brucher@gmail.com> wrote:

Show 11 quoted lines
> Hi again,
>
> I tried with @all, but it didn'y work as expected. It imported a bunch
> of revisions (but no files?) and ended with:
>   Reading pipe: ['git', 'config', '--bool', 'git-p4.importLabels']
>   Not checking out any branch, use "git checkout -q -b master <branch>"
>   executing git config --bool git-p4.useclientspec true
>
> And when I tried to checkout Branch/Main, it failed with
>   fatal: Cannot update paths and switch to branch 'master' at the same time.
>   Did you intend to checkout 'Branch/Main' which can not be resolved as commit?
Hi Matthieu,

Please run "git branch -a" in that repository and you should be able to see the various branches under /remotes/p4/ Then you just need to choose a branch and run "git checkout -b git_branch_name p4/p4_branch_name".

Cheers, Vitor

Previous: Matthieu BrucherNext: Matthieu Brucher
Message 7 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.