Mark committed files dirty after commit via cherry-pick

This commit is contained in:
Kirill Likhodedov
2012-04-16 15:03:28 +04:00
parent 5d44b1663f
commit 24a14eaf9d
@@ -489,6 +489,7 @@ public class CherryPicker {
if (ce != null) {
try {
List<VcsException> exceptions = ce.commit(myChanges, myCommitMessage);
VcsDirtyScopeManager.getInstance(myProject).filePathsDirty(ChangesUtil.getPaths(myChanges), null);
if (exceptions != null && !exceptions.isEmpty()) {
VcsException exception = exceptions.get(0);
handleError(exception);