delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/07/29/06:48:59

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:mime-version:content-type
:content-transfer-encoding:message-id:date:to:cc:subject; q=dns;
s=default; b=sDdv02kbIkS6XbjtzaRFyPiymVIqHKvAl9aabP8CTbHYqDrtD7
BMtWniMKJNmdABvBZ+3X3BqBDVbF/njSxx76lxtQIH/awAPKyV7UjQSwIePbUgM2
VtVa/MEzQL5fPjCNgWn6m56ywehb2w5tQ7aLcLKqmSWYB1P38gYX6U4zU=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:mime-version:content-type
:content-transfer-encoding:message-id:date:to:cc:subject; s=
default; bh=jgpqR8FcY04AkWIC0TZewYVJcqc=; b=tA1Mpc0bxV5pKf+ba+4X
0njeNYKIuWrRB6T51OqdzsDmtevoWr4hgGCEFPfEW7SkAT+1y/V4garI+78FYsMN
XNsHVlzUl42hDcaz1mrrSIuDa0mlbQzYHPl6dtyessCEQEOr1vJYuZZ7f3Sop3s6
T+z1guMQbfgFiBFjkwstkLw=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_HK_NAME_FM_DR autolearn=ham version=3.3.2
X-HELO: mail-wi0-f172.google.com
X-Received: by 10.194.89.98 with SMTP id bn2mr83089173wjb.153.1438166918264; Wed, 29 Jul 2015 03:48:38 -0700 (PDT)
From: Dr Rainer Woitok <rainer DOT woitok AT gmail DOT com>
X-Google-Original-From: Dr Rainer Woitok <Rainer DOT Woitok AT Gmail DOT Com>
MIME-Version: 1.0
Message-ID: <21944.44923.542832.554094@woitok.gmail.com>
Date: Wed, 29 Jul 2015 12:48:27 +0200
To: cygwin AT cygwin DOT com
CC: mercurial AT selenic DOT com
Subject: Problems running "hg convert" with "subversion[-python]" 1.8.13-2

Greetings,

having installed  Cygwin's version  1.8.13-2  of both,  "subversion" and
"subversion-python", I get

$ hg convert -d hg -s svn http://gpsbabel.googlecode.com/svn/ gpsbabel
** unknown exception encountered, please report by visiting
** http://mercurial.selenic.com/wiki/BugTracker
** Python 2.7.10 (default, Jun  1 2015, 18:17:45) [GCC 4.9.2]
** Mercurial Distributed SCM (version 3.4.2+5-601da1db19f7)
** Extensions loaded: convert, histedit, strip, mq
Traceback (most recent call last):
  File "/home/Rainer/bin/hg", line 43, in <module>
    mercurial.dispatch.run()
  File "/home/Rainer/repo/mercurial/mercurial/dispatch.py", line 29, in run
    sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
  File "/home/Rainer/repo/mercurial/mercurial/dispatch.py", line 91, in dispatch
    ret = _runcatch(req)
  File "/home/Rainer/repo/mercurial/mercurial/dispatch.py", line 160, in _runcatch
    return _dispatch(req)
  File "/home/Rainer/repo/mercurial/mercurial/dispatch.py", line 885, in _dispatch
    cmdpats, cmdoptions)
  File "/home/Rainer/repo/mercurial/mercurial/dispatch.py", line 646, in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/home/Rainer/repo/mercurial/mercurial/dispatch.py", line 976, in _runcommand
    return checkargs()
  File "/home/Rainer/repo/mercurial/mercurial/dispatch.py", line 947, in checkargs
    return cmdfunc()
  File "/home/Rainer/repo/mercurial/mercurial/dispatch.py", line 882, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/home/Rainer/repo/mercurial/mercurial/util.py", line 716, in check
    return func(*args, **kwargs)
  File "/home/Rainer/repo/mercurial/hgext/convert/__init__.py", line 338, in convert
    return convcmd.convert(ui, src, dest, revmapfile, **opts)
  File "/home/Rainer/repo/mercurial/mercurial/demandimport.py", line 106, in __getattribute__
    self._load()
  File "/home/Rainer/repo/mercurial/mercurial/demandimport.py", line 78, in _load
    mod = _hgextimport(_import, head, globals, locals, None, level)
  File "/home/Rainer/repo/mercurial/mercurial/demandimport.py", line 47, in _hgextimport
    return importfunc(name, globals, *args)
  File "/home/Rainer/repo/mercurial/hgext/convert/convcmd.py", line 13, in <module>
    from subversion import svn_source, svn_sink
  File "/home/Rainer/repo/mercurial/mercurial/demandimport.py", line 134, in _demandimport
    mod = _hgextimport(_origimport, name, globals, locals)
  File "/home/Rainer/repo/mercurial/mercurial/demandimport.py", line 47, in _hgextimport
    return importfunc(name, globals, *args)
  File "/home/Rainer/repo/mercurial/hgext/convert/subversion.py", line 25, in <module>
    from svn.core import SubversionException, Pool
  File "/home/Rainer/repo/mercurial/mercurial/demandimport.py", line 134, in _demandimport
    mod = _hgextimport(_origimport, name, globals, locals)
  File "/home/Rainer/repo/mercurial/mercurial/demandimport.py", line 47, in _hgextimport
    return importfunc(name, globals, *args)
  File "/usr/lib/python2.7/site-packages/svn/core.py", line 26, in <module>
    from libsvn.core import *
  File "/home/Rainer/repo/mercurial/mercurial/demandimport.py", line 115, in _demandimport
    return _hgextimport(_import, name, globals, locals, fromlist, level)
  File "/home/Rainer/repo/mercurial/mercurial/demandimport.py", line 47, in _hgextimport
    return importfunc(name, globals, *args)
  File "/usr/lib/python2.7/site-packages/libsvn/core.py", line 7285, in <module>
    svn_pool_create()
TypeError: svn_pool_create() takes exactly 2 arguments (0 given)

However, going back to version  1.8.13-1 of both, "subversion" and "sub-
version-python", I get the expected result:

$ hg convert -d hg -s svn http://gpsbabel.googlecode.com/svn/ gpsbabel
initializing destination gpsbabel repository
scanning source...
... and so on ...

Sincerely,
  Rainer

PS: I "Cc:"-ed the Mercurial people because -- even though I'm convinced
this is a Cygwin problem -- I think they should at least know.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019