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

Re: [PATCH 0/2] git-p4: fix for handling of multiple depot paths

From
Luke Diamand <luke@diamand.org>
Date
Dec 14, 2015, 23:09 UTC
Message-ID
<CAE5ih7_qY5oF+UWs4gE2eHUu17pBg6TVGTUyRRRcBe12ybkw+Q@mail.gmail.com>
In-Reply-To
<xmqqtwnkhegw.fsf@gitster.mtv.corp.google.com>

Sorry - I've just run the tests, and this change causes one of the test cases in t9800-git-p4-basic.sh to fail.

It looks like the test case makes an assumption about who wins if two P4 depots have changes to files that end up in the same place, and this change reverses the order. It may actually be fine, but it needs to be thought about a bit.

Sam - do you have any thoughts on this?

Thanks Luke

On 14 December 2015 at 22:06, Junio C Hamano <gitster@pobox.com> wrote:
Show 20 quoted lines
> Luke Diamand <luke@diamand.org> writes:
>
>> On 14 December 2015 at 19:16, Junio C Hamano <gitster@pobox.com> wrote:
>>> Luke Diamand <luke@diamand.org> writes:
>>>
>>>> Having just fixed this, I've now just spotted that Sam Hocevar's fix
>>>> to reduce the number of P4 transactions also fixes it:
>>>>
>>>> https://www.mail-archive.com/git%40vger.kernel.org/msg81880.html
>>>>
>>>> That seems like a cleaner fix.
>>>
>>> Hmm, do you mean I should ignore this series and take the other one,
>>> take only 1/2 from this for tests and then both patches in the other
>>> one, or something else?
>>
>> The second of those (take only 1/2 from this for tests, and then both
>> from the other) seems like the way to go.
>
> OK.  Should I consider the two patches from Sam "Reviewed-by" you?
Previous: Junio C HamanoNext: James Farwell
Message 8 of 11 in “git-p4: fix for handling of multiple depot paths”
  1. 0/2 git-p4: fix for handling of multiple depot pathsLuke Diamand, Dec 13, 2015
  2. 1/2 git-p4: failing test case for skipping changes with multiple depotsLuke Diamand, Dec 13, 2015
  3. 2/2 git-p4: fix handling of multiple depot pathsLuke Diamand, Dec 13, 2015
  4. Luke DiamandDec 13, 2015
  5. Junio C HamanoDec 14, 2015
  6. Luke DiamandDec 14, 2015
  7. Junio C HamanoDec 14, 2015
  8. Luke DiamandDec 14, 2015
  9. James FarwellDec 15, 2015
  10. Sam HocevarDec 16, 2015
  11. Luke DiamandDec 16, 2015

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.