Re: STDOUT and Hook Scripts

2010-03-10 Thread Ryan Schmidt
On Mar 10, 2010, at 18:35, David Weintraub wrote: > On Wed, Mar 10, 2010 at 1:31 PM, Ted Stern wrote: >> What about this basic shell manipulation? >> >> #!/bin/sh >> >> exec 1>&2# combine stdout with stderr >> >> # do stuff that generates stdout >> >> if [ ] ; then >> exit 1 # re

Re: STDOUT and Hook Scripts

2010-03-10 Thread David Weintraub
On Wed, Mar 10, 2010 at 1:31 PM, Ted Stern wrote: > What about this basic shell manipulation? > > #!/bin/sh > > exec 1>&2    # combine stdout with stderr > > # do stuff that generates stdout > > if [ ] ; then >   exit 1       # return non-zero exit every time there's stdout > fi I know that hook

Re: SVN and bug reporting tools

2010-03-10 Thread Michael Diers
Oliver Marshall wrote: > We are looking at a trac/svn setup here, but before we commit ourselves > does anyone know of any other bug reporting tools that can integrate > with SVN? Certainly Trac can be a littletechnical in places and > something that's easier for end users to deal with would be

Re: svn log question

2010-03-10 Thread Ryan Schmidt
On Mar 10, 2010, at 14:49, Kevin Longfellow wrote: > I'm setting up monitoring hourly commits on several repositories and thought > something like this would work: > > #!/bin/sh > OneHourAgo=`date -d '1 hour ago' +'%F %T'` > DateNow=`date +'%F %T'` > em_result=`svn log -r "{${OneHourAgo}}:{${Da

svn log question

2010-03-10 Thread Kevin Longfellow
Hi, I'm setting up monitoring hourly commits on several repositories and thought something like this would work: #!/bin/sh OneHourAgo=`date -d '1 hour ago' +'%F %T'` DateNow=`date +'%F %T'` em_result=`svn log -r "{${OneHourAgo}}:{${DateNow}}" file:///${SvnBase}/${1} | egrep "^r.*line|^r.*lines

Fwd: potential bug: svn:executable property set differently by import and add

2010-03-10 Thread Tom de Vries
with attachments... do Description: Binary data LOG Description: Binary data Begin forwarded message:From: Tom de Vries Date: March 10, 2010 21:20:13 GMT+01:00To: users@subversion.apache.orgSubject: potential bug: svn:executable property set differently by import and add Hi, 

potential bug: svn:executable property set differently by import and add

2010-03-10 Thread Tom de Vries
Hi, to reproduce the problem: - execute do script in empty directory - look at resulting trace (attached in LOG) - note that propget returns different results for the 'import' and 'add' case I build svn 1.6.9, and traced the problem a bit. As far as I can see, for the add svn_wc_canonicaliz

Re: svn 1.6x and apache compression - mod_deflate

2010-03-10 Thread Leszek Szarlej
That would be strange for me as far as it looks for Accept-Encoding: gzip header I've checked current day: bash-3.2$ cat access_log.2010-03-10 |grep TortoiseSVN-1.5 |wc -l 1077 I revieved some of them and most of them have resp code 200 or 207 207 Multi-Status (WebDAV) (RFC 4918) There is also

Re: STDOUT and Hook Scripts

2010-03-10 Thread Ted Stern
On 10 Mar 2010 05:30:03 -0800, David Weintraub wrote: > > I know that when you run a hook, the STDOUT is not returned to the > user, and STDERR is only returned if that hook returns a non-zero exit > code. > > However, I'm writing a post-commit hook, and I'd like to know if it is > possible to pipe

Re: svn 1.6x and apache compression - mod_deflate

2010-03-10 Thread Mark Phippard
Do a checkout or command using a SVN client that does not have deflate support. For example, the TortoiseSVN 1.5.x clients. As soon as you do this, your server will probably crash. When the SVN clients have deflate support it all works great. The bug happens when a client without support hits t

RE: Is it possible to restore respository from working copy?

2010-03-10 Thread Giulio Troccoli
> On Wed, Mar 10, 2010 at 8:08 AM, Giulio Troccoli > wrote: > >> Due to my idiocy, I have deleted my svn repositories. > >> However, I do have working copies. Is it possible to restore some > >> versioning information from my working copies to a new repository? > > > > Unfortunately I don't think

Re: Is it possible to restore respository from working copy?

2010-03-10 Thread Jeremy Conlin
On Wed, Mar 10, 2010 at 8:08 AM, Giulio Troccoli wrote: >> Due to my idiocy, I have deleted my svn repositories. >> However, I do have working copies.  Is it possible to restore >> some versioning information from my working copies to a new >> repository? > > Unfortunately I don't think so. You ca

RE: Is it possible to restore respository from working copy?

2010-03-10 Thread Giulio Troccoli
> Due to my idiocy, I have deleted my svn repositories. > However, I do have working copies. Is it possible to restore > some versioning information from my working copies to a new > repository? Unfortunately I don't think so. You can delete all the .svn directories and then import everything in

Is it possible to restore respository from working copy?

2010-03-10 Thread Jeremy Conlin
Due to my idiocy, I have deleted my svn repositories. However, I do have working copies. Is it possible to restore some versioning information from my working copies to a new repository? Thanks, Jeremy

Re: Hi .. Doc on Subversion integration with Oracle SQL Developer .. Regards, Abhi

2010-03-10 Thread Dave Levitt
On Thu, Mar 4, 2010 at 2:57 PM, Abhijeeth Tulasi wrote: > Hi, > I am an Oracle Developer and I use "Oracle SQL Developer" IDE a lot. I was > wondering if anyone would be kind enough to refer me the setup process of > integrating Subversion with Oracle SQL Developer. > Thank you, > Abhi I have SQ

svn list

2010-03-10 Thread Arley Consuegra Rosello
Hello. How I can get the list of directory in the repo with the 'function list(...)' . . . SVNClient cliente = new SVNClient(); cliente.list("url_repo", Revision.HEAD, Revision.HEAD, int, int, bool, ListCallback); . . .

Re: Locking in Subversion

2010-03-10 Thread David Weintraub
I have a pre-commit hook script that allows you to do just that. It will fail commits unless the properties you specified on the files are set. You could do something like this: [property All word docs in project "A" need svn:needs-lock set] match = projectA/docs/.* property = svn:needs-lock type

STDOUT and Hook Scripts

2010-03-10 Thread David Weintraub
I know that when you run a hook, the STDOUT is not returned to the user, and STDERR is only returned if that hook returns a non-zero exit code. However, I'm writing a post-commit hook, and I'd like to know if it is possible to pipe STDOUT to another process as part of the hook script. For example,

svnsync on subdirectory + simplify history

2010-03-10 Thread Mathieu Malaterre
Hi there, After much struggle with svndumpfilter, I realize I did not understand the errors reported. Instead I used svnsync to extract a subdirectory of my original subversion server. What I would like now is simplify the history and remove any empty revision. Here is what I did (original ht

SVN and XAMPP with OSX 10.6.x

2010-03-10 Thread anged...@tin.it
Hi, my system is OSX 10.6.2. I've installed XAMPP and as it is is working fine (can see the starting page on http://localhost/). I've then installed SVN 1.6.9 for OSX 10.6.x and it's working fine locally (I'm able to read version or to create a repository) even if I need to call svn with the ful

Re: Locking in Subversion

2010-03-10 Thread Stephen Connolly
On 9 March 2010 16:20, wrote: > > Hi Guys, > > Please can you advise me on below. > > I have been asked to configure Subv in a way that all word docs/newly added > docs are configured for needs-lock in a particular projecy (say Project A) > under a repository. > > Initially I tried to implement t