[Svnmerge] Error in svnmerge uninit

Raman Gupta rocketraman at fastmail.fm
Fri Mar 9 05:44:07 PST 2007


Piet-Hein Peeters wrote:
> 
> Hello,
> 
> I'm quite happy in using the svnmerge.py script.
> However I've run into an error:
> 
> I had a branch called pmw-wip3 and all revisions from that branch were
> merged back to the trunk. After a product release from the branch, the
> branch was tagged and deleted.
> Afterwards, I wanted to run the following command:
> svnmerge.py uninit -S
> https://mip.sc-phlps.sfo.collab.net/svn/mip/branches/pmw-wip3
> 
> However this command fails. I get the following error message:
> Traceback (most recent call last):
>   File "C:\dev\Tools\svnmerge.py", line 1938, in <module>
>     main(sys.argv[1:])
>   File "C:\dev\Tools\svnmerge.py", line 1917, in main
>     opts["head-path"] = target_to_rlpath(head)
>   File "C:\dev\Tools\svnmerge.py", line 754, in target_to_rlpath
>     root = get_repo_root(target)
>   File "C:\dev\Tools\svnmerge.py", line 734, in get_repo_root
>     return info["Repository Root"]
> KeyError: 'Repository Root'

Yeah, svnmerge.py expects that the branch exists.

> As a workaround, is it OK to manually remove the merge-info of the
> pmw-wip3 branch in the property?
> The property looks like:
> svn pg svnmerge-integrated
> /branches/dicomviewer23:1-7923 /branches/pmw-wip3:1-7150

Sure, you can just remove the merge-info for that branch manually.

Cheers,
Raman




More information about the Svnmerge mailing list