Gavin 'Beau' Baumanis wrote: > Hi Julian / Bert et al; > > I was also thinking along the lines of; > Did a file named, filename.extension EVER exist ANYWHERE in the repository. > And if so, > At what path and revision did it exist? > > The times I have wanted to find something in the repository were; > "When did this file cease to be" > "When did this file start to exist" > and the one above, > > "I'm looking for a file named ... - did I ever have a file named THIS in the > repository at ANY path at ANY revision." >
My 2 cents, as svn user/administrator: I think the number one use case for this feature is: "Yes, I remember about that feature/bug/brilliant piece of code, it's in /the/path/SomeFile.java. Let me quickly look it up. What? Where is SomeFile.java? I can't find it. I'm sure it was here last year (last week / yesterday). Someone must have deleted or moved it. I'd like to know where it's gone, who did that (author), and why (log message / ask author)." Right now, it's not easy to answer these questions (it could be tens of thousands of revisions that have passed since you remember last seeing SomeFile.java). In my experience, people still remember the full path of the file they are looking for, but searching in any path could be a good generalization. So basically, I think the most useful would be to enhance "svn log" to answer the above questions all at once. Something like (naive idea): svn log http://svn.example.com/repos/trunk/the/path/somefile.j...@ever -> showing possibly multiple unrelated lines of history at that same url. -> of course, the output should clearly separate multiple lines of history. Regards, Johan