filter-repo: only require two arguments to record_id_rename

We always called record_id_rename with handle_transitivity set to True, and
I do not know of a use case that would do otherwise so let's just hardcode
that value.

Signed-off-by: Elijah Newren <newren@gmail.com>
This commit is contained in:
Elijah Newren 2009-04-06 07:00:23 -06:00
parent a8b39e58b3
commit 7e0b7a9fc2

View File

@ -1167,11 +1167,12 @@ def get_total_objects(repo):
return int(lines[0].split()[1]) + int(lines[2].split()[1])
###############################################################################
def record_id_rename(old_id, new_id, handle_transitivity = False):
def record_id_rename(old_id, new_id):
###############################################################################
"""
Register a new translation
"""
handle_transitivity = True
_IDS.record_rename(old_id, new_id, handle_transitivity)
# Internal globals