Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 326585 - dev-vcs/hgsubversion can't work with >=dev-vcs/mercurial-1.6
Summary: dev-vcs/hgsubversion can't work with >=dev-vcs/mercurial-1.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Dirkjan Ochtman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-02 09:09 UTC by Nikolaj Šujskij
Modified: 2010-07-07 17:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Backtrace example (`hg status` output) (hg_st.log,1.64 KB, text/plain)
2010-07-02 09:09 UTC, Nikolaj Šujskij
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolaj Šujskij 2010-07-02 09:09:04 UTC
After upgrade to dev-vcs/mercurial-1.6, hgsubversion 1.1 stopped working. Every command in its repos fails with following exception:

  File "/usr/lib64/python2.6/site-packages/hgsubversion/svnrepo.py", line 39, in remotesvn
    original = getattr(repo, fn.__name__)
AttributeError: 'localrepository' object has no attribute 'findoutgoing'
(see full backtrace attached).

That's probably due to Mercurial API changes (mercurial.localrepo indeed lacks that method in 1.6, while having it in 1.5). I suggest changing dependency to <dev-vcs/mercurial-1.6, since there're only 1.4.and 1.5 versions in Portage now.

Reproducible: Always
Comment 1 Nikolaj Šujskij 2010-07-02 09:09:53 UTC
Created attachment 237231 [details]
Backtrace example (`hg status` output)
Comment 2 Nikolaj Šujskij 2010-07-02 16:31:51 UTC
I talked to devs on IRC, and the issue is fixed in hg. 1.1.1 (containing fix) is planned to be released in a few days.
Comment 4 Dirkjan Ochtman (RETIRED) gentoo-dev 2010-07-06 07:56:55 UTC
Yeah, I tried to setup the ebuild but it has a failing test, so I want to look into that first.
Comment 5 Nikolaj Šujskij 2010-07-06 10:19:30 UTC
> Yeah, I tried to setup the ebuild but it has a failing test, so I want to look
> into that first.
 Probably yes, but I think mercurial dep should be fixed for 1.1 which is in tree already.
Comment 6 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-07-06 23:58:45 UTC
Please test dev-vcs/hgsubversion-1.1.2.
Comment 7 Nikolaj Šujskij 2010-07-07 08:41:13 UTC
(In reply to comment #6)
> Please test dev-vcs/hgsubversion-1.1.2.
> 

Compiles and runs fine here, but fails tests (~amd64).
Comment 8 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-07-07 14:38:40 UTC
(In reply to comment #7)
> fails tests (~amd64).

It's probably bug #315785.
Comment 9 Nikolaj Šujskij 2010-07-07 15:41:57 UTC
(In reply to comment #8)
> It's probably bug #315785.
 I believe it to be the case, but you asked to "test", so I tested to be on the safe side (-;E

 I reopen bug, because hgsubversion <= 1.1 still has not fixed dependency (!>=dev-vcs/mercurial-1.6). I believe it should be fixed, despite newer version available.
Comment 10 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-07-07 17:02:44 UTC
Fixed.