[Svnmerge] request for review: #2863 - analyze_source_revs fix

Dustin J. Mitchell dustin at zmanda.com
Fri Aug 3 14:27:31 PDT 2007


On Fri, Aug 03, 2007 at 04:23:29PM -0500, Dustin J. Mitchell wrote:
> Patch is attached and at

>>cough<<

-- 
        Dustin J. Mitchell
        Storage Software Engineer, Zmanda, Inc.
        http://www.zmanda.com/
-------------- next part --------------
analyze_source_revs() gets the latest revision of the *branch*
repository, then proceeds to use that value against the *source*
repository; it should get the latest revision of the *source*

(does not depend on other patches in this collection)

Index: svnmerge.py
===================================================================
--- svnmerge.py.orig	2007-08-03 13:27:39.334235658 -0500
+++ svnmerge.py	2007-08-03 13:27:43.790095140 -0500
@@ -1094,7 +1094,7 @@
 
     # Extract the latest repository revision from the URL of the branch
     # directory (which is already cached at this point).
-    end_rev = get_latest_rev(branch_url)
+    end_rev = get_latest_rev(source_url)
 
     # Calculate the base of analysis. If there is a "1-XX" interval in the
     # merged_revs, we do not need to check those.


More information about the Svnmerge mailing list