changeset 15739 | be55285470cf |
parent 15674 | 7b7f03502b5a |
child 15785 | acb0a40fa14d |
--- a/hgext/largefiles/overrides.py Wed Dec 21 18:20:15 2011 +0100 +++ b/hgext/largefiles/overrides.py Tue Dec 27 23:56:20 2011 +0100 @@ -63,7 +63,7 @@ ui, lfutil.islfilesrepo(repo), opts.pop('lfsize', None)) lfmatcher = None - if os.path.exists(repo.wjoin(lfutil.shortname)): + if lfutil.islfilesrepo(repo): lfpats = ui.configlist(lfutil.longname, 'patterns', default=[]) if lfpats: lfmatcher = match_.match(repo.root, '', list(lfpats))