diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/rbot | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -51,7 +51,11 @@ if $version =~ /svn/ branch = $1.dup || "unknown" changed = git_out.match(/^# Change(.*)\n/) rev = "revision " - rev << `git rev-parse HEAD`[0..5] + git_out = `git log -1 --pretty=format:"%h%n%b"`.split("\n") + rev << git_out.first + if git_out.last.match(/^git-svn-id: \S+@(\d+)/) + rev << "(svn #{$1})" + end rev << ", local changes" if changed $version << " (#{branch} branch, #{rev})" |