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
fi
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
needhtmlupdate="no"
needrdfupdate="no"
param=""
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"
......
#!/bin/sh
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="https://bugs.debian.org/qa.debian.org"><tt>qa.debian.org</tt>
pseudopackage</a> in the <a href="https://bugs.debian.org">Debian
<acronym title="Bug Tracking System">BTS</acronym></a>.<br/>
SVN revision <xsl:value-of select="$svnrev"/> |
<a href="svn://anonscm.debian.org/svn/qa/trunk/pts">Checkout SVN repository</a> |
<a href="https://anonscm.debian.org/viewvc/qa/trunk/pts/">Browse SVN repository</a><br/>
git revision <xsl:value-of select="$gitrev"/> | Checkout or browse
<a href="https://anonscm.debian.org/git/qa/pts.git/">git repository</a><br/>
Last modified: <xsl:value-of select="$date"/>.
</p>
</td>
......
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