[Svnmerge] KeyError with svnmerge.py init

Buddy Burden barefootcoder at gmail.com
Wed Jun 25 19:03:49 PDT 2008


Guys,

I downloaded the latest version of svnmerge (from the link on the Wiki
page) on 6/2.  I tried it out (my first svnmerge operation!) on a
branch (that is, merging the trunk into the branch).  So I naturally
started with:

    svnmerge.py init

in my branch working copy.  This worked perfectly, and I continued on
with the merge itself and all was well.

Now, I want to merge some selected things from the branch back to the
trunk.  So I checked myself out a clean copy of the trunk, and tried
this:

[tyr:~/proj/rent] svnmerge.py init
svn+ssh://svnhost.rent.com/company/svn/rent/branches/sp_alpha_branch
Traceback (most recent call last):
  File "/usr/local/VCtools/svnmerge.py", line 2178, in ?
    main(sys.argv[1:])
  File "/usr/local/VCtools/svnmerge.py", line 2149, in main
    source_pathid = target_to_pathid(source)
  File "/usr/local/VCtools/svnmerge.py", line 847, in target_to_pathid
    root = get_repo_root(target)
  File "/usr/local/VCtools/svnmerge.py", line 824, in get_repo_root
    root = info["Repository Root"]
KeyError: 'Repository Root'

As you can see, this one didn't go so well.  I re-downloaded svnmerge
(again, from the link on the Wiki); it was a newer version, but still
give me the same error.

I searched through the list archives a bit; the only thing I saw that
was similar was an i18n problem, which I'm pretty sure doesn't apply
to me.  But, in anticipation of your next question:

[tyr:~/proj/rent] svn info
Path: .
URL: svn+ssh://svnhost.rent.com/company/svn/rent/trunk
Repository Root: svn+ssh://svnhost.rent.com/company/svn
Repository UUID: 93d52bdf-834c-0410-893d-afd306474019
Revision: 44740
Node Kind: directory
Schedule: normal
Last Changed Author: jbyramian
Last Changed Rev: 44740
Last Changed Date: 2008-06-25 13:07:09 -0700 (Wed, 25 Jun 2008)

Looks to me like the Repository Root is right there, so I'm not sure
what the problem is.

Anybody have any thoughts?  TIA.


         -- Buddy



More information about the Svnmerge mailing list