mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
fetch_command: remove dead code
This commit is contained in:
parent
e9d74f009c
commit
edb6ae1ead
@ -394,8 +394,6 @@ def stupid_svn_server_pull_rev(ui, svn, hg_editor, r):
|
|||||||
fi.close()
|
fi.close()
|
||||||
else:
|
else:
|
||||||
open(f, 'w').close()
|
open(f, 'w').close()
|
||||||
if f.startswith(our_tempdir):
|
|
||||||
f = f[len(our_tempdir)+1:]
|
|
||||||
os.chdir(old_cwd)
|
os.chdir(old_cwd)
|
||||||
if d2.strip() and len(re.findall('\n[-+]', d2.strip())) > 0:
|
if d2.strip() and len(re.findall('\n[-+]', d2.strip())) > 0:
|
||||||
old_cwd = os.getcwd()
|
old_cwd = os.getcwd()
|
||||||
|
Loading…
Reference in New Issue
Block a user