Looking for previously deleted code in RTC later?

Traditional wisdom says that you need to delete the code as soon as you do not need it - instead of leaving it in the code base as a comment, because you can always find it later in the repository.

Let's say I need a line of code from the past that I remember to contain a very catchy substring ("XYZ", for discussion).

What are my options for finding previously deleted code using the Visual Studio 2010 Rational Team Concert (3.x) client? Can I only search for changes to a single file (maybe I donโ€™t know which file it was in)? Can I quickly or easily search many files (without pulling these files from the repository)?

+4
source share
1 answer

I'm not sure if there is an easy way to return the exact file with this missing line.

You can choose to display history in the Stream component to "Show history files" for a given set of changes.

From there you can "compare with a local file."

However, Visual Studio integration may be less complete than eclipse, as this stream shows (where only โ€œShow Historyโ€ Deliver's history is displayed).

Despite the fact that the next article uses the Eclipse GUI, see also โ€œ The Practice of Archeology of Version Control with Rational Team Concert, โ€ which has other ideas for you.

+1
source

All Articles