* Re: Problems running "hg convert" with "subversion[-python]" 1.8.13-2
[not found] <22014.54142.655000.240116@woitok.gmail.com>
@ 2015-09-20 20:45 ` David Rothenberger
0 siblings, 0 replies; 4+ messages in thread
From: David Rothenberger @ 2015-09-20 20:45 UTC (permalink / raw)
To: cygwin; +Cc: Dr Rainer Woitok
On 9/20/2015 8:40 AM, Dr Rainer Woitok wrote:
> David,
>
> back in July (2015-07-29) I reported a bug in "subversion" and "subvers-
> ion-python" version 1.8.13-2 when running "hg convert" which is not pre-
> sent in version 1.8.13-1. You replied that you intended to apply a Fed-
> ora patch and to make a new release. I've seen the new release being
> there, but did it solve the problem? Did you get any feedback on this?
> Since I currently need to convert subversion repositories all the time,
> I cowardly bailed out updating both, the "subversion" and "subversion-
> python" packages from version 1.8.13-1 since then when running Cygwin's
> "setup.exe".
>
> I would even volunteer as a guinea pig, but only, if there's a save way
> back to version 1.8.13-1, should need arise.
[Posting to Cygwin list. Please keep discussion there.]
I did apply the patch from Fedora, but it didn't seem to help.
I just rebuilt subversion-1.9.1 using a locally-built version of
swig-3.0.7 (distro has 3.0.5) and that seems to solve the problem. I'll
rebuild subversion-1.9.1 and subversion-1.8.14 using swig-3.0.7 and
upload them shortly.
--
David Rothenberger ---- daveroth@acm.org
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problems running "hg convert" with "subversion[-python]" 1.8.13-2
2015-07-29 16:07 ` Matt Mackall
@ 2015-07-29 16:55 ` David Rothenberger
0 siblings, 0 replies; 4+ messages in thread
From: David Rothenberger @ 2015-07-29 16:55 UTC (permalink / raw)
To: cygwin
Matt Mackall wrote:
> On Wed, 2015-07-29 at 12:48 +0200, Dr Rainer Woitok wrote:
>> 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)
>
> This is apparently known breakage with libsvn's SWIG bindings related to
> new versions of SWIG. We're more or less powerless to do anything about
> it. You can tell it's not Mercurial's problem because the error occurs
> -in libsvn/core.py- while it's calling SVN.
>
> https://encrypted.google.com/search?output=search&sclient=psy-ab&q=svn_pool_create&=&=&oq=&gs_l=&pbx=1#q=svn_pool_create+exactly+2+arguments
It looks like Fedora has a patch for this. I'll try applying it to
Subversion this weekend and make a new release. I don't use Mercurial,
but hopefully someone can test the new release.
Thanks, Matt, for the useful link.
--
David Rothenberger ---- daveroth@acm.org
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problems running "hg convert" with "subversion[-python]" 1.8.13-2
2015-07-29 10:48 Dr Rainer Woitok
@ 2015-07-29 16:07 ` Matt Mackall
2015-07-29 16:55 ` David Rothenberger
0 siblings, 1 reply; 4+ messages in thread
From: Matt Mackall @ 2015-07-29 16:07 UTC (permalink / raw)
To: Dr Rainer Woitok; +Cc: cygwin, mercurial
On Wed, 2015-07-29 at 12:48 +0200, Dr Rainer Woitok wrote:
> 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)
This is apparently known breakage with libsvn's SWIG bindings related to
new versions of SWIG. We're more or less powerless to do anything about
it. You can tell it's not Mercurial's problem because the error occurs
-in libsvn/core.py- while it's calling SVN.
https://encrypted.google.com/search?output=search&sclient=psy-ab&q=svn_pool_create&=&=&oq=&gs_l=&pbx=1#q=svn_pool_create+exactly+2+arguments
--
Mathematics is the supreme nostalgia of our time.
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Problems running "hg convert" with "subversion[-python]" 1.8.13-2
@ 2015-07-29 10:48 Dr Rainer Woitok
2015-07-29 16:07 ` Matt Mackall
0 siblings, 1 reply; 4+ messages in thread
From: Dr Rainer Woitok @ 2015-07-29 10:48 UTC (permalink / raw)
To: cygwin; +Cc: mercurial
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-09-20 20:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <22014.54142.655000.240116@woitok.gmail.com>
2015-09-20 20:45 ` Problems running "hg convert" with "subversion[-python]" 1.8.13-2 David Rothenberger
2015-07-29 10:48 Dr Rainer Woitok
2015-07-29 16:07 ` Matt Mackall
2015-07-29 16:55 ` David Rothenberger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).