Verified Commit 43eb7978 authored by Paul Wise's avatar Paul Wise

Migrate VCS related info and commands from svn to git

parent e2854c8e
......@@ -43,7 +43,7 @@ if [ -n "$debug" ]; then
cd $root/base
date=`LC_ALL=C date -u "+%FT%T%:z"`
svnrev=$(svnversion $root)
gitrev=$(git --git-dir $root/.git describe --always)
# Read source package names on stdin
while read package
......@@ -60,7 +60,7 @@ do
param="$param --stringparam svnrev $svnrev"
param="$param --stringparam gitrev $gitrev"
param="$param --stringparam dir $dir"
param="$param --stringparam package $package"
param="$param --stringparam hash $hash"
find base/ -maxdepth 2 -mindepth 2 -type d | grep -vF /.svn/ | sed -e s,^.*/,,
find base/ -maxdepth 2 -mindepth 2 -type d | sed -e s,^.*/,,
......@@ -13,7 +13,7 @@
<!-- Common parameters and variables definitions to pts.xsl and admssw.xsl -->
<xsl:param name="svnrev"/>
<xsl:param name="gitrev"/>
<xsl:param name="package"/>
<xsl:param name="dir"/>
<xsl:param name="date"/>
......@@ -1680,9 +1680,8 @@ other-to-%xx, especially % to %25... Fortunately, that's rare -->
<a href=""><tt></tt>
pseudopackage</a> in the <a href="">Debian
<acronym title="Bug Tracking System">BTS</acronym></a>.<br/>
SVN revision <xsl:value-of select="$svnrev"/> |
<a href="svn://">Checkout SVN repository</a> |
<a href="">Browse SVN repository</a><br/>
git revision <xsl:value-of select="$gitrev"/> | Checkout or browse
<a href="">git repository</a><br/>
Last modified: <xsl:value-of select="$date"/>.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment