##// END OF EJS Templates
safehasattr: pass attribute name as string instead of bytes...
marmoute -
r51497:b539c60a default
parent child Browse files
Show More
@@ -384,7 +384,7 b' def repo_rel_or_abs_source(repo):'
384 Either absolute or relative the outermost repo"""
384 Either absolute or relative the outermost repo"""
385 parent = repo
385 parent = repo
386 chunks = []
386 chunks = []
387 while util.safehasattr(parent, b'_subparent'):
387 while util.safehasattr(parent, '_subparent'):
388 source = urlutil.url(parent._subsource)
388 source = urlutil.url(parent._subsource)
389 chunks.append(bytes(source))
389 chunks.append(bytes(source))
390 if source.isabs():
390 if source.isabs():
General Comments 0
You need to be logged in to leave comments. Login now