##// END OF EJS Templates
largefile: use sysstr to check for attribute presence in `hgsubrepoarchive`...
marmoute -
r51785:34a27add default
parent child Browse files
Show More
@@ -1309,7 +1309,7 b' def overridearchive('
1309
1309
1310 @eh.wrapfunction(subrepo.hgsubrepo, 'archive')
1310 @eh.wrapfunction(subrepo.hgsubrepo, 'archive')
1311 def hgsubrepoarchive(orig, repo, archiver, prefix, match=None, decode=True):
1311 def hgsubrepoarchive(orig, repo, archiver, prefix, match=None, decode=True):
1312 lfenabled = util.safehasattr(repo._repo, b'_largefilesenabled')
1312 lfenabled = util.safehasattr(repo._repo, '_largefilesenabled')
1313 if not lfenabled or not repo._repo.lfstatus:
1313 if not lfenabled or not repo._repo.lfstatus:
1314 return orig(repo, archiver, prefix, match, decode)
1314 return orig(repo, archiver, prefix, match, decode)
1315
1315
General Comments 0
You need to be logged in to leave comments. Login now