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:

Svn Log-VR {2014 -02-16}: {2014-02-17}

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 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}   

- NH

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -