source: branches/parallel/getsvnrev.sh@ 2228

Last change on this file since 2228 was 2188, checked in by Takeshi Nakazato, 15 years ago

New Development: No

JIRA Issue: Yes CSV-929 etc.

Ready for Test: Yes

Interface Changes: 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: Describe your changes here...

Merge several bug fixes for MSFiller/Writer in trunk
(r2167,r2176,r2184,r2185,r2187).


  • Property svn:mergeinfo set to
    /branches/asap-3.x/getsvnrev.sh1747-1748,​1750-1751,​1753
    /branches/asap4casa3.1.0/getsvnrev.sh1935-1936,​1940
    /branches/newfiller/getsvnrev.sh1774-1817
    /trunk/getsvnrev.sh2049,​2051,​2058-2059,​2064,​2078,​2081,​2083,​2086,​2088,​2090,​2092,​2094,​2098,​2100,​2102,​2104,​2125,​2127,​2129,​2133,​2135,​2139,​2141,​2143-2144,​2159,​2164,​2167,​2176,​2184-2185,​2187
File size: 982 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
11
12OUT=python/svninfo.txt
13
14INFOTOP=`svn info | awk '/Last Changed Rev:/ { print $4} /URL:/ { print $2 }'`
15SRCVER=`svn info src/.svn | awk '/Last Changed Rev:/ { print $4}'`
16PYVER=`svn info python/.svn | awk '/Last Changed Rev:/ { print $4}'`
17
18#HTTPS="https://svn.cv.nrao.edu/svn/casa"
19HTTPS="https://svn.atnf.csiro.au/asap/branches/alma"
20for i in $INFOTOP; do
21 echo $i
22 if test ${i:0:4} = "http"; then
23 #if test ${i:0:5} = "https"; then
24 # echo ${i#${HTTPS}} > $OUT
25 #fi
26 echo ${i} > $OUT
27 else
28 if test $SRCVER -gt $i; then
29 echo $SRCVER >> $OUT
30 elif test $PYVER -gt $i; then
31 echo $PYVER >> $OUT
32 else
33 #echo $i | tee -a $OUT
34 echo $i >> $OUT
35 fi
36 fi
37done
38
39date "+%b %d %Y, %H:%M:%S" >> $OUT
40
41exit 0
42
Note: See TracBrowser for help on using the repository browser.