[PATCH 2 of 2] version: add extensions version info (issue4209)

anatoly techtonik techtonik at gmail.com
Fri Jun 20 16:12:07 CDT 2014


On Thu, Jun 19, 2014 at 4:37 AM, Greg Ward <greg at gerg.ca> wrote:

> On 18 June 2014, anatoly techtonik said:
> > I've setup drone.io to run tests
>
> Oh nice! I didn't know about drone.io. Glad to see someone has done a
> more generalized version of travis.


And they've made it a 3-click setup for open source repositories.


>   $ grep -n 'error getting current working directory' `hg locate -I
> "**.py"`
>   mercurial/dispatch.py:613:        raise util.Abort(_("error getting
> current working directory: %s") %
>
> From the surrounding code:
>
>     try:
>         wd = os.getcwd()
>     except OSError, e:
>         raise util.Abort(_("error getting current working directory: %s") %
>                          e.strerror)
>
> Huh. That's not good. Any environment where you can't call os.getcwd()
> is not a working environment.


The environment is ok:

    $ python -c 'import os; print os.getcwd()'
    /home/ubuntu/src/bitbucket.org/techtonik/hg

>From https://drone.io/bitbucket.org/techtonik/hg/7
So it is not a problem in os.getcwd()

-- 
anatoly t.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20140621/1d945422/attachment.html>


More information about the Mercurial-devel mailing list