##// END OF EJS Templates
safehasattr: pass attribute name as string instead of bytes...
marmoute -
r51496:d1502345 default
parent child Browse files
Show More
@@ -36,7 +36,7 b' def _findupdatetarget(repo, nodes):'
36 currentbranch = repo[None].branch()
36 currentbranch = repo[None].branch()
37
37
38 if (
38 if (
39 util.safehasattr(repo, b'mq')
39 util.safehasattr(repo, 'mq')
40 and p2 != repo.nullid
40 and p2 != repo.nullid
41 and p2 in [x.node for x in repo.mq.applied]
41 and p2 in [x.node for x in repo.mq.applied]
42 ):
42 ):
General Comments 0
You need to be logged in to leave comments. Login now