comparison tests/test-commandserver.py.out @ 16116:ce0ad184f489 stable

localrepo: clear _filecache on rollback (issue3261) Files are being replaced by rollback but the corresponding data in localrepo isn't actually updated for things like bookmarks, phases, etc. Then when rollback is done, the cache is updated thinking it has the most up-to-date data, where in fact it is still pre-rollback. We clear _filecache to force everything to be recreated.
author Idan Kamara <idankk86@gmail.com>
date Thu, 16 Feb 2012 01:21:34 +0200
parents 236bb604dc39
children 6ecf5fb2a475
comparison
equal deleted inserted replaced
16115:236bb604dc39 16116:ce0ad184f489
132 132
133 runcommand phase -r . 133 runcommand phase -r .
134 3: draft 134 3: draft
135 runcommand phase -r . 135 runcommand phase -r .
136 3: public 136 3: public
137 no phases changed
138
139 testing rollback:
140
141 runcommand phase -r . -p
142 runcommand commit -Am.
143 runcommand rollback
144 repository tip rolled back to revision 3 (undo commit)
145 working directory now based on revision 3
146 runcommand phase -r .
147 3: public