equal
deleted
inserted
replaced
85 ui.warn(_('%s already a largefile\n') % f) |
85 ui.warn(_('%s already a largefile\n') % f) |
86 continue |
86 continue |
87 |
87 |
88 if exact or not exists: |
88 if exact or not exists: |
89 abovemin = (lfsize and |
89 abovemin = (lfsize and |
90 os.path.getsize(repo.wjoin(f)) >= lfsize * 1024 * 1024) |
90 os.lstat(repo.wjoin(f)).st_size >= lfsize * 1024 * 1024) |
91 if large or abovemin or (lfmatcher and lfmatcher(f)): |
91 if large or abovemin or (lfmatcher and lfmatcher(f)): |
92 lfnames.append(f) |
92 lfnames.append(f) |
93 if ui.verbose or not exact: |
93 if ui.verbose or not exact: |
94 ui.status(_('adding %s as a largefile\n') % m.rel(f)) |
94 ui.status(_('adding %s as a largefile\n') % m.rel(f)) |
95 |
95 |