This is for the HEAD version with Drupal 6.x (I cant choose 6.x for new issues ;))!
In function versioncontrol_svn_update_repository_callback($repo_id) { ... } there is a check for $repo_id being a number. But it actually is an array containing the repository details. What means if I remove the is_numeric check and replace $repository = versioncontrol_get_repository($repo_id); with $repository = $repo_id (for testing) it works. Otherwise I simply get an 'No such repository, did not fetch anything.' message.
Comments
Comment #1
jpetso commentedYou can't choose 6.x because the port is not finished yet (and not even an alpha release exists), which means such issues are fully expected and users are on their own.
Nevertheless, thanks for the pointer, I might not have discovered it immediately :)
Comment #2
profix898 commentedYes, I know that the 6.x version is not finished yet. I'm not trying to use the module for a productive site. I was just playing with it to see how far the 6.x port has developed. And it looks pretty promising. Thanks a lot for all your work on versioncontrol_*.
Comment #3
jpetso commentedFixed on current HEAD, thanks again. (The issue was that due to the new menu system, the repository is now loaded by the '%versioncontrol_repository' wildcard which means that the callback is passed $repository as parameter directly. That also simplifies the code a bit.)