threads / discuss / 38544

git-p4 is not cloning perforce code properly

Subject: git-p4 is not cloning perforce code properly

## tl;dr

2 messages between Feb 10, 2015 and Feb 10, 2015.

replies: 1people: 2as markdown or json

Sandeep· Feb 10, 2015, 13:54 UTC · lore
Dear All,

I am trying to clone perforce branch from git to my local drive, but it's skipping too many files and change list while fetching it from perforce.

it'll be very helpful if anyone can suggest me about how to git rid with this issue.

Thanks in Advance, Sandeep

-- View this message in context: http://git.661346.n2.nabble.com/git-p4-is-not-cloning-perforce-code-properly-tp7625215.html Sent from the git mailing list archive at Nabble.com.

Luke Diamand· Feb 10, 2015, 15:27 UTC · re: Sandeep · lore

Re: git-p4 is not cloning perforce code properly

When you say "skipping", can you be more specific please? What command line are you using?

If I want to clone the P4 tree at the current revision, I do something like:
$ git p4 clone //depot/sometree/...
That gets me just a single revision.
If I want all revisions back to the start of time, I do:
$ git p4 clone //depot/sometree/...@all

Thanks, Luke

On 10 February 2015 at 13:54, Sandeep <varshneysan@gmail.com> wrote:
Show 20 quoted lines
> Dear All,
>
> I am trying to clone perforce branch from git to my local drive, but it's
> skipping too many files and change list while fetching it from perforce.
>
> it'll be very helpful if anyone can suggest me about how to git rid with
> this issue.
>
> Thanks in Advance,
> Sandeep
>
>
>
> --
> View this message in context: http://git.661346.n2.nabble.com/git-p4-is-not-cloning-perforce-code-properly-tp7625215.html
> Sent from the git mailing list archive at Nabble.com.
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

← back to recent threads