I am trying to write a utility in python to get me all the files that have been modified for a specific branch....i don't care about the date or who commited.
how would I go about doing this? I can handle the python part, I just can't find a command in svn to give me the output.
To find information about the history of a file or directory, use the svn log command. svn log will provide you with a record of who made changes to a file or directory, at what revision it changed, the time and date of that revision, and, if it was provided, the log message that accompanied the commit.
Using the latest versions of Subclipse, you can actually view them without using the cmd prompt. On the file, simply right-click => Team => Switch to another branch/tag/revision.
They are stored in the svn:log property. You can add the --revprop flag to the various property commands to view & edit this property.
svn log -l 10 path/to/file
Here 10 is number of entries from logs
e.g.
svn log -l 10 pom.xml
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With