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