How to get all svn revision details between 2 dates -
How can I get the details of all svn amendments between 2 dates (pre- February 16 to February 17) ..and how can I create a script for automation?
Try:
But keep in mind that the first date will also take the final commitment before this date. To automate the answer, you can use the command output for today : - NH Svn Log-VR {2014 -02-16}: {2014-02-17}
date +% F and you use the calculation on the seconds calculated from the time of reference You can calculate the date by
date +% S .
Date --date @ Integer & gt; Use +% F to convert back to YYYY-MM-DD format. Bash script in
#! / Bin / bash now = 'date +% S' tomorrow = $ ((now - 24 * 3600)) d1 = `date --date @ $ tomorrow +% F` d2 =` date +% F` svn log -v -r {$ d1}: {$ D2}
Comments
Post a Comment