~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/VersionControlFileSystemExtension.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
114
114
                public override void NotifyFilesChanged (IEnumerable<FilePath> files)
115
115
                {
116
116
                        FileUpdateEventArgs args = new FileUpdateEventArgs ();
117
 
                        args.AddRange (files.Select (f => new FileUpdateEventInfo (GetRepository (f), f, false)));
 
117
                        args.AddRange (files.Select (f => {
 
118
                                var rep = GetRepository (f);
 
119
                                rep.ClearCachedVersionInfo (f);
 
120
                                return new FileUpdateEventInfo (rep, f, false);
 
121
                        }));
118
122
                        VersionControlService.NotifyFileStatusChanged (args);
119
123
                }
120
124
        }