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
Patrick Rouleau <prouleau72@gmail.com>
Date
Dec 2, 2017, 19:58 UTC
Message-ID
<CAL1_K8DGVzcbWFPz3vbEntB08sEhrV-j-sLxAh0QhV=8KRGf-Q@mail.gmail.com>
In-Reply-To
<CAE5ih78GOFqe_Vb3k_-jPiS7zbX1EdvYmsUyWvKKy=xOH9WrcQ@mail.gmail.com>
On Sat, Dec 2, 2017 at 12:55 PM, Luke Diamand <luke@diamand.org> wrote:
Show 7 quoted lines
> 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").

Sorry, but these commands only show the date and an extract of the commit message.

Show 5 quoted lines
>
> 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.

Overall, the depot history is very "messy". It contains a lot of projects. The project on which I work has reach v5 and it has been branched from v4. From p4v's "show graph", I can see there was a 'main' branch at some point, but it doesn't exist anymore.

One of the files missing from my clone only has 2 revisions and it was created in the v5 branch. It was created at 608436 and modified at 608816. I cloned from 610443, mainly because we added a feature branch and I want to access it from git too (610443 is one month before the branch creation).

I will play a little bit with p4 to see if I can locate where the problem comes from and maybe hack git-p4 to make it more verbose.

Thanks, P. Rouleau

Previous: Luke Diamand
Message 7 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.