When committing, record the changeset in the branchcache.

This commit is contained in:
Simon 'corecode' Schubert 2007-01-11 19:33:34 +01:00
parent de434078f7
commit 0d6daa7c2a

View File

@ -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: