##// END OF EJS Templates
largefiles: tiny code clean up...
Michal Sznajder -
r15739:be552854 default
parent child Browse files
Show More
@@ -63,7 +63,7 b' def override_add(orig, ui, repo, *pats, '
63 ui, lfutil.islfilesrepo(repo), opts.pop('lfsize', None))
63 ui, lfutil.islfilesrepo(repo), opts.pop('lfsize', None))
64
64
65 lfmatcher = None
65 lfmatcher = None
66 if os.path.exists(repo.wjoin(lfutil.shortname)):
66 if lfutil.islfilesrepo(repo):
67 lfpats = ui.configlist(lfutil.longname, 'patterns', default=[])
67 lfpats = ui.configlist(lfutil.longname, 'patterns', default=[])
68 if lfpats:
68 if lfpats:
69 lfmatcher = match_.match(repo.root, '', list(lfpats))
69 lfmatcher = match_.match(repo.root, '', list(lfpats))
General Comments 0
You need to be logged in to leave comments. Login now