784 """ |
784 """ |
785 Private method used to update the vcs status of a node. |
785 Private method used to update the vcs status of a node. |
786 |
786 |
787 @param item item to work on |
787 @param item item to work on |
788 @param name filename belonging to this item (string) |
788 @param name filename belonging to this item (string) |
789 @keyparam recursive flag indicating a recursive update (boolean) |
789 @param recursive flag indicating a recursive update (boolean) |
790 """ |
790 """ |
791 if self.project.vcs is not None: |
791 if self.project.vcs is not None: |
792 self.project.vcs.clearStatusCache() |
792 self.project.vcs.clearStatusCache() |
793 state = self.project.vcs.vcsRegisteredState(name) |
793 state = self.project.vcs.vcsRegisteredState(name) |
794 if state == self.project.vcs.canBeCommitted: |
794 if state == self.project.vcs.canBeCommitted: |