##// END OF EJS Templates
safehasattr: pass attribute name as string instead of bytes...
marmoute -
r51500:bf7ad17b default
parent child Browse files
Show More
@@ -428,7 +428,7 b' def _abssource(repo, push=False, abort=T'
428 428 return bytes(parent)
429 429 else: # recursion reached top repo
430 430 path = None
431 if util.safehasattr(repo, b'_subtoppath'):
431 if util.safehasattr(repo, '_subtoppath'):
432 432 path = repo._subtoppath
433 433 elif push and repo.ui.config(b'paths', b'default-push'):
434 434 path = repo.ui.config(b'paths', b'default-push')
General Comments 0
You need to be logged in to leave comments. Login now