Show More
@@ -2395,7 +2395,11 b' class localrepository(object):' | |||
|
2395 | 2395 | tr.close() |
|
2396 | 2396 | |
|
2397 | 2397 | if changesets > 0: |
|
2398 | branchmap.updatecache(self) | |
|
2398 | if srctype != 'strip': | |
|
2399 | # During strip, branchcache is invalid but coming call to | |
|
2400 | # `destroyed` will repair it. | |
|
2401 | # In other case we can safely update cache on disk. | |
|
2402 | branchmap.updatecache(self) | |
|
2399 | 2403 | def runhooks(): |
|
2400 | 2404 | # forcefully update the on-disk branch cache |
|
2401 | 2405 | self.ui.debug("updating the branch cache\n") |
@@ -507,7 +507,6 b' amend' | |||
|
507 | 507 | $ hg -q commit -d '14 1' -m 'prepare amend' |
|
508 | 508 | |
|
509 | 509 | $ hg --debug commit --amend -d '15 1' -m 'amend without changes' | grep keywords |
|
510 | invalidating branch cache (tip differs) | |
|
511 | 510 | overwriting a expanding keywords |
|
512 | 511 | $ hg -q id |
|
513 | 512 | 67d8c481a6be |
General Comments 0
You need to be logged in to leave comments.
Login now