4

Is there a way to search with TortoiseSVN (or plain Subversion) for a bit of code that has been removed, and which revision it was removed in? Blame does something similar, but doesn't show removed code.

1 Answer 1

1

I just show the SVN log for the file in question, and then choose a revision from some time in the past and see if the removed code is present. If yes, choose another revision half way between the first one that you chose and the latest. Repeat until you get the revision where the lines were removed.

Not scientific, but works for me.

2
  • hmm, sounds like something one could automate... Apr 23, 2013 at 14:42
  • well yes but I only do this kind of search occasionally, and it takes about 5 minutes, so I haven't done that... Apr 23, 2013 at 16:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .