1.0 approaches

Steve beforewisdom at yahoo.com
Wed Mar 12 13:08:14 CDT 2008


I am not Steve Borho, though you have my address associated with him.

Please stop sending me these emails.

Good luck with the Python

Steve



--- Matt Mackall <mpm at selenic.com> wrote:

> 
> On Wed, 2008-03-12 at 13:49 +0100, Ralf Schmitt wrote:
> > 
> > 
> > On Fri, Feb 8, 2008 at 1:49 AM, Matt Mackall <mpm at selenic.com>
> wrote:
> >         Looks like it's just about time to cut a 1.0 release. I
> think
> >         we've been
> >         at a reasonable 1.0-level of features and stability for a
> >         while now, and
> >         we probably could have named the 0.9.5 release "1.0" so
> >         there's no point
> >         in putting it off.
> > 
> > I think it would be nice if mercurial would be installable with
> > easy_install.
> > The current version c7253d1a774e from  http://selenic.com/repo/hg/
> is
> > not:
> 
> That looks fine to me, but I worry it might break on Windows. Adding
> cc:s.
> 
> > 
> >   File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line
> 63,
> > in run
> >   File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line
> 29,
> > in <lambda>
> >   File "setup.py", line 16, in <module>
> >     import mercurial.version
> >   File "/home/ralf/mercurial.hg/mercurial/version.py", line 15, in
> > <module>
> >     import util
> >   File "/home/ralf/mercurial.hg/mercurial/util.py", line 1353, in
> > <module>
> >     class atomictempfile(posixfile):
> > TypeError: Error when calling the metaclass bases
> >     first argument must be callable
> > 
> > 
> > 
> > 
> > With the following short diff it works. removing the "import util"
> > fixes it.
> > 
> > 
> > 
> > 
> > diff --git a/mercurial/version.py b/mercurial/version.py
> > --- a/mercurial/version.py
> > +++ b/mercurial/version.py
> > @@ -12,7 +12,7 @@
> >  import os
> >  import re
> >  import time
> > -import util
> > +#import util
> >  
> >  unknown_version = 'unknown'
> >  remembered_version = False
> > @@ -49,7 +49,7 @@
> >      """Store version information."""
> >      global remembered_version
> >      if not version and os.path.isdir(".hg"):
> > -        f = util.popen("hg identify")  # use real hg installation
> > +        f = os.popen("hg identify")  # use real hg installation
> >          ident = f.read()[:-1]
> >          if not f.close() and ident:
> >              ids = ident.split(' ', 1)
> > 
> > 
> > 
> -- 
> Mathematics is the supreme nostalgia of our time.
> 
> 


---
"People are disturbed not by events that happen to them, but by their
view of them."
- Epictetus

http://www.beforewisdom.com


More information about the Mercurial mailing list