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

Re: git p4 clone not processing branches properly

From
MBMatthieu Brucher <matthieu.brucher@gmail.com>
Date
Jul 8, 2013, 14:03 UTC
Message-ID
<CAHCaCkJDWTKQk4SrspXVCsCoHStRTaR_PSEgkvqwWHdmiLuY2w@mail.gmail.com>
In-Reply-To
<CAOpHH-WxOhfYYOY8z5rc+O1B5QD8g22L9DFrNFEAtp9YwH+V_A@mail.gmail.com>
Hi,

I tried without spec, but then it tried importing everything, even though there was a .gitignore and a .git/config/exclude file. Then, it crashed during the importation because it could find an old branch (I don't have access to everything on the repository), so I tried importing just the recent past, but then it failed because it identified a branch names Branch/Main/src... It is starting to feel as if I will have to compromise between something that works but without branches and without the proper names (the files are named Project/Branch/Main/...) or having the proper names, but with all binaries, bogus branches... I know it is not due to git, it is mainly that Perforce and git have very different workflows. Or perhaps with any luck, the server is up to date, and I can find a way of using Perforce's bridge.

Thanks,
Matthieu
2013/7/8 Vitor Antunes <vitor.hda@gmail.com>:
Show 24 quoted lines
> On Mon, Jul 8, 2013 at 12:10 PM, Matthieu Brucher
> <matthieu.brucher@gmail.com> wrote:
>> Without the spec client, it seems that the branches are recognized,
>> but there are some many binary files that I need to remove them during
>> the migration.
>> I tried setting a .gitignore beforehand, but it is not respected (I
>> tried to remove some folders with folder/ in .gitignore, but the
>> folder are still imported).
>> It there a switch for the import somewhere?
>
> Hi Matthieu,
>
> Unfortunately I've never tested the branch detection together with spec
> configuration. But there is a test case for it in the code that refers
> to the following question in StackOverflow:
>
> http://stackoverflow.com/questions/11893688
>
> Could you also tell us which version of git you are using?
>
> Pete, maybe you can help Matthieu further on this question?
>
> Thanks,
> Vitor
-- 
Information System Engineer, Ph.D.
Blog: http://matt.eifelle.com
LinkedIn: http://www.linkedin.com/in/matthieubrucher
Music band: http://liliejay.com/
Previous: Vitor AntunesNext: Vitor Antunes
Message 11 of 12 in “Re: git p4 clone not processing branches properly”
  1. Matthieu BrucherJul 5, 2013
  2. Vitor AntunesJul 5, 2013
  3. Matthieu BrucherJul 5, 2013
  4. Vitor AntunesJul 5, 2013
  5. Matthieu BrucherJul 5, 2013
  6. Matthieu BrucherJul 8, 2013
  7. Vitor AntunesJul 8, 2013
  8. Matthieu BrucherJul 8, 2013
  9. Matthieu BrucherJul 8, 2013
  10. Vitor AntunesJul 8, 2013
  11. Matthieu BrucherJul 8, 2013
  12. Vitor AntunesJul 13, 2013

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.