[Svnmerge] KeyError with svnmerge.py init

Dustin J. Mitchell dustin at zmanda.com
Wed Jun 25 20:11:05 PDT 2008


Try adding a "print info" on a line just before the current line 842,
and send the result?

Dustin

On Wed, Jun 25, 2008 at 10:03 PM, Buddy Burden <barefootcoder at gmail.com> wrote:
> 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
> _______________________________________________
> Svnmerge mailing list
> Svnmerge at orcaware.com
> http://www.orcaware.com/mailman/listinfo/svnmerge
>



-- 
Storage Software Engineer
http://www.zmanda.com



More information about the Svnmerge mailing list