While working on a project, I realized I wanted to add some code that parts of it existed in a file I deleted along with other deprecated old files. It would shorten my work to copy/paste (or at least view) some of the code I had in that old file.
$ svn log -v
This command showed me very nicely a lot of commit messages, but.. something is off.
I try this instead:
$ svn log -v | perl -nle'/\s+D\w/ && print'
Nothing. Since I don't know when I have finished committing changes to it, I don't know which revision of it I should get. I'm beginning to dislike subversion...
In Git, by the way:
$ git --no-pager log --name-status | perl -nle'/^D\s+/ && print'
You may say "this is pretty long" or "see? that's complex" but: