Get Last file Commit Date from SVN

2019-03-18 03:29发布

问题:

Noob to Subversion, so please bear with me.

Is there a way to get the last commit date for a file from the command line?

回答1:

svn info filename


回答2:

svn log -vl1 filename-or-url will give you the commit log for the last change that altered your file.



回答3:

Use this to export only the last changed date.

svn info filename | grep '^Last Changed Date:'| sed -e 's/^Last Changed Date: //'