Show More
@@ -29,7 +29,7 b' tmpspec=/tmp/`basename "$specfile"`.$$' | |||||
29 | version=`hg tags | perl -e 'while(<STDIN>){if(/^(\d\S+)/){print$1;exit}}'` |
|
29 | version=`hg tags | perl -e 'while(<STDIN>){if(/^(\d\S+)/){print$1;exit}}'` | |
30 | # Compute the release number as the difference in revision numbers |
|
30 | # Compute the release number as the difference in revision numbers | |
31 | # between the tip and the most recent tag. |
|
31 | # between the tip and the most recent tag. | |
32 |
release=`hg tags | perl -e 'while(<STDIN>){/^(\S+)\s+(\d+)/;if($ |
|
32 | release=`hg tags | perl -e 'while(<STDIN>){($tag,$id)=/^(\S+)\s+(\d+)/;if($tag eq "tip"){$tip = $id}elsif($tag=~/^\d/){print $tip-$id+1;exit}}'` | |
33 | tip=`hg -q tip` |
|
33 | tip=`hg -q tip` | |
34 |
|
34 | |||
35 | # Beat up the spec file |
|
35 | # Beat up the spec file |
General Comments 0
You need to be logged in to leave comments.
Login now