You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Thomas Peter <us...@braindumped.com> on 2008/07/17 15:35:44 UTC

more svn whoes

Hi,

additionaly to the problem described in this the thread @
http://svn.haxx.se/users/archive-2008-07/0330.shtml

i also have the following problem with the same files:

Transmitting file data .svn: Commit failed (details follow):
svn: Cannot write to the prototype revision file of transaction '798-1' because
a previous representation is currently being written by this process


in the serverlog appears:

[Thu Jul 17 17:27:01 2008] [error] [client 127.0.0.1] Unable to PUT new contents
for
/repos/algo/!svn/wrk/65298256-f2c0-c2a5-e416-eb48c370b559/some/branches/files/TO
P/static/bla/binfile.ext.
 [403, #0]
[Thu Jul 17 17:27:01 2008] [error] [client 127.0.0.1] Could not prepare to write
the file  [500, #160044]
[Thu Jul 17 17:27:01 2008] [error] [client 127.0.0.1] Cannot write to the
prototype revision file of transaction '798-1' because a previous representation
is currently being written by this process  [500, #160044]


any hints to troubleshoot this?

thanx,
thomas

ps: the 127.0.0.1 is because of pound sits in front of apache as proxy. but i 
tried it also via ssh-tunnel connecting directly to apaches socket...


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

Re: more svn whoes

Posted by Thomas Peter <us...@braindumped.com>.
Thomas Peter <usenet <at> braindumped.com> writes:
> Transmitting file data .svn: Commit failed (details follow):
> svn: Cannot write to the prototype revision file of transaction '798-1' because
> a previous representation is currently being written by this process

I've just mentioned, that a apache-restart fixed the problem.
Could it be a follow-issue of getting the error of
http://svn.haxx.se/users/archive-2008-07/0330.shtml ??

The strange thing of the 
Cannot write to the prototype revision file of transaction '798-1' because
a previous representation is currently being written by this process
is, that I worked around this by calling 
truss -f svn ci some files -m "commitlog.."
and only with -f passed to truss (solaris)

really strange..

any hints?

thanx,
thomas


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

RE: Pre-revprop-change shows no user

Posted by mhoertzsch <m....@t-online.de>.
Hi,

this seems to be an issue, as USER is also not set in the start-commit hook
when using svnsync sync.
I have tried for the pre-revprop-change and start-commit hook with svn://
and http:// protocol,
as well with all kinds of variation of --username=xyz --sync-username=xyz
and http://username@svnhost, anything else in the hook can be printed, but
not the USER variable.
But authentication against the other host works with the above provided
username / password options.

I am not sure if this is a known issue or if someone should create one for
this.


regards,

Matthias



Roland Cruse-2 wrote:
> 
>  I stil do not know why "USER" is not being returned for the
> pre-revprop-change hook but I found a get around thanks  to this link:
> http://dev.e-taxonomy.eu/trac/wiki/SVNMirroring
> 
> Instead of this "USER=${3}" I did this USER=`whoami`. Then the script goes
> and verifies the user, which is "apache" in my case since I am doing this:
> "svnsync init http://svn-slave.1/chorus-proxy-sync
> file:///var/svn/repository/chorus_master "
> 
> The link shows how to log in the hook scripts (make sure the hook can
> write to the log).
> 
> Hope it helps someone.
> 
>> -----Original Message-----
>> From: Roland Cruse [mailto:roland.cruse@vrs-soft.com]
>> Sent: Friday, July 18, 2008 2:15 PM
>> To: users@subversion.tigris.org
>> Subject: Pre-revprop-change shows no user
>>
>>
>> Hi
>>
>> My head is spinning. Can someone help out? Please.
>>
>> Trying to "init" a webdev dav slave repo which is set to
>> version 0. Both slave and master are accessible via their urls.
>>
>> I call this from the master:
>> svnsync init --sync-username svnsync --sync-password svnsync
>> http://svn-slave.1/foo-proxy-sync
>> file:///home/svnsync/repos/foo_master
>>
>> Which gives the: "Revprop change blocked by
>> pre-revprop-change hook " error
>>
>> The pre-revprop-change hook, on the slave, checks for the
>> correct user and, for debugging, echos out all the variables
>> handed to pre-revprop-change EXCEPT "user". Since "user" must
>> at least be there to check if it is allowed or not I am stuck.
>>
>> Any ideas?
>> Thanks so much.
>> Roland
>>
>> ---------------------------------------------------------------------
>> 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
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/more-svn-whoes-tp18511360p18583836.html
Sent from the Subversion Users mailing list archive at Nabble.com.


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

RE: Pre-revprop-change shows no user

Posted by Roland Cruse <ro...@vrs-soft.com>.
 I stil do not know why "USER" is not being returned for the pre-revprop-change hook but I found a get around thanks  to this link: http://dev.e-taxonomy.eu/trac/wiki/SVNMirroring

Instead of this "USER=${3}" I did this USER=`whoami`. Then the script goes and verifies the user, which is "apache" in my case since I am doing this:
"svnsync init http://svn-slave.1/chorus-proxy-sync file:///var/svn/repository/chorus_master "

The link shows how to log in the hook scripts (make sure the hook can write to the log).

Hope it helps someone.

> -----Original Message-----
> From: Roland Cruse [mailto:roland.cruse@vrs-soft.com]
> Sent: Friday, July 18, 2008 2:15 PM
> To: users@subversion.tigris.org
> Subject: Pre-revprop-change shows no user
>
>
> Hi
>
> My head is spinning. Can someone help out? Please.
>
> Trying to "init" a webdev dav slave repo which is set to
> version 0. Both slave and master are accessible via their urls.
>
> I call this from the master:
> svnsync init --sync-username svnsync --sync-password svnsync
> http://svn-slave.1/foo-proxy-sync
> file:///home/svnsync/repos/foo_master
>
> Which gives the: "Revprop change blocked by
> pre-revprop-change hook " error
>
> The pre-revprop-change hook, on the slave, checks for the
> correct user and, for debugging, echos out all the variables
> handed to pre-revprop-change EXCEPT "user". Since "user" must
> at least be there to check if it is allowed or not I am stuck.
>
> Any ideas?
> Thanks so much.
> Roland
>
> ---------------------------------------------------------------------
> 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


Pre-revprop-change shows no user

Posted by Roland Cruse <ro...@vrs-soft.com>.
Hi

My head is spinning. Can someone help out? Please.

Trying to "init" a webdev dav slave repo which is set to version 0. Both slave and master are accessible via their urls.

I call this from the master:
svnsync init --sync-username svnsync --sync-password svnsync  http://svn-slave.1/foo-proxy-sync file:///home/svnsync/repos/foo_master

Which gives the: "Revprop change blocked by pre-revprop-change hook " error

The pre-revprop-change hook, on the slave, checks for the correct user and, for debugging, echos out all the variables handed to pre-revprop-change EXCEPT "user". Since "user" must at least be there to check if it is allowed or not I am stuck.

Any ideas?
Thanks so much.
Roland

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