mailer.conf question

2010-04-02 Thread Simon Butler
I'd like to send emails to different aliases based on the repository
location of a checked in file. i have my postcommit hook and mailer.py setup
fine and added the following section to my mailer.conf file

[docs]
for_paths = https://svn.tt-da.com/mdx/docs/*
# # set a custom prefix
commit_subject_prefix = [MDX Docs Change]
# # override the default, sending these elsewhere
to_addr = sa...@tt-da.com
# # use the revision author as the from address
from_addr =

 unfortunately I don't seem to get any different behavior (than just sending
email to the default developers alias) when i commit a file

--


svn python bindings

2010-04-18 Thread Simon Butler
We installed Subversion (SVN) 1.5 from CollabNet on CentOS 4 and are looking
for the Python binding to the client-side SVN programming interface (API).

The obvious choice would be PySVN from .  However,
since no pre-builts package for RedHat or CentOS are available, we need to
build PySVN from source.

To do so, at least one include file svn_client.h is required, plus a number
of libraries and perhaps more.  Those seem to be missing from the CollabNer
SVN release.

Our question is, is any Python binding available for CollabNet's SVN 1.5?
 Or, how can the PySVN binding be built with CollabNet's SVN 1.5?

--


svn commit of locked/unmodified files

2014-05-31 Thread Simon Butler
hi

when i lock multiple files in a directory modify only one and then commit
the directory ,the last changed rev on all files is set to the commit
revision. however, when i query the server the repository last changed rev
is unchanged.

why does the svn workspace get a different answer for "last changed rev"
than the svn server?

here's a quick shell script showing the problem.

thanks in advance for any insight on this.



#!/bin/bash
cd /tmp
mkdir svntest
cd !$
svnadmin create repo
svn mkdir file:///tmp/svntest/repo/foo -m test
svn co file:///tmp/svntest/repo/foo foo
cd foo
touch a b
svn add a b
svn commit -m bar
svn lock a b
echo a > a
svn commit -m barf
svn st -v
svn info b
svn info file:///tmp/svntest/repo/foo/b
cd ..
svn co file:///tmp/svntest/repo/foo too
svn st -v foo too