Skip to content

Incomplete insert into DB using standard SVN script #6

@areis422

Description

@areis422

When using eventum-svn-hook.php in it's vanilla form, the repository name is not be appended to the filename, so a lookup against websvn or viewvc returns an error.

Ex:
Filename = /trunk/test
Required = /reponame/trunk/test

Also, cof_old_version and cof_new_version are not being populated when committing against Eventum 3.5.2, which is also screwing up the Revision tracking links.

mysql> select * from commit_file order by cof_id desc limit 5

+--------+------------+----------------------+-----------+--------------+-------------+-----------------+-----------------+
| cof_id | cof_com_id | cof_filename         | cof_added | cof_modified | cof_removed | cof_old_version | cof_new_version |
+--------+------------+----------------------+-----------+--------------+-------------+-----------------+-----------------+
|  23517 |      23765 | eventum3/trunk/test3 |         0 |            1 |           0 | NULL            | NULL            |
|  23516 |      23764 | eventum3/trunk/test2 |         0 |            0 |           1 | NULL            | NULL            |
|  23515 |      23763 | trunk/test4          |         0 |            0 |           1 | NULL            | NULL            |
|  23514 |      23762 | trunk/test5          |         0 |            0 |           1 | NULL            | NULL            |
|  23513 |      23761 | trunk/test6          |         0 |            0 |           1 | NULL            | NULL            |
+--------+------------+----------------------+-----------+--------------+-------------+-----------------+-----------------+

Subversion Server 1.10.0 r1827917 running via Apache2/dav_sav
Subversion Client 1.10.2 r1835932

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions