You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jon Keating <jo...@gcnet.co.jp> on 2005/12/02 00:10:35 UTC
Post-commit on Win32 issues
Hello,
I have set up an SVN server on (unfortunately) Win32. Everything works
great after I configured SSH and TortoiseSVN on the clients. However,
post-commit.bat isn't being executed. I have tested it from the command
line and it works fine if I run it manually with the parameters it
should get from SVN.
I looked into it, and at the very first I line I have it output some
information to a file, but after a commit, it isn't being created. I've
searched the mailing list and google all day yesterday. Today I
restarted the server thinkign it might be some kidna Win32 issue. But it
still isn't working and I have no idea what to do next...
Thanks,
Jon
___________________________________________________________________
Jon Keating
ゴールデンチャート社
開発部
http://www.gcnet.co.jp
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Post-commit on Win32 issues
Posted by Mark Parker <ma...@msdhub.com>.
Jon Keating wrote:
> I always read about the time it takes to maintin a Linux system is
> greater than Win32... but I find it the opposite for nearly
everything > I do on a Win32 server.
Sure, the ratio of win32 permissions problems to linux permissions
problems coming through this list is now at 3 to 18,293,421.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Post-commit on Win32 issues
Posted by Jon Keating <jo...@gcnet.co.jp>.
Steve Williams wrote:
> I don't actually run a SVN server on Win32. I use RH9 Linux as my
> server. I just thought I'd ask the obvious question that many people
> seem to forget about. :)
Yeah... well actually I fixed it. It was a permissions problem.
Apparently "Everyone" doesn't literally mean 'Everyone'. I added SYSTEM
to have read and execute permissions and it works.
I always read about the time it takes to maintin a Linux system is
greater than Win32... but I find it the opposite for nearly everything I
do on a Win32 server.
Thanks,
Jon
___________________________________________________________________
Jon Keating
ゴールデンチャート社
開発部
http://www.gcnet.co.jp
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Post-commit on Win32 issues
Posted by Jon Keating <jo...@gcnet.co.jp>.
Steve Williams wrote:
> Are you incorrectly assuming that there is an environment in the batch
> file? When called by SVN, there are no environment variables, such as
> PATH. You must fully qualify every call to every executable.
Thanks for the quick reply.
Yes, I'm using fully path names in all cases. In fact, the script was
downloaded from this mailling list. (commit-email-win.pl and
post-commit.bat) I edited the file and replaced all of the pathnames to
match my setup.
I can attach the file if you want to see it.
Thanks,
Jon
___________________________________________________________________
Jon Keating
ゴールデンチャート社
開発部
http://www.gcnet.co.jp
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Post-commit on Win32 issues
Posted by Steve Williams <st...@kromestudios.com>.
Jon Keating wrote:
> I have set up an SVN server on (unfortunately) Win32. Everything works
> great after I configured SSH and TortoiseSVN on the clients. However,
> post-commit.bat isn't being executed. I have tested it from the command
> line and it works fine if I run it manually with the parameters it
> should get from SVN.
>
> I looked into it, and at the very first I line I have it output some
> information to a file, but after a commit, it isn't being created. I've
> searched the mailing list and google all day yesterday. Today I
> restarted the server thinkign it might be some kidna Win32 issue. But it
> still isn't working and I have no idea what to do next...
Are you incorrectly assuming that there is an environment in the batch
file? When called by SVN, there are no environment variables, such as
PATH. You must fully qualify every call to every executable.
--
Sly
This message and its attachments may contain legally privileged or confidential information. This message is intended for the use of the individual or entity to which it is addressed. If you are not the addressee indicated in this message, or the employee or agent responsible for delivering the message to the intended recipient, you may not copy or deliver this message or its attachments to anyone. Rather, you should permanently delete this message and its attachments and kindly notify the sender by reply e-mail. Any content of this message and its attachments, which does not relate to the official business of the sending company must be taken not to have been sent or endorsed by the sending company or any of its related entities. No warranty is made that the e-mail or attachment(s) are free from computer virus or other defect.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org