[Svnmerge] KeyError on svnmerge.py

Hernán Martínez Foffani hernan.martinez at ecc.es
Thu Mar 6 02:26:39 PST 2008


>> I've just updated my local copy of svnmerge.py from Tigris'
>> repository and now every command I issue fires a KeyError exception.
>>
>> Surely I'm missing something obvious here but googling the error
>> haven't brought any useful information, as lots of the entries are
>> the source code by itself.
>>
>> D:\XXX>svnmerge.py init
>> Traceback (most recent call last):
>>   File "D:\APPS\Tools\svnmerge.py", line 2152, in ?
>>   main(sys.argv[1:]) File "D:\APPS\Tools\svnmerge.py", line 2088, in
>>     main cf_source, cf_rev, copy_committed_in_rev =
>>   get_copyfrom(branch_dir) File "D:\APPS\Tools\svnmerge.py", line
>>     895, in get_copyfrom repos_path = target_to_pathid(target)
>>   File "D:\APPS\Tools\svnmerge.py", line 840, in target_to_pathid
>>     root = get_repo_root(target)
>>   File "D:\APPS\Tools\svnmerge.py", line 817, in get_repo_root
>>     root = info["Repository Root"]
>> KeyError: 'Repository Root'
>>
>> D:\XXX>
>
> The error seems to indicate that "Repository Root" was not part of the
> svn info output. Can you run svn info manually in the location where
> you executed svnmerge.py init and post the output?

Ah... I bet it's because my XP is in spanish:

    D:\XXX>svn info
    Ruta: .
    URL: http://w2ke-02:81/svn/Desa/Genesis/trunk
    Raíz del repositorio: http://w2ke-02:81/svn/Desa
    UUID del repositorio: cbf5057c-42e0-1449-b341-c420fb338551
    Revisión: 5463
    Tipo de nodo: directorio
    Agendado: normal
    Autor del último cambio: ecc\m.martinez
    Revisión del último cambio: 5461
    Fecha de último cambio: 2008-03-05 16:42:32 +0100 (mié, 05 mar 2008)

    D:\XXX>

I don't care to have the output of svn in english, unless I've got
to reinstall the OS, mind you.


>> By the way, what's svnmerge-migrate-history.py for?
>> Is it related to subversion's merge tracking in version 1.5?
>
> Yes, it is to migrate from svnmerge.py to svn 1.5+ merge history.

Thanks.




More information about the Svnmerge mailing list