##// END OF EJS Templates
patch: remove unnecessary exists() call in selectfile()
Patrick Mezard -
r14533:aa12e1bb default
parent child Browse files
Show More
@@ -1023,7 +1023,6 b' def selectfile(backend, afile_orig, bfil'
1023 1023 fname = pathstrip(gp.path, strip - 1)[1]
1024 1024 create = gp.op in ('ADD', 'COPY', 'RENAME')
1025 1025 remove = gp.op == 'DELETE'
1026 missing = not create and not backend.exists(fname)
1027 1026 return fname, create, remove
1028 1027 nulla = afile_orig == "/dev/null"
1029 1028 nullb = bfile_orig == "/dev/null"
General Comments 0
You need to be logged in to leave comments. Login now