[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

AW: Reporting Errors from hook-scripts

From: Mike Sarnowski <sarnowski_at_labmed.de>
Date: 2004-04-16 08:29:54 CEST

Hi,

is your pre-commit file for the commited user executable ??
The same error-message printed my commit before I set the file-Attribute
'executeable'.

mike

------------------------------------------
Laboratoriumsmedizin Dortmund
Dr. Eberhard & Partner
Brauhausstraße 4, D-44137 Dortmund
Germany
Tel.: ++49 231/9572-464
Fax: ++49 231/579834
email: sarnowski@labmed.de
http://www.labmed.de
 

-----Ursprüngliche Nachricht-----
Von: Lukas Ruf [mailto:ruf@rawip.org]
Gesendet: Donnerstag, 15. April 2004 16:25
An: Subversion Users
Betreff: Reporting Errors from hook-scripts

Dear all,

I would like to mention the problem why a transaction failed.

After some fiddling around, I managed to configure
commit-access-control.cfg appropriately such that when called from
pre-commit commit-access-control.pl either allows writing or refuses.

This results in an transaction report as follows:
  !81> svn commit -m write_lock Makefile
  Sending Makefile
  Transmitting file data .svn: Commit failed (details follow):
  svn: MERGE request failed on $DAV_PATH/'linux/2.4/upstream_tags/2.4.25'
  svn:
  'pre-commit' hook failed with error output:

I tried to add to pre-commit:

  if [ "$?" = "1" ]; then
    echo "Commit Access not granted:"
    exit 1
  fi

But without success....

Although only manicure, I would appreciate very much if anybody could
help me to understand how an explanatory message can be given back.

Thanks in advance!

wbr,
Lukas

-- 
Lukas Ruf           | Wanna know anything about raw |
<http://www.lpr.ch> | IP? -> <http://www.rawip.org> |
eMail Style Guide: <http://www.rawip.org/style.html>|
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Received on Fri Apr 16 08:30:23 2004

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.