# HG changeset patch # User Patrick Mezard # Date 1227626307 21600 # Node ID f046564b2916bd30d431065e2dbe720ce3aeae19 # Parent f9d0154e4d11ebd657028f4dcdc041984b572206 fetch_command: remove useless delete_all_files case diff --git a/fetch_command.py b/fetch_command.py --- a/fetch_command.py +++ b/fetch_command.py @@ -328,7 +328,6 @@ def stupid_fetch_branchrev(svn, hg_edito return files, filectxfn def stupid_svn_server_pull_rev(ui, svn, hg_editor, r): - delete_all_files = False # this server fails at replay branches = hg_editor.branches_in_paths(r.paths) temp_location = os.path.join(hg_editor.path, '.hg', 'svn', 'temp') @@ -481,10 +480,6 @@ def stupid_svn_server_pull_rev(ui, svn, if f.startswith(p2 + '/')] for d in d_files: files_touched.add(d) - if delete_all_files: - for p in hg_editor.repo[parent_ha].manifest().iterkeys(): - if p: - files_touched.add(p) copies = getcopies(svn, hg_editor, b, branches[b], r, files_touched, parent_ha)