##// END OF EJS Templates
largefiles: convert addlargefiles() to vfs
Matt Harbison -
r23733:86810cd8 default
parent child Browse files
Show More
@@ -114,15 +114,13 b' def addlargefiles(ui, repo, matcher, **o'
114 114 continue
115 115
116 116 if (exact or not exists) and not lfutil.isstandin(f):
117 wfile = repo.wjoin(f)
118
119 117 # In case the file was removed previously, but not committed
120 118 # (issue3507)
121 if not os.path.exists(wfile):
119 if not repo.wvfs.exists(f):
122 120 continue
123 121
124 122 abovemin = (lfsize and
125 os.lstat(wfile).st_size >= lfsize * 1024 * 1024)
123 repo.wvfs.lstat(f).st_size >= lfsize * 1024 * 1024)
126 124 if large or abovemin or (lfmatcher and lfmatcher(f)):
127 125 lfnames.append(f)
128 126 if ui.verbose or not exact:
General Comments 0
You need to be logged in to leave comments. Login now