<br><br><div class="gmail_quote">On Fri, Feb 8, 2008 at 1:49 AM, Matt Mackall <<a href="mailto:mpm@selenic.com">mpm@selenic.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Looks like it's just about time to cut a 1.0 release. I think we've been<br>
at a reasonable 1.0-level of features and stability for a while now, and<br>
we probably could have named the 0.9.5 release "1.0" so there's no point<br>
in putting it off.<br>
</blockquote><div><br>I think it would be nice if mercurial would be installable with easy_install.<br>The current version c7253d1a774e from <a href="http://selenic.com/repo/hg/">http://selenic.com/repo/hg/</a> is not:<br>
<br></div> File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 63, in run<br> File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 29, in <lambda><br> File "setup.py", line 16, in <module><br>
import mercurial.version<br> File "/home/ralf/mercurial.hg/mercurial/version.py", line 15, in <module><br> import util<br> File "/home/ralf/mercurial.hg/mercurial/util.py", line 1353, in <module><br>
class atomictempfile(posixfile):<br>TypeError: Error when calling the metaclass bases<br> first argument must be callable<br><br><br><br><br>With the following short diff it works. removing the "import util" fixes it.<br>
<br><br><br><br>diff --git a/mercurial/version.py b/mercurial/version.py<br>--- a/mercurial/version.py<br>+++ b/mercurial/version.py<br>@@ -12,7 +12,7 @@<br> import os<br> import re<br> import time<br>-import util<br>+#import util<br>
<br> unknown_version = 'unknown'<br> remembered_version = False<br>@@ -49,7 +49,7 @@<br> """Store version information."""<br> global remembered_version<br> if not version and os.path.isdir(".hg"):<br>
- f = util.popen("hg identify") # use real hg installation<br>+ f = os.popen("hg identify") # use real hg installation<br> ident = f.read()[:-1]<br> if not f.close() and ident:<br>
ids = ident.split(' ', 1)<br><br><br></div>