Return-Path: X-Original-To: apmail-subversion-users-archive@minotaur.apache.org Delivered-To: apmail-subversion-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DEB45ECC6 for ; Mon, 4 Feb 2013 11:36:22 +0000 (UTC) Received: (qmail 4137 invoked by uid 500); 4 Feb 2013 11:36:22 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 4120 invoked by uid 500); 4 Feb 2013 11:36:22 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 4091 invoked by uid 99); 4 Feb 2013 11:36:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Feb 2013 11:36:21 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.212.181] (HELO mail-wi0-f181.google.com) (209.85.212.181) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Feb 2013 11:36:14 +0000 Received: by mail-wi0-f181.google.com with SMTP id hm6so1479530wib.14 for ; Mon, 04 Feb 2013 03:35:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:references:in-reply-to:subject:date:message-id :mime-version:content-type:x-mailer:thread-index:content-language :x-gm-message-state; bh=uBzSQWbjGGdM2bb+E5O/PZdocmQUGvmoY+9qmHcca8c=; b=HSXrkB0Raz1sp+wtIhZJKpeKfIyDPbM476j2n8FOaygDzQfZKMoTN9XSTvCoQ87RrD idXj0dyXr5vqErFZ+Ppb7fWA/o2R1CkfywxEkqmIOGTVRL4mE30HY8Fe9ms1dfKsr4az 9kU4tbxSyZzoA4fSeKAKNMQwRCFKhR1Y0oUkV5EERsx+LdLRydnxmTkVeOH0tGuU9pUX JgCLlEIPbrgJLCnhS06FVuqO0wAjdXUfioUZ3QDPvJTgp4aFzTAZBNS8Qawso/SIqY58 kxMFQhGwMTbGrYmzdAbsaqaBbE+M13RU2EfXlTFQO70zzV2oFF/EpT76Snqx/DjuLMP9 xV4A== X-Received: by 10.180.99.72 with SMTP id eo8mr9769243wib.34.1359977752727; Mon, 04 Feb 2013 03:35:52 -0800 (PST) Received: from tcgws000 (ip6d6d70ab.static.cbizz.nl. [109.109.112.171]) by mx.google.com with ESMTPS id o13sm1593375wie.10.2013.02.04.03.35.51 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 04 Feb 2013 03:35:51 -0800 (PST) From: "Bert Huijben" To: "'Ramachandran Raghavendran'" , References: <5546D8672C325C45AB1D07D95388F2F904D32F3F@MAA-EXCH05.dk.flsmidth.net> In-Reply-To: <5546D8672C325C45AB1D07D95388F2F904D32F3F@MAA-EXCH05.dk.flsmidth.net> Subject: RE: URL based commands not working in hooks\ Date: Mon, 4 Feb 2013 12:35:51 +0100 Message-ID: <001b01ce02cb$c9a7d840$5cf788c0$@qqmail.nl> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001C_01CE02D4.2B736C30" X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQIMR8yirZCdeTShXLul8vmy4wcCT5ftBqVw Content-Language: nl X-Gm-Message-State: ALoCoQkWrDjF5yFVkdOxXlSzo1brmVWNi0/mu6B03aUftTVX906uMghxgKQOpa9yyG/nAlQe13tv X-Virus-Checked: Checked by ClamAV on apache.org This is a multipart message in MIME format. ------=_NextPart_000_001C_01CE02D4.2B736C30 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Usually you shouldn't use 'svn log' from a hook. When using hooks you want to use the 'svnlook' command instead of 'svn' as you are looking directly at a transaction in progress. (And 'svnlook log' is more efficient than using the server that calls your hook again to access the same repository) 'svn log' looks at the committed state, while 'svnlook log -t REPOS_PATH' looks at a transaction in progress. But as Ryan mailed, we can't really help you without knowing what your script tries to do. (Looking at this error it might be that you try to commit while the hook is invoked as part of another commit) Bert From: Ramachandran Raghavendran [mailto:Ramachandran.Raghavendran@flsmidth.com] Sent: maandag 4 februari 2013 11:55 To: users@subversion.apache.org Subject: URL based commands not working in hooks\ Hi, I have a hook that runs svn log. My VisualSVN server is set up to run on Windows authentication. When I do a commit, svn log command doesn't at all. The event log says the following Could not MERGE resource "/svn/Test/!svn/txn into........ [409, #0] Can you help me what could have gone wrong please. Best regards, Ramachandran Raghavendran IT Project Consultant Direct +91 44 4748 3961 . Ramachandran.Raghavendran@flsmidth.com _____________________________________________ IT Operations - Infrastructure Management Services FLSmidth 34 Egatoor, Kelambakkam . Tamil Nadu . 603 103 . India Tel +91 4447481000 . Fax +91 4427470301 www.flsmidth.com Income Tax Permanent Account Number: AAACF4997N _____________________________________________ Important note! Please note that this mail including any attachment may contain confidential or privileged information for the intended recipient only. If you receive this mail in error you should refrain from making any use of the contents and from opening any attachment, but instead notify the sender immediately by phone or mail. Thank you. Please also note that the exchange of non-encrypted communication via the Internet may be compromised electronically and for that reason we take no responsibility for the integrity of such communication. This e-mail message has been swept by antivirus systems for the presence of computer viruses. In doing so, however, we cannot warrant that virus or other forms of data corruption caused by such may not be present. We expect any recipient of e-mail communication to have in place protection systems of his own choice. ------=_NextPart_000_001C_01CE02D4.2B736C30 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Usually you shouldn’t use = ‘svn log’ from a hook.

 

When using = hooks you want to use the ‘svnlook’ command instead of = ‘svn’ as you are looking directly at a transaction in = progress.

(And ‘svnlook log’ is more efficient = than using the server that calls your hook again to access the same = repository)

 

‘svn = log’ looks at the committed state, while ‘svnlook log -t = <transaction> REPOS_PATH’ looks at a transaction in = progress.

 

 

But as Ryan = mailed, we can’t really help you without knowing what your script = tries to do.

(Looking at this error it might be = that you try to commit while the hook is invoked as part of another = commit)

 

        &= nbsp;       Bert

 

 

From:= = Ramachandran Raghavendran = [mailto:Ramachandran.Raghavendran@flsmidth.com]
Sent: maandag = 4 februari 2013 11:55
To: = users@subversion.apache.org
Subject: URL based commands not = working in hooks\

 

Hi,

 

I have a hook that runs svn log. My VisualSVN server is set = up to run on Windows authentication.

When I do a commit, svn log command = doesn’t at all.

 

The event log says the following

 

Could not MERGE resource "/svn/Test/!svn/txn =  into........ [409, #0]

 

Can you help = me what could have gone wrong please.

 

 

 

=  

= Best regards,

=  

Ramachandran Raghavendran

IT Project Consultant

=  

= Direct +91 44 4748 3961  ·

= _____________________________________________

=  

= IT Operations - Infrastructure Management Services

= FLSmidth

= 34 Egatoor, Kelambakkam · Tamil Nadu · 603 103 · = India

= Tel +91 4447481000 · Fax +91 4427470301

= Income Tax Permanent Account Number: AAACF4997N

= _____________________________________________

=  

= Important note! Please note that this mail including any attachment may = contain confidential or privileged information for the intended = recipient only. If you receive this mail in error you should refrain = from making any use of the contents and from opening any attachment, but = instead notify the sender immediately by phone or mail. Thank you. = Please also note that the exchange of non-encrypted communication via = the Internet may be compromised electronically and for that reason we = take no responsibility for the integrity of such communication. This = e-mail message has been swept by antivirus systems for the presence of = computer viruses. In doing so, however, we cannot warrant that virus or = other forms of data corruption caused by such may not be present. We = expect any recipient of e-mail communication to have in place protection = systems of his own choice.

 

 

------=_NextPart_000_001C_01CE02D4.2B736C30--