[Svnmerge] KeyError with svnmerge.py init

Dustin J. Mitchell dustin at zmanda.com
Thu Jun 26 13:06:07 PDT 2008


On Thu, Jun 26, 2008 at 3:11 PM, Buddy Burden <barefootcoder at gmail.com> wrote:
> Dustin,
>
>> Try adding a "print info" on a line just before the current line 842,
>> and send the result?
>
> Did you mean 824?  That's where the error is.

Yep, and the print appears for me.  Try this:

Index: svnmerge.py
===================================================================
--- svnmerge.py (revision 31895)
+++ svnmerge.py (working copy)
@@ -821,6 +821,7 @@
     # Try using "svn info URL". This works only on SVN clients >= 1.2
     try:
         info = get_svninfo(url)
+        print >>sys.stderr, info
         root = info["Repository Root"]
         _cache_reporoot[root] = None
         return root

There's no buffering going on, so it should definitely be visible.

Dustin

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



More information about the Svnmerge mailing list