Subversion Repositories wimsdev

Rev

Rev 4875 | Rev 12498 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
23 reyssat 1
 
2
!readdef wimshome/public_html/modules/$devdir/$mod/INDEX
3
pubmod=!translate internal ~ to / in $mod
4
m1=!translate internal ~ to , in $mod
5
m1=!item 1 of $m1
6
pubtest=!module title $pubmod
7
 
8
!if $pubtest=$empty or $m1 notitemof $zonelist or \
9
  $m1=test
10
 job=flist
11
 !changeto $job.proc
12
!endif
13
 
4875 bpr 14
category=!module category $pubmod
15
 
16
!if oef isitemof $category
17
  exclude=--exclude def
18
!endif
19
!if document isitemof $category
20
  exclude=--exclude '*.def'
21
!endif
22
diff=!sh cd modules\
10235 bpr 23
 diff -r $exclude --new-file $pubmod devel/$auth_login/$mod | sed 's/\&/\&amp;/g;s/</\&lt;/g;s/\$$/\&#36;/g' | tail -c 20000
4875 bpr 24
 
25
diffcnt=!charcnt $diff
26
 
27
!if $diffcnt>19500
28
 diff1=MANY
29
 diff =!char 1 to 19000 of $diff
30
!else
31
  diff = !replace internal diff -r $exclude --new-file by in $diff
32
  !if $diff !=$empty
33
    diff=diff -r $exclude --new-file\
34
$diff
35
  !endif
36
!endif