source: trunk/getsvnrev.sh@ 3002

Last change on this file since 3002 was 2998, checked in by Kana Sugimoto, 10 years ago

r2993 | KanaSugimoto | 2014-10-15 20:32:13 +0900 (Wed, 15 Oct 2014) | 14 lines

New Development: No

JIRA Issue: No

Ready for Test: Yes/No

Interface Changes: Yes/No

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No

Module(s): Module Names change impacts.

Description: creating a test branch to merge from NRAO repository



r2994 | KanaSugimoto | 2014-10-15 20:51:59 +0900 (Wed, 15 Oct 2014) | 3 lines

Initialized merge tracking via "svnmerge" with revisions "1-31330" from
https://svn.cv.nrao.edu/svn/casa/branches/personal/kana/test-merge-43-01/asap


r2995 | KanaSugimoto | 2014-10-15 21:15:27 +0900 (Wed, 15 Oct 2014) | 3 lines

Initialized merge tracking via "svnmerge" with revisions "1-31330" from
https://svn.cv.nrao.edu/svn/casa/branches/personal/kana/test-merge-43-01/asap


r2996 | KanaSugimoto | 2014-10-15 21:24:23 +0900 (Wed, 15 Oct 2014) | 20 lines

Merged revisions 31331 via svnmerge from
https://svn.cv.nrao.edu/svn/casa/branches/personal/kana/test-merge-43-01/asap

........

r31331 | kana.sugimoto | 2014-10-15 21:06:50 +0900 (Wed, 15 Oct 2014) | 14 lines



New Development: Yes/No

JIRA Issue: No/Yes List JIRA ticket.

Ready for Test: Yes/No

Interface Changes: Yes/No

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No

Module(s): Module Names change impacts.

Description: dummy commit



........


r2997 | KanaSugimoto | 2014-10-15 21:48:06 +0900 (Wed, 15 Oct 2014) | 17 lines

Merged revisions 31332-31334 via svnmerge from
https://svn.cv.nrao.edu/svn/casa/branches/personal/kana/test-merge-43-01/asap

........

r31332 | kana.sugimoto | 2014-10-15 21:30:59 +0900 (Wed, 15 Oct 2014) | 1 line


A minor modification to a comment

........

r31333 | kana.sugimoto | 2014-10-15 21:36:19 +0900 (Wed, 15 Oct 2014) | 1 line


Removed a white line

........

r31334 | kana.sugimoto | 2014-10-15 21:39:32 +0900 (Wed, 15 Oct 2014) | 1 line


Put back year change

........


File size: 981 bytes
Line 
1#! /bin/bash
2
3# Store info about which svn branch, what revision and at what date/time
4# we executed make.
5
6# if we don't see the .svn directory, just return
7if test ! -d .svn; then
8 exit 0;
9fi
10
11OUT=python/svninfo.txt
12
13INFOTOP=`svn info | awk '/Last Changed Rev:/ { print $4} /URL:/ { print $2 }'`
14SRCVER=`svn info src/.svn | awk '/Last Changed Rev:/ { print $4}'`
15PYVER=`svn info python/.svn | awk '/Last Changed Rev:/ { print $4}'`
16
17#HTTPS="https://svn.cv.nrao.edu/svn/casa"
18HTTPS="https://svn.atnf.csiro.au/asap/branches/alma"
19for i in $INFOTOP; do
20 echo $i
21 if test ${i:0:4} = "http"; then
22 #if test ${i:0:5} = "https"; then
23 # echo ${i#${HTTPS}} > $OUT
24 #fi
25 echo ${i} > $OUT
26 else
27 if test $SRCVER -gt $i; then
28 echo $SRCVER >> $OUT
29 elif test $PYVER -gt $i; then
30 echo $PYVER >> $OUT
31 else
32 #echo $i | tee -a $OUT
33 echo $i >> $OUT
34 fi
35 fi
36done
37
38date "+%b %d %Y, %H:%M:%S" >> $OUT
39
40exit 0
41
Note: See TracBrowser for help on using the repository browser.