# HG changeset patch # User Augie Fackler # Date 1225743858 21600 # Node ID c3c5546eefb1eeee2ded1f2f548a42ac3b2d1772 # Parent 0be16f306a42709b1b8ad466f2d4ecac313e5ddf Don't try and add a directory more than once. diff --git a/push_cmd.py b/push_cmd.py --- a/push_cmd.py +++ b/push_cmd.py @@ -136,6 +136,7 @@ def commit_from_rev(ui, repo, rev_ctx, h props.setdefault(ntf, {})['svn:mime-type'] = 'application/octet-stream' del file_data[tf] added_dirs = ['%s/%s' % (branch_path, f) for f in added_dirs] + added_dirs = set(added_dirs) new_target_files += added_dirs try: svn.commit(new_target_files, rev_ctx.description(), file_data,