Quantcast
Channel: Team Foundation Server - General forum
Viewing all articles
Browse latest Browse all 6687

Why different behaviour in TFS2012 and TFS2013 when undo pending changes?

$
0
0

Hi,
Recently, we use  System.IO.FileSystemWatcher to monitor the file changes in TFS workspace.
The operations we do:
1. Delete a monitored file which is in source control
2. Undo pending changes. 

The operations lead to different behaviour when we connect to TFS2012 and TFS2013.

Connect To  TFS2012:

The renamed event is invoked in FileSystemWatcher.

Connect To TFS2013:

The created event is invoked. 

Why different behaviour in TFS2012 and TFS2013 when undo pending changes? It's relate to our solution to our code.

how about TFS2010 , which event will be called when the above operations do?

Thanks


Viewing all articles
Browse latest Browse all 6687

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>