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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With