RE: How to block files if the exceed number
From: Ilan Yaniv <Ilan.Yaniv_at_timetoknow.org>
Date: Mon, 27 Jul 2009 11:51:33 +0300
The thing is that the file that I am checking is binary (word document).
Here is the code example:
my $command = "$svnlook cat -t \"$txn\" $repos $file";
my $filecontent = `$command`;
When I try to print to content to the Tortoise I am getting this error:
Safe data 'test_ilan/Doc6.doc
' was followed by non-ASCII byte 208: unable to convert to/from UTF-8
________________________________
From: David Weintraub [mailto:qazwart_at_gmail.com]
You can use a pre-commit trigger. The issue is finding the size of a
You can also try the SVN-API which may exist for the scripting language
-- David Weintraub David_at_Weintraub.name Sent from my iPhone while riding in my Ferrari. (Jealous?) On Jul 26, 2009, at 8:21 AM, Ilan Yaniv <Ilan.Yaniv_at_timetoknow.org> wrote: Hi, I have this doc files that I want to block if they exceed the size of X kb. Thanks Ilan Yaniv Configuration Management Phone: 03-7534333 ext. 5561 mobile: 052-2331239 Ilan.Yaniv_at_timetoknow.org <mailto:Ilan.Yaniv_at_timetoknow.org> ------------------------------------------------------ http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2375784 To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].Received on 2009-07-27 10:53:25 CEST |
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.