<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Mohamed Mahmoud (El-Geish) : History</title><link>http://blogs.msdn.com/mohamedg/archive/tags/History/default.aspx</link><description>Tags: History</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>How to: List changesets between two labeled versions?</title><link>http://blogs.msdn.com/mohamedg/archive/2009/04/18/how-to-list-changesets-between-two-labeled-versions.aspx</link><pubDate>Sat, 18 Apr 2009 10:10:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9554894</guid><dc:creator>mohamedg</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/mohamedg/comments/9554894.aspx</comments><wfw:commentRss>http://blogs.msdn.com/mohamedg/commentrss.aspx?PostID=9554894</wfw:commentRss><description>You can achieve that behavior by running: tf hist rootItemSpec /r /version:LstartLabel~LendLabel Here’s my scenario: tf hist /i File.cs Changeset Change User Date Comment --------- -------------------------- ------------- ---------- -------- 65 edit mohamedg...(&lt;a href="http://blogs.msdn.com/mohamedg/archive/2009/04/18/how-to-list-changesets-between-two-labeled-versions.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9554894" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/mohamedg/archive/tags/VSTF/default.aspx">VSTF</category><category domain="http://blogs.msdn.com/mohamedg/archive/tags/Source+Control/default.aspx">Source Control</category><category domain="http://blogs.msdn.com/mohamedg/archive/tags/How+To/default.aspx">How To</category><category domain="http://blogs.msdn.com/mohamedg/archive/tags/History/default.aspx">History</category></item><item><title>How to: View history of an item across branches?</title><link>http://blogs.msdn.com/mohamedg/archive/2009/04/18/how-to-view-history-of-an-item-across-branches.aspx</link><pubDate>Sat, 18 Apr 2009 10:01:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9554889</guid><dc:creator>mohamedg</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/mohamedg/comments/9554889.aspx</comments><wfw:commentRss>http://blogs.msdn.com/mohamedg/commentrss.aspx?PostID=9554889</wfw:commentRss><description>You can use tfpt history /followbranches to follow the history of an item across branches. We are looking into supporting this in the history dialog in the next version . You can see which versions are ported over during the merge operation if you use...(&lt;a href="http://blogs.msdn.com/mohamedg/archive/2009/04/18/how-to-view-history-of-an-item-across-branches.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9554889" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/mohamedg/archive/tags/VSTF/default.aspx">VSTF</category><category domain="http://blogs.msdn.com/mohamedg/archive/tags/Source+Control/default.aspx">Source Control</category><category domain="http://blogs.msdn.com/mohamedg/archive/tags/Merge/default.aspx">Merge</category><category domain="http://blogs.msdn.com/mohamedg/archive/tags/Branch/default.aspx">Branch</category><category domain="http://blogs.msdn.com/mohamedg/archive/tags/History/default.aspx">History</category></item><item><title>How to: Find distinct changes by user?</title><link>http://blogs.msdn.com/mohamedg/archive/2009/03/23/how-to-find-distinct-changes-by-user.aspx</link><pubDate>Tue, 24 Mar 2009 05:34:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9503206</guid><dc:creator>mohamedg</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/mohamedg/comments/9503206.aspx</comments><wfw:commentRss>http://blogs.msdn.com/mohamedg/commentrss.aspx?PostID=9503206</wfw:commentRss><description>&lt;p&gt;You can find changesets if you open Source Control Explorer and hit Ctrl+G or choose Edit &amp;gt; Go to…&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/mohamedg/WindowsLiveWriter/HowtoFinddistinctchangesbyuser_13D4F/FindChangesets_2.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="FindChangesets" border="0" alt="FindChangesets" src="http://blogs.msdn.com/blogfiles/mohamedg/WindowsLiveWriter/HowtoFinddistinctchangesbyuser_13D4F/FindChangesets_thumb.jpg" width="241" height="244" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;However, this shows changesets with no details, you have to double click it first. If you want to see detailed info all at once, you can use the command-line:&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;tf hist /i /r /format:detailed /u:Adam itemSpec&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;This shows all details for all changesets made by Adam that contains any item in the tree specified in the command. To list changes only, you can pipe the output to find &amp;quot;$/&amp;quot;:&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;tf hist /i /r /format:detailed /u:Adam itemSpec | find &amp;quot;$/&amp;quot;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;This will show the changes but they might contain duplicates, to generate a unique list, you can run:&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;FOR /F &amp;quot;tokens=*&amp;quot; %i IN ('tf hist /i /r /format:detailed /u:Adam itemSpec ^| find &amp;quot;$/&amp;quot; ^| sort') DO @find &amp;quot;%i&amp;quot; &amp;lt; out.txt &amp;gt; NUL || @echo %i &amp;gt;&amp;gt; out.txt&lt;/strong&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9503206" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/mohamedg/archive/tags/VSTF/default.aspx">VSTF</category><category domain="http://blogs.msdn.com/mohamedg/archive/tags/Source+Control/default.aspx">Source Control</category><category domain="http://blogs.msdn.com/mohamedg/archive/tags/How+To/default.aspx">How To</category><category domain="http://blogs.msdn.com/mohamedg/archive/tags/History/default.aspx">History</category></item><item><title>How to: Find source and target names for a rename?</title><link>http://blogs.msdn.com/mohamedg/archive/2009/03/20/how-to-find-source-and-target-names-for-a-rename.aspx</link><pubDate>Sat, 21 Mar 2009 00:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9493602</guid><dc:creator>mohamedg</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/mohamedg/comments/9493602.aspx</comments><wfw:commentRss>http://blogs.msdn.com/mohamedg/commentrss.aspx?PostID=9493602</wfw:commentRss><description>&lt;p&gt;If you view the history of an item that was renamed, you will see an entry like this in the history dialog:&lt;/p&gt;&lt;p&gt;123    rename    username    06/02/2008 09:11:55 AM    Comment&lt;/p&gt;&lt;p&gt;Then you try to open the changeset details to know to old name, but it only shows the new name:&lt;/p&gt;&lt;p&gt;NewName.cs    rename    $/Proj/ParentFolder&lt;/p&gt;&lt;p&gt;If you want to see the old name, you can use the command-line to view detailed history of an item:&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;tf hist /format:detailed /i $/Proj/ParentFolder/NewName.cs&lt;/span&gt;&lt;/p&gt;&lt;p&gt;The history entry preceding changeset 123 will have the old name:&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;-------------------------------------------------------------------------------&lt;br&gt;Changeset: 120&lt;br&gt;User: DOMAIN\userName&lt;br&gt;Date: 05/01/2008 04:10:05 PM&lt;/p&gt;&lt;p&gt;Comment:&lt;br&gt;  Change class name&lt;/p&gt;&lt;p&gt;Items:&lt;br&gt;  edit $/Proj/ParentFolder/OldName.cs&lt;/p&gt;&lt;p&gt;Check-in Notes:&lt;br&gt;  ....etc.&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9493602" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/mohamedg/archive/tags/VSTF/default.aspx">VSTF</category><category domain="http://blogs.msdn.com/mohamedg/archive/tags/Source+Control/default.aspx">Source Control</category><category domain="http://blogs.msdn.com/mohamedg/archive/tags/History/default.aspx">History</category><category domain="http://blogs.msdn.com/mohamedg/archive/tags/Rename/default.aspx">Rename</category></item></channel></rss>