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

Re: merge-recursive: include heapq?

From
AVAndrew Vasquez <andrew.vasquez@qlogic.com>
Date
Nov 11, 2005, 19:09 UTC
Message-ID
<20051111190926.GD458@andrew-vasquezs-powerbook-g4-15.local>
In-Reply-To
<20051111185246.GB13524@steel.home>
On Fri, 11 Nov 2005, Alex Riesen wrote:
Show 28 quoted lines
> Johannes Schindelin, Fri, Nov 11, 2005 15:23:04 +0100:
> > I get this when pulling:
> > 
> > -- snip --
> > Traceback (most recent call last):
> >   File "./git-merge-recursive", line 4, in ?
> >     from heapq import heappush, heappop
> > ImportError: No module named heapq
> > -- snap --
> > 
> > Okay, my python is *old*:
> > 
> > $ python -V
> > Python 2.2.1
> > 
> > Is it worthwhile to include heapq as we did with subprocess? Or should I 
> > upgrade...
> 
> Trying really trivial in-index merge...
> fatal: Merge requires file-level merging
> Nope.
> Traceback (most recent call last):
>   File "/home/raa/bin/git-merge-recursive", line 8, in ?
>     from gitMergeCommon import *
>   File "/home/raa/share/git-core/python/gitMergeCommon.py", line 14, in ?
>     import subprocess
> ImportError: No module named subprocess
> Automatic merge failed/prevented; fix up by hand

Had the same problem earlier today, building with WITH_OWN_SUBPROCESS_PY fixed things up...

-- av

Previous: Alex RiesenNext: Junio C Hamano
Message 3 of 4 in “merge-recursive: include heapq?”
  1. Johannes SchindelinNov 11, 2005
  2. Alex RiesenNov 11, 2005
  3. Andrew VasquezNov 11, 2005
  4. Junio C HamanoNov 11, 2005

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.