comparison mercurial/store.py @ 15742:65df60a3f96b

phases: prevent rebase to rebase immutable changeset.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Tue, 27 Dec 2011 00:11:22 +0100
parents 62aa9305399d
children 9fca5b056c0a
comparison
equal deleted inserted replaced
15741:60344b83e442 15742:65df60a3f96b
407 # rewrite fncache to remove nonexistent entries 407 # rewrite fncache to remove nonexistent entries
408 # (may be caused by rollback / strip) 408 # (may be caused by rollback / strip)
409 self.fncache.rewrite(existing) 409 self.fncache.rewrite(existing)
410 410
411 def copylist(self): 411 def copylist(self):
412 d = ('data dh fncache' 412 d = ('data dh fncache phaseroots'
413 ' 00manifest.d 00manifest.i 00changelog.d 00changelog.i phaseroots') 413 ' 00manifest.d 00manifest.i 00changelog.d 00changelog.i')
414 return (['requires', '00changelog.i'] + 414 return (['requires', '00changelog.i'] +
415 ['store/' + f for f in d.split()]) 415 ['store/' + f for f in d.split()])
416 416
417 def write(self): 417 def write(self):
418 self.fncache.write() 418 self.fncache.write()