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

Re: git-p4: t9819 failing

From
Luke Diamand <luke@diamand.org>
Date
Sep 23, 2015, 11:11 UTC
Message-ID
<CAE5ih78x+jnW3+4d5q5dJidt4LXWV=hMgJTEfsC2dUBLout1Aw@mail.gmail.com>
In-Reply-To
<954B65C2-1CF8-4F63-B2DE-F15200553046@gmail.com>
On 23 September 2015 at 11:27, Lars Schneider <larsxschneider@gmail.com> wrote:
Show 21 quoted lines
>
> On 23 Sep 2015, at 11:27, Luke Diamand <luke@diamand.org> wrote:
>
>> Lars,
>>
>> I just noticed that your change "git-p4: honor core.ignorecase when
>> using P4 client specs" seems to break t9819.
>>
>> I suspect that the problem is just that t9819 needs to be updated to
>> reflect your change - do you have any thoughts on that?
>>
>> Thanks!
>> Luke
>
> What OS and what commit do you use for testing? Here is what I got on my machine:
>
> Ubuntu, next (c07a1e8) -> OK
> Ubuntu, maint (ee6ad5f) -> OK
>
> OS X, next (c07a1e8) -> broken
> OS X, maint (ee6ad5f) -> broken

The next branch is good: c07a1e8 Merge branch 'bb/remote-get-url' into next

The pu branch isn't: f44e3df Merge branch 'jk/notes-dwim-doc' into pu

This is on Debian.
Actually I think the problem may be in calcDiskFree().
Here's the last bit of the crash dump from git-p4 I get:
  File "/home/ldiamand/git/git/git-p4", line 2580, in streamP4FilesCbSelf
    self.streamP4FilesCb(entry)
  File "/home/ldiamand/git/git/git-p4", line 2497, in streamP4FilesCb
    required_bytes = int((4 * int(self.stream_file["fileSize"])) -
calcDiskFree(self.cloneDestination))
  File "/home/ldiamand/git/git/git-p4", line 116, in calcDiskFree
    st = os.statvfs(dirname)
OSError: [Errno 2] No such file or directory: 'lc'
Luke
Previous: Lars SchneiderNext: Lars Schneider
Message 3 of 7 in “git-p4: t9819 failing”
  1. Luke DiamandSep 23, 2015
  2. Lars SchneiderSep 23, 2015
  3. Luke DiamandSep 23, 2015
  4. Lars SchneiderSep 23, 2015
  5. Luke DiamandSep 24, 2015
  6. Luke DiamandSep 24, 2015
  7. Lars SchneiderSep 25, 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.