Re: [Svnmerge] Re: [PATCH] svnmerge.py: Refactor analyze_revs
From: Giovanni Bajo <rasky_at_develer.com>
Date: 2006-03-03 02:41:08 CET
>David James <djames@collab.net> wrote:
>> [[[
+1 on the general idea and thanks for the cleanup. Some comments:
>> +def find_changes(url, begin, end, show_merges=False):
find_merges, more than show_merges. It doesn't really show anything.
>> + revs = []
Move these immediatly above the loop that fills them.
>> + rev = None
Unneded.
>> + previous_merge_props = {}
The start value should probably be None, as you don't know the state of the
>> + for line in launchsvn("log %s" % log_opts):
Many thanks for using this form, as launchsvn() will change to return a pipe
>> + if merge_props != previous_merge_props:
Forgot to update previous_merge_props.
>>+ old_props = {}
I might be wrong, but isns't old_revisions enough?
old_revs = None
Giovanni Bajo
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.