Re: commit hooks - is there a hook which is called after commit even if its not successful

2012-02-23 Thread Torsten Krah
Am Mittwoch, den 22.02.2012, 14:53 -0500 schrieb Andy Levy: Can pre-commit clean up after itself, so that the environment is clean regardless of the result of the commit? Hm no, the action should do some work (external system) and does need to know if commit was successful or if it failed. At

How to recognize commit failure via hooks

2012-02-23 Thread Lars Klonowski
Hello guys, We are running a web application with subversion and database access. The normal workflow is to make changes on the web surface, which will then trigger further changes in subversion and the database. This way we can easily assure consistency between these two systems. Now, we are

Re: How to recognize commit failure via hooks

2012-02-23 Thread Daniel Shahaf
Lars Klonowski wrote on Thu, Feb 23, 2012 at 10:42:40 +0100: The post-commit hook gets a revision parameter and I don't see a possibility how to determine which transaction it came from. This has been implemented for 1.8.0: http://subversion.apache.org/docs/release-notes/1.8#hooks-post-commit

Re: commit hooks - is there a hook which is called after commit even if its not successful

2012-02-23 Thread Stephen Butler
On Feb 23, 2012, at 10:44 , Torsten Krah wrote: Am Mittwoch, den 22.02.2012, 14:53 -0500 schrieb Andy Levy: Can pre-commit clean up after itself, so that the environment is clean regardless of the result of the commit? Hm no, the action should do some work (external system) and does need

Re: commit hooks - is there a hook which is called after commit even if its not successful

2012-02-23 Thread Torsten Krah
Am Donnerstag, den 23.02.2012, 11:16 +0100 schrieb Stephen Butler: Why not do 1 3 in a post-commit hook? In pre-commit things are already needed to be parsed to check if the commit itself is allowed. When doing those checks things can be prepared too for the external system - 2 in 1 ;-). So the

Re: commit hooks - is there a hook which is called after commit even if its not successful

2012-02-23 Thread Andreas Krey
On Thu, 23 Feb 2012 11:50:29 +, Torsten Krah wrote: ... In theory yes it would work to do the same thing again in post-commit - but pre-commit already did all the work before. Would be nice if there would be no need to parse and analyze things twice, may take time and resources depending

svn copy randomly gets File or directory is out of date error

2012-02-23 Thread leojhartiv
We have an automated build process (enabled via jenkins) that creates a nightly tag and uses that tag to deploy the latest and greatest version of our app to SIT. Here are there we are getting a file or directory is out of date error. I find this confusing as I'm performing an SVN copy, which I

Re: svn copy randomly gets File or directory is out of date error

2012-02-23 Thread Stefan Sperling
On Thu, Feb 23, 2012 at 04:18:29AM -0800, leojhartiv wrote: We have an automated build process (enabled via jenkins) that creates a nightly tag and uses that tag to deploy the latest and greatest version of our app to SIT. Here are there we are getting a file or directory is out of date

Re: svn copy randomly gets File or directory is out of date error

2012-02-23 Thread Andreas Krey
On Thu, 23 Feb 2012 14:10:22 +, Stefan Sperling wrote: ... svn cp --username=user --password= 'http://fromurl' http://tourl/tags/builds/4.1.3.0_20120223.0 -m 'Nightly build tag created by CI' svn: File or directory 'tags/builds' is out of date; try updating svn: resource

Automated Deployments in SVN--Windows

2012-02-23 Thread Waseem Shahzad
Guys What is the best approach to deploy through SVN on Remote servers:- 1. ASP pages à Copy and Paste 2. SPs à in SQL 20xx 3. COM+Dlls Moreover ; Any threat or problem if I put my Live Application in SVN checkout? Cheers, Waseem Bukhari CMer

Re: svn copy randomly gets File or directory is out of date error

2012-02-23 Thread Stefan Sperling
On Thu, Feb 23, 2012 at 03:24:54PM +0100, Andreas Krey wrote: On Thu, 23 Feb 2012 14:10:22 +, Stefan Sperling wrote: ... svn cp --username=user --password= 'http://fromurl' http://tourl/tags/builds/4.1.3.0_20120223.0 -m 'Nightly build tag created by CI' svn: File or

Re: svn copy randomly gets File or directory is out of date error

2012-02-23 Thread leojhartiv
My guess is that this is what's happening (in my case): I have two nightly build processes creating tags. #1 and #2 both run at around the same time. Perhaps #2 starts while #1 is still running and then Subversion tells us that something is changed (optimistic locking). There are probably 2

Re: svn copy randomly gets File or directory is out of date error

2012-02-23 Thread Philip Martin
Stefan Sperling s...@elego.de writes: On Thu, Feb 23, 2012 at 04:18:29AM -0800, leojhartiv wrote: We have an automated build process (enabled via jenkins) that creates a nightly tag and uses that tag to deploy the latest and greatest version of our app to SIT. Here are there we are getting

Re: Automated Deployments in SVN--Windows

2012-02-23 Thread Ryan Schmidt
On Feb 23, 2012, at 08:46, Waseem Shahzad wrote: Any threat or problem if I put my Live Application in SVN checkout? Depending on where you check out your working copy on the server, your version of Subversion, and your web server configuration, it's possible users could access all the files

Lost changes

2012-02-23 Thread Gary Weinfurther
I have a team of about seven people, both on Macs and PCs. Within the last couple of weeks, we have been experiencing frequent occurrences of lost changes. Someone will commit a change and later we discover that the change has been reverted. Everyone claims that they are updating before they

Re: Issue report: subversion 1.7.2 windows command line client cannot copy URL - WC if URL contains externals

2012-02-23 Thread Paul Burba
On Wed, Feb 22, 2012 at 12:36 PM, Paul Burba ptbu...@gmail.com wrote: On Wed, Feb 22, 2012 at 12:05 PM, Philip Martin philip.mar...@wandisco.com wrote: Paul Burba ptbu...@gmail.com writes: Index: subversion/libsvn_client/copy.c

Re: Lost changes

2012-02-23 Thread vishwajeet singh
On Thu, Feb 23, 2012 at 8:27 PM, Gary Weinfurther gweinfurt...@es3.netwrote: I have a team of about seven people, both on Macs and PCs. Within the last couple of weeks, we have been experiencing frequent occurrences of lost changes. Someone will commit a change and later we discover that

Re: svn copy randomly gets File or directory is out of date error

2012-02-23 Thread Stefan Sperling
On Thu, Feb 23, 2012 at 03:05:41PM +, Philip Martin wrote: Stefan Sperling s...@elego.de writes: Recall that any commit to a node creates a new revision of the node's parents in the repository. If a commit changes, for instance, /trunk/foo, the following nodes will get a new revision

Re: Lost changes

2012-02-23 Thread Nico Kadel-Garcia
On Thu, Feb 23, 2012 at 9:57 AM, Gary Weinfurther gweinfurt...@es3.netwrote: I have a team of about seven people, both on Macs and PCs. Within the last couple of weeks, we have been experiencing frequent occurrences of lost changes. Someone will commit a change and later we discover that

RE: Automated Deployments in SVN--Windows

2012-02-23 Thread Waseem Shahzad
Thanks for your ACK. I am using Windows ,Visual SVN Server and tortoise SVN as Client. Now Pls share your thoughts? Cheers, Waseem Bukhari CMer - Ext: 506 -Original Message- From: Ryan Schmidt [mailto:subversion-20...@ryandesign.com] Sent: Thursday, February 23, 2012 10:11 AM To:

Re: Lost changes

2012-02-23 Thread Stefan Sperling
On Thu, Feb 23, 2012 at 02:57:10PM +, Gary Weinfurther wrote: I have a team of about seven people, both on Macs and PCs. Within the last couple of weeks, we have been experiencing frequent occurrences of lost changes. Someone will commit a change and later we discover that the change has

Re: Lost changes

2012-02-23 Thread Ryan Schmidt
On Feb 23, 2012, at 08:57, Gary Weinfurther wrote: I have a team of about seven people, both on Macs and PCs. Within the last couple of weeks, we have been experiencing frequent occurrences of lost changes. Someone will commit a change and later we discover that the change has been

Re: Automated Deployments in SVN--Windows

2012-02-23 Thread Thorsten Schöning
Guten Tag Waseem Shahzad, am Donnerstag, 23. Februar 2012 um 15:46 schrieben Sie: What is the best approach to deploy through SVN on Remote servers:- That heavily depends on your software and environment. If your software is installable using MSI, I for example prefer using WebSVN to provide a

RE: Automated Deployments in SVN--Windows

2012-02-23 Thread Waseem Shahzad
Thanks for your ACK. I have just ASPs files , need to be copy and paste. Below are part of my deployment that I want to do with SVN. 1. ASPs -- Copy Paste 2. SQL Scripts 3. DLLs Any way to work with Other than web svn? Cheers, Waseem Bukhari CMer - Ext: 506 -Original Message-

RE: Automated Deployments in SVN--Windows

2012-02-23 Thread Waseem Shahzad
One more thing. What do you mean with this? Is it describing the parts of your software which need to be deployed or your ideas how you could deploy with subversion? --- Yes , your ideas how you could deploy with subversion? Cheers, Waseem Bukhari CMer - Ext: 506 -Original

Re: Automatic tagging

2012-02-23 Thread Geoff Hoffman
Tagging is simply an svn copy operation. svn copy is scriptable. Does that help at all? On Thu, Feb 23, 2012 at 10:07 AM, List Man list@bluejeantime.comwrote: Is there a way to tag a project based on some requirements? I am trying to script it and I am coming up empty. I am tired of

Re: Automated Deployments in SVN--Windows

2012-02-23 Thread Les Mikesell
On Thu, Feb 23, 2012 at 10:35 AM, Waseem Shahzad waseem.shah...@curemd.com wrote: One more thing. What do you mean with this? Is it describing the parts of your software which need to be deployed or your ideas how you could deploy with subversion? --- Yes , your ideas how you could deploy

Checksum mismatch between 1.4.2 server and 1.7 client

2012-02-23 Thread Nate Parsons
Hi all, I'm not sure if this is something I did wrong or a bug, but I'm only seeing this on the svn client I built myself (not in TortoiseSVN 1.7.5 or debian's 1.6.12dfsg-6 with the same server). I rebuilt with --enable-maintainer-mode to try to get more information At random, arbitrary files,

Re: Checksum mismatch between 1.4.2 server and 1.7 client

2012-02-23 Thread Daniel Shahaf
Nate Parsons wrote on Thu, Feb 23, 2012 at 16:46:55 -0500: * ra_serf : Module for accessing a repository via WebDAV protocol using serf. - handles 'http' scheme - handles 'https' scheme If there is any other information I could provide, let me know. Are you able to rebuild --with-neon