Convert Svn to Hg: svn.core.SubversionException: 180001 - Unable to connect to a repository at URL 'file:///var/lib/svn/trunk/ascii2psql'

Kevin Bullock kbullock+mercurial at ringworld.org
Fri Dec 14 16:42:23 UTC 2012


On Dec 14, 2012, at 2:32 AM, Ambarish Sridharanarayanan wrote:

> I'm trying to convert my local Subversion repository over to Mercurial. I'm a basic Svn user and a novice Hg user. I'm trying this on Fedora 17, running:
> 
> * subversion-1.7.7-1.fc17.i686
> * mercurial-2.2.3-1.fc17.i686
> * python-2.7.3-7.2.fc17.i686
> 
> Please see transcript below. svn list works fine. Trying to convert the repo to hg gives me an error and also seems to leave behind some stale locks, as logged by a subsequent BerkeleyDB command. Thanks for any help!

[...]

> svn.core.SubversionException: 180001 - Unable to connect to a repository at URL 'file:///var/lib/svn/trunk/ascii2psql'
> 180001 - Unable to open an ra_local session to URL
> 180001 - Unable to open repository 'file:///var/lib/svn/trunk/ascii2psql'
> 160029 - Berkeley DB error for filesystem '/var/lib/svn/db' while opening environment:
> 
> 160029 - DB_RUNRECOVERY: Fatal error, run database recovery

Have you tried `svnadmin verify` or `svnadmin recover` on the repo?

> $ rpm -q db4
> BDB2053 Freeing read locks for locker 0x67a: 9945/3078109760
> BDB2053 Freeing read locks for locker 0x67b: 9945/3078109760
> BDB2053 Freeing read locks for locker 0x67c: 9945/3078109760
> BDB2053 Freeing read locks for locker 0x67d: 9945/3078109760
> db4-4.8.30-10.fc17.i686

These read locks are related to *RPM's* database, not Subversion's.

Have you checked the integrity of your disk lately?

pacem in terris / мир / शान्ति / ‎‫سَلاَم‬ / 平和
Kevin R. Bullock




More information about the Mercurial mailing list