git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git-p4: cloning with a change number does not import all files

From
Luke Diamand <luke@diamand.org>
Date
Dec 2, 2017, 17:55 UTC
Message-ID
<CAE5ih78GOFqe_Vb3k_-jPiS7zbX1EdvYmsUyWvKKy=xOH9WrcQ@mail.gmail.com>
In-Reply-To
<CAL1_K8A=7xmLCYzWa0ejtwjy9P+rD+D0cqz+kOXCaQWOgQfuEw@mail.gmail.com>
On 2 December 2017 at 15:35, Patrick Rouleau <prouleau72@gmail.com> wrote:
Show 21 quoted lines
> On Fri, Dec 1, 2017 at 7:45 AM, Lars Schneider <larsxschneider@gmail.com> wrote:
>> Oh, I am with you. However, I only used git-p4 for a very short time in the
>> way you want to use it. Therefore, I don't have much experience in that kind
>> of usage pattern. I was able to convice my management to move all source to
>> Git and I used git-p4 to migrate the repositories ;-)
>>
>> Here is a talk on the topic if you want to learn more:
>> https://www.youtube.com/watch?v=QNixDNtwYJ0
>>
>> Cheers,
>> Lars
>
> Sadly, there is no way I convince the company to switch to git. They
> have acquired
> many companies in the past years and they have standardized around Perforce.
> It is in part because they want access control and they need to store
> a lot of binary
> files (including big VM images).
>
> I keep this video close to explain why I like git:
> https://www.youtube.com/watch?v=o4PFDKIc2fs
I feel your pain.

I think I've sort of stumbled across something like the problem you've described in the past. Perhaps the files you need have been deleted and then re-integrated or some such.

Would you be able to take a look at some files with this problem and see if you can spot what's happened to it ("p4 changes" and perhaps "p4 changes -i").

One thing that can certainly happen is that Perforce gets *very* confused if you start getting too clever with symlinked directories, and git-p4 can only do so much in the face of this. But it may be something else.

Thanks Luke

Previous: Patrick RouleauNext: Patrick Rouleau
Message 6 of 7 in “git-p4: cloning with a change number does not import all files”
  1. Patrick RouleauNov 25, 2017
  2. Lars SchneiderNov 27, 2017
  3. Patrick RouleauNov 29, 2017
  4. Lars SchneiderDec 1, 2017
  5. Patrick RouleauDec 2, 2017
  6. Luke DiamandDec 2, 2017
  7. Patrick RouleauDec 2, 2017

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.