View Issue Details

IDProjectCategoryView StatusLast Update
0008523mantisbtbugtrackerpublic2007-12-20 01:37
Reporterjci000 Assigned Tovboctor  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionduplicate 
OSWindowsOS VersionXP 
Product Version1.1.0rc2 
Summary0008523: SubVersion integration not working
Description

The 1.1.0.rc2 version has a corrupt mantis\core\checkin.php file. The statement

<?php

is missing from line 2 and the tabulation seams to be wrong in the beginning of the file. The file should be unchanged.

TagsNo tags attached.

Relationships

duplicate of 0008524 closedvboctor core/checkin.php is missing toplevel <? causing the script to fail. 

Activities

jreese

jreese

2007-10-31 10:30

reporter   ~0016037

The file does not have any php tags because it was meant to be run as an executable shell script. Granted, it probably should have them so it won't throw code all over the screen when executed from a URL, but the point still stands that when you run it from a shell (like you should), the lack of tags is meaningless.

jci000

jci000

2007-10-31 11:52

reporter   ~0016040

I use it as a seperate script on my Windows XP Mantis server, and when the rc2 files is run there is only a copy of the file in my log file. But when I use the rc1 file (or any earlier) it works. Something like this:

c:\php.exe mantis\core\checkin.php temp.svn > log.txt

So maybe it's meaningless but it's nessesary in some situations, so why change it ?

vboctor

vboctor

2007-11-01 04:17

manager   ~0016048

Re-added the <?php since it existed in 1.1.0rc1 and it was removed by mistake by the script that was used to change the headers. This is the same bug that hit the send_emails.php script.

mdl

mdl

2007-11-10 01:20

reporter   ~0016137

Do SVN and CVS pass parameters the same way to core/checkin.php ?

I am wondering, because I had to tweak it quite a bit for CVS. Would it be possible to fork off checkin_svn.php and checkin_cvs.php out of it?