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

non-trivial merge failures

From
DMDavid S. Miller <davem@davemloft.net>
Date
Nov 20, 2005, 21:49 UTC
Message-ID
<20051120.134945.104623647.davem@davemloft.net>

Every time I try to do a non-trivial merge, I always get this:

davem@sunset:~/src/GIT/net-2.6$ git pull git://git.skbuff.net/gitroot/yoshfuji/linux-2.6.14+advapi-fix/
Unpacking 21 objects
 100% (21/21) done
Trying really trivial in-index merge...
fatal: Merge requires file-level merging
Nope.
Traceback (most recent call last):
  File "/home/davem/bin/git-merge-recursive", line 13, in ?
    from gitMergeCommon import *
  File "/home/davem/share/git-core/python/gitMergeCommon.py", line 18, in ?
    import subprocess
ImportError: No module named subprocess
Automatic merge failed/prevented; fix up by hand
davem@sunset:~/src/GIT/net-2.6$ 
(one can reproduce this exact tree state by cloning:
	master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6.git
 then executing the above pull command)

Maybe something is wrong with my python installation or something like that?

It looks like it's failing to import some python module called "subprocess", and I aparently don't have that installed. /usr/bin/python on this Debian box is aparently python-2.3, do I need to be using python-2.4 for this merge stuff to work?

Next: Ismail Donmez
Message 1 of 9 in “non-trivial merge failures”
  1. David S. MillerNov 20, 2005
  2. Ismail DonmezNov 20, 2005
  3. Johannes SchindelinNov 20, 2005
  4. David S. MillerNov 21, 2005
  5. Ryan AndersonNov 20, 2005
  6. David S. MillerNov 21, 2005
  7. David S. MillerNov 21, 2005
  8. David S. MillerNov 21, 2005
  9. Johannes SchindelinNov 21, 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.