Another “this ought to be easy but I don’t know how to do it” question …
We have an SVN repository with many many branches. Is there any way to ask a question like “What are all the commits I did in the last week against all branches?” or “What are all the revisions that include changes to file X across all branches?”
I can do a log on a particular branch and search it to get answers to questions like this for one branch, but how do I ask questions like this where the answer may span multiple branches?
Branches aren’t special to Subversion, they’re just directories. So asking “what did I commit last week” is no different on a single directory, an entire branch, or an entire repository. Remember you can do this on the entire repository without checking it out by passing the repository URL to
svn log.Asking which revisions changed a single file across branches is harder, because as far as Subversion is concerned, those are multiple different files. You’ll have to
svn logthe file in each branch, orsvn logthe entire repository and filter.