##// END OF EJS Templates
safehasattr: pass attribute name as string instead of bytes...
marmoute -
r51489:4a60280b default
parent child Browse files
Show More
@@ -516,7 +516,7 b' def mutableancestors(ctx):'
516
516
517 def getcommitfunc(extra, interactive, editor=False):
517 def getcommitfunc(extra, interactive, editor=False):
518 def commitfunc(ui, repo, message, match, opts):
518 def commitfunc(ui, repo, message, match, opts):
519 hasmq = util.safehasattr(repo, b'mq')
519 hasmq = util.safehasattr(repo, 'mq')
520 if hasmq:
520 if hasmq:
521 saved, repo.mq.checkapplied = repo.mq.checkapplied, False
521 saved, repo.mq.checkapplied = repo.mq.checkapplied, False
522
522
General Comments 0
You need to be logged in to leave comments. Login now