mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
When committing, record the changeset in the branchcache.
This commit is contained in:
parent
de434078f7
commit
0d6daa7c2a
@ -786,6 +786,9 @@ class localrepository(repo.repository):
|
||||
parent2=xp2)
|
||||
tr.close()
|
||||
|
||||
if self.branchcache and "branch" in extra:
|
||||
self.branchcache[util.tolocal(extra["branch"])] = n
|
||||
|
||||
if use_dirstate or update_dirstate:
|
||||
self.dirstate.setparents(n)
|
||||
if use_dirstate:
|
||||
|
Loading…
Reference in New Issue
Block a user