There a simple way to add the credentials to the svn client:
%appdata%\Subversion\servers
http-proxy-host=proxy-corpo
http-proxy-port=80
http-proxy-username=username
http-proxy-password=password
Showing posts with label svn. Show all posts
Showing posts with label svn. Show all posts
Tuesday, May 13, 2014
Wednesday, April 16, 2014
SVN > XSLT = HTML Report
svn log -v --xml file:///C:/subversion/repo/http-conf | xsltproc svnstyle.xsl - > ./svnlog.html
===== svnstyle.xsl =====
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<body>
<h2>SVN Log</h2>
<table border="1">
<xsl:for-each select="log/logentry">
<xsl:if test="author='USERNAME'">
<tr>
<td><xsl:value-of select="date"/></td>
<td><xsl:value-of select="author"/></td>
<td><xsl:value-of select="msg"/></td>
</tr>
</xsl:if>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
===== svnstyle.xsl =====
Output:
===== svnlog.html =====
<html>
<body>
<h2>SVN Log</h2>
<table border="1">
<tr>
<td>2014-04-11T21:34:31. 836671Z</td>
<td>USERNAME</td>
<td>My third commit</td>
</tr>
<tr>
<td>2014-04-11T21:34:31. 586674Z</td>
<td>USERNAME</td>
<td>My second commit</td>
</tr>
<tr>
<td>2014-04-11T21:34:31. 024182Z</td>
<td>USERNAME</td>
<td>My first commit</td>
</tr>
<tr>
<td>2014-04-11T21:34:30. 149193Z</td>
<td>USERNAME</td>
<td>Creating the project</td>
</tr>
</table>
</body>
</html>
===== svnlog.html =====
===== svnstyle.xsl =====
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<body>
<h2>SVN Log</h2>
<table border="1">
<xsl:for-each select="log/logentry">
<xsl:if test="author='USERNAME'">
<tr>
<td><xsl:value-of select="date"/></td>
<td><xsl:value-of select="author"/></td>
<td><xsl:value-of select="msg"/></td>
</tr>
</xsl:if>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
===== svnstyle.xsl =====
Output:
===== svnlog.html =====
<html>
<body>
<h2>SVN Log</h2>
<table border="1">
<tr>
<td>2014-04-11T21:34:31.
<td>USERNAME</td>
<td>My third commit</td>
</tr>
<tr>
<td>2014-04-11T21:34:31.
<td>USERNAME</td>
<td>My second commit</td>
</tr>
<tr>
<td>2014-04-11T21:34:31.
<td>USERNAME</td>
<td>My first commit</td>
</tr>
<tr>
<td>2014-04-11T21:34:30.
<td>USERNAME</td>
<td>Creating the project</td>
</tr>
</table>
</body>
</html>
===== svnlog.html =====
Friday, April 11, 2014
dos2unix
To convert all the files :
find . -type f -print0 | xargs -0 dos2unix
To convert all the files except those in the « .svn » directories :
find . -type f -not -iwholename '*.svn*' -print0 | xargs -0 dos2unix
Tuesday, February 4, 2014
Commit Monitor - Install (Windows)
Commit Monitor is doing monitoring on the SVN server, so you can be notified when others are committing new modifications.
http://stefanstools.sourceforge.net/CommitMonitor.html
Subscribe to:
Posts (Atom)