Re: git p4 clone not processing branches properly
- From
- Matthieu Brucher <matthieu.brucher@gmail.com>
- Date
- Jul 8, 2013, 10:51 UTC
- Message-ID
- <CAHCaCkL6p2ha-8yj4x0G5NodwSdupftCDO4Rst0WTLBRdK2PcA@mail.gmail.com>
- In-Reply-To
- <CAOpHH-WiH8K__Wm_0WmnDpY8OKMWVz5-sOQWZ1vtb0GPJ44USQ@mail.gmail.com>
Unfortunately, git branch -a returns nothing :/ I tried with the simple detect-branches as well as with the config values. Perhaps the spec-client? Although it is strange as it seems that the repository is completely empty.
Thanks,
Matthieu
2013/7/8 Vitor Antunes <vitor.hda@gmail.com>:
Show 23 quoted lines
> On Mon, Jul 8, 2013 at 11:09 AM, Matthieu Brucher > <matthieu.brucher@gmail.com> wrote: >> 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
-- Information System Engineer, Ph.D. Blog: http://matt.eifelle.com LinkedIn: http://www.linkedin.com/in/matthieubrucher Music band: http://liliejay.com/