Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

check the last commit message in subversion

Tags:

Why is it when I execute the following command just after making a commit I get the commit message, but all other times I just get a line of dashes?

svn log -r head 

Quite often I want to browse to a branch in my filesystem, check what branch it represents in subversion and check what the last commit message was, but this command only seems to work when I run it just after making a commit.

like image 373
crmpicco Avatar asked May 09 '12 15:05

crmpicco


1 Answers

If you want to get the last commit message of a branch try this :

svn log -l 1 BRANCH_URL 

The -l 1 is here to limit the size of the log to the last message.

If you want to check the last message of commit in your current working copy, try this :

svn log -r COMMITTED 
like image 64
Cédric Julien Avatar answered Sep 18 '22 18:09

Cédric Julien