Thread (1 message) 1 message, 1 author, 2016-06-15

Re: merge-recursive: include heapq?

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:11
Subsystem: the rest · Maintainer: Linus Torvalds

Possibly related (same subject, not in this thread)

Alex Riesen [off-list ref] writes:
Johannes Schindelin, Fri, Nov 11, 2005 15:23:04 +0100:
quoted
I get this when pulling:
... 
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

That said, I thought an upgrade was worth it and upgraded my 2.3 to 2.4 :)
Something like this is needed, I suppose...

-- >8 -- cut here -- >8 --
INSTALL: duplicate python requirements from Makefile

and refer the reader to Makefile for other things that can be
tweaked.

Signed-off-by: Junio C Hamano <redacted>
---
git diff
diff --git a/INSTALL b/INSTALL
index 06b11e1..63ccf62 100644
--- a/INSTALL
+++ b/INSTALL
@@ -75,3 +75,15 @@ Issues of note:
           history graphically
 
 	- "ssh" is used to push and pull over the net
+
+	- "perl" and POSIX-compliant shells are needed to use most of
+	  the barebone Porcelainish scripts.
+
+	- "python" 2.3 or more recent; if you have 2.3, you may need
+          to build with "make WITH_OWN_SUBPROCESS_PY=YesPlease".
+
+ - Some platform specific issues are dealt with Makefile rules,
+   but depending on your specific installation, you may not
+   have all the libraries/tools needed, or you may have
+   necessary libraries at unusual locations.  Please look at the
+   top of the Makefile to see what can be adjusted for your needs.
Compilation finished at Fri Nov 11 11:24:14
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help