From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthieu Brucher Subject: Re: git p4 clone not processing branches properly Date: Mon, 8 Jul 2013 11:51:42 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Cc: Git Mailing List To: Vitor Antunes X-From: git-owner@vger.kernel.org Mon Jul 08 12:51:50 2013 Return-path: Envelope-to: gcvg-git-2@plane.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Uw92q-0001Cg-1g for gcvg-git-2@plane.gmane.org; Mon, 08 Jul 2013 12:51:48 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751510Ab3GHKvo (ORCPT ); Mon, 8 Jul 2013 06:51:44 -0400 Received: from mail-oa0-f42.google.com ([209.85.219.42]:59940 "EHLO mail-oa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751430Ab3GHKvn (ORCPT ); Mon, 8 Jul 2013 06:51:43 -0400 Received: by mail-oa0-f42.google.com with SMTP id j6so6153539oag.15 for ; Mon, 08 Jul 2013 03:51:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=bzo8l2V2D2wePsHQ70tLMznuh9QUt4TJO94XYy3ljN8=; b=tSBcWf5olKMDiegu6hIXL/TG1G3l6DcbCVQM36t01ZykzWvguiyIyjHE/tIUCpMVpY yum4C0vGATgx2PzgS0Ya2isM8yNQA4O3421JlTICcVumaBD+nFzYwpzTVI2drQsBXsm4 zrQ63IOqW8obpKUOl+yM0ttr1WDFoJCYGLafG7iVnTnnHOs7+m9hSuGGKdvp905tBYXR KIepp0gC/EONoY/ZVqe289a8H56BGyjWmC7I55y6XJhqKaEv+CMaHOLTtZNe+2i1nzJt FyXcO7l+rZCtzh9gcc527geYqwYFz4a3U3mwwVJQMZm3CjFh/Iu1aPnREslxexpy58j5 55tg== X-Received: by 10.60.123.10 with SMTP id lw10mr19857607oeb.102.1373280702896; Mon, 08 Jul 2013 03:51:42 -0700 (PDT) Received: by 10.76.153.5 with HTTP; Mon, 8 Jul 2013 03:51:42 -0700 (PDT) In-Reply-To: Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: 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 : > On Mon, Jul 8, 2013 at 11:09 AM, Matthieu Brucher > 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 " >> 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/