Reputation: 17181
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.
Upvotes: 22
Views: 34920
Reputation: 80761
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
Upvotes: 30