Tino Schwarze писал в своём письме Fri, 26 Mar
2010 12:27:27 +0300:
Hi Роман,
> Additional question: I can't seem to find an equivalent of "svnlook
> cat" anywhere... I wanted to avoid calling external programs - commits
> are slow enough already...
You basically need to apply repos.open,
Hi Роман,
On Thu, Mar 25, 2010 at 06:56:26PM +0300, Роман Донченко wrote:
>> Back to python: I managed to use the Python bindings to get a value from
>> the config file (I didn't want to reinvent the wheel) like this:
>>
>> ***
>> from svn import repos, fs, delta, core, client
>>
>> def main(pool
Tino Schwarze писал в своём письме Thu, 25 Mar
2010 17:32:35 +0300:
Additional question: I can't seem to find an equivalent of "svnlook cat"
anywhere... I wanted to avoid calling external programs - commits are
slow enough already...
Thanks,
Tino.
You basically need to apply repos.open, t
Tino Schwarze писал в своём письме Thu, 25 Mar
2010 17:17:42 +0300:
Hi there,
Back to python: I managed to use the Python bindings to get a value from
the config file (I didn't want to reinvent the wheel) like this:
***
from svn import repos, fs, delta, core, client
def main(pool, repos_di
Additional question: I can't seem to find an equivalent of "svnlook cat"
anywhere... I wanted to avoid calling external programs - commits are
slow enough already...
Thanks,
Tino.
On Thu, Mar 25, 2010 at 03:17:42PM +0100, Tino Schwarze wrote:
> Hi there,
>
> I'm currently implementing commit ho
Hi there,
I'm currently implementing commit hooks and struggling with the python
bindings. I took the contributed pre-commit example which uses the "svn"
python module which maps more or less directly to libsvn functions.
Background: We want to enforce certain global ignores, MIME types etc.
The