mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
fetch_command: remove useless delete_all_files case
This commit is contained in:
parent
d7400e6d83
commit
940661ae1d
@ -328,7 +328,6 @@ def stupid_fetch_branchrev(svn, hg_editor, branch, branchpath, r, parentid):
|
||||
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, hg_editor, r):
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user