You are not logged in.

#1 2017-11-22 14:59:14

replabrobin
Member
Registered: 2010-05-06
Posts: 232

mercurial 4.4.1-1 problem

I have the following error when using the latest mercurial in an up to date x64 arch linux

abort: cannot import name peerrepository!

eg

$ hg clone https://bitbucket.org/rptlab/preppy
abort: cannot import name peerrepository!


I tried commenting all the extensions in my .hgrc, but the error persists.

Downgrading to 4.3.3-1 fixes the issue.

Offline

#2 2017-11-22 17:55:31

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: mercurial 4.4.1-1 problem

I would try to test this with other repositories, maybe some from bitbucket and some from elsewhere. If the problem persists, file a bug report.

Offline

#3 2017-11-22 18:04:46

replabrobin
Member
Registered: 2010-05-06
Posts: 232

Re: mercurial 4.4.1-1 problem

After reinstalling, mercurial, devtools & hg-git-hg and rebooting a couple of times the problem seems to have gone away; perhaps my hardware is flaky

Offline

#4 2017-12-22 15:03:23

roelkluin
Member
Registered: 2017-12-22
Posts: 3

Re: mercurial 4.4.1-1 problem

Same issue here, can confirm that downgrading to 4.3.3-1 removes this error.

See also: https://bugs.debian.org/cgi-bin/bugrepo … bug=883469
Seems due to recent changes, from https://www.mercurial-scm.org/wiki/UpgradeNotes:

* peer.peerrepository has been removed. Use repository.peer abstract base class to represent a peer repository.

Last edited by roelkluin (2017-12-22 15:27:51)

Offline

Board footer

Powered by FluxBB