##// END OF EJS Templates
safehasattr: pass attribute name as string instead of bytes...
marmoute -
r51485:0f83dc22 default
parent child Browse files
Show More
@@ -463,11 +463,11 b' class phasecache:'
463 def replace(self, phcache):
463 def replace(self, phcache):
464 """replace all values in 'self' with content of phcache"""
464 """replace all values in 'self' with content of phcache"""
465 for a in (
465 for a in (
466 b'phaseroots',
466 'phaseroots',
467 b'dirty',
467 'dirty',
468 b'opener',
468 'opener',
469 b'_loadedrevslen',
469 '_loadedrevslen',
470 b'_phasesets',
470 '_phasesets',
471 ):
471 ):
472 setattr(self, a, getattr(phcache, a))
472 setattr(self, a, getattr(phcache, a))
473
473
General Comments 0
You need to be logged in to leave comments. Login now