Given a file, how do I find out number of times the file was revised? The head revision number may be in hundreds but I would have revised a file just 4 times. Thus given that file, I want 4 as the answer. Sounds pretty trivial but I was unable to find any command to achieve this. Can someone help?
Use svn log -q filename | grep '^r' | wc -l
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