JoelHess
JoelHess

Reputation: 1207

Get Last file Commit Date from SVN

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?

Upvotes: 17

Views: 20972

Answers (4)

Tom Parfitt
Tom Parfitt

Reputation: 51

The following will show only the last changed date:

svn info --show-item last-changed-date filename

results in:

2019-08-09T10:48:22.754994Z

Upvotes: 4

halilb
halilb

Reputation: 4115

Use this to export only the last changed date.

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

Upvotes: 2

Ether
Ether

Reputation: 53966

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

Upvotes: 2

David M
David M

Reputation: 72870

svn info filename

Upvotes: 22

Related Questions