I have a large number of files that used to be named with a UUID, for example "58eb386e-305d-11e0-a2d5-33c8867dedc0.html". Then they all got moved to other filenames, often as part of massive wholesale moves. I'd like to go back through each file's history, find the UUID, and then append it to the file. I'd like to do this on the command line if I can.
I can't find a simple way to generate a list of the names of a single file throughout its individual history. Neither svn log nor svn log --xml print the filename in their output. If I add a -v flag, I get the filenames of everything that changed in every revision that affected the file, which isn't what I want.
What I'd like is something that more-or-less looks like this:
> svn magic-command foo.html
----
r312 ...
A foo.html
D bar.html
----
r256 ...
A bar.html
D baz.html
----
r234 ...
A baz.html
D 58eb386e-305d-11e0-a2d5-33c8867dedc0.html
----
r123 ...
A 58eb386e-305d-11e0-a2d5-33c8867dedc0.html <<< BINGO!!!
D draft.html
----
r96 ...
A draft.html
Any suggestions? Thanks!