Changeset b0ab2bf2815cb553a199faad1b9970c2193208df
- Timestamp:
- 09/04/08 16:43:53
(3 months ago)
- Author:
- Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
- git-committer:
- Giuseppe Bilotta <giuseppe.bilotta@gmail.com> 1220532233 +0200
- git-parent:
[6f0258b1b2d9f715c7c35897bb0b1226747e428e]
- git-author:
- Giuseppe Bilotta <giuseppe.bilotta@gmail.com> 1220532233 +0200
- Message:
launch_here: fix svn version codepath
'up' was a leftover variabled since the code was in bin/rbot. Use
SCM_DIR instead.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r6f0258b |
rb0ab2bf |
|
| 40 | 40 | end |
|---|
| 41 | 41 | $version << " (#{branch} branch, #{rev})" |
|---|
| 42 | | elsif File.directory? File.join(up, '.svn') |
|---|
| | 42 | elsif File.directory? File.join(SCM_DIR, '.svn') |
|---|
| 43 | 43 | rev = " (unknown revision)" |
|---|
| 44 | 44 | begin |
|---|
| 45 | 45 | svn_out = `svn info` |
|---|
| 46 | 46 | rev = " (revision #{$1}" if svn_out =~ /Last Changed Rev: (\d+)/ |
|---|
| 47 | | svn_st = `svn st #{up}` |
|---|
| | 47 | svn_st = `svn st #{SCM_DIR}` |
|---|
| 48 | 48 | rev << ", local changes" if svn_st =~ /^[MDA] / |
|---|
| 49 | 49 | rev << ")" |
|---|