source-integration
source-integration copied to clipboard
Cgit plugin does not retrieve all revisions
For some reason, Cgit imports all revisions of my project up to a particular revision, and any attempt to import newer data (using "Import Latest Data" from the Manage Repositories interface, or using the post-receive hook below)
#!/bin/sh
curl "http://localhost/issues/plugin.php?page=Source/import&id=allapi_key=MY_API_KEY"
results in this message:
Oldest 'master' branch parent: ''
Retrieving master ... processing fdeca4274efd46b4122c3b2cecedb0c06a12019d ... already exists.
I've tried deleting the repository configuration and re-creating it and it's stuck at the same revision.
If I pick "Import Everything" I get some "already exists" message as well, for example
Retrieving 2a1973c8be416890722f5a275a761787e0bdca87 ... processing 2a1973c8be416890722f5a275a761787e0bdca87 ... already exists.
interspersed among the normal ones, ending with the same revision as when updating
Retrieving 09afc275dc6841b92c6e6ffe980bc6d02f5ca25b ... processing 09afc275dc6841b92c6e6ffe980bc6d02f5ca25b ... saved.
Oldest 'master' branch parent: ''
Retrieving master ... processing fdeca4274efd46b4122c3b2cecedb0c06a12019d ... already exists.
Additional details: using Cgit 0.9.2, latest source-integration commit (ab861757c977823a026f32242cf02892ccba80ee ) and Mantis BT 1.2.16 on CentOS 6.5
Full "Import Everything" log uploaded https://gist.github.com/michel-slm/8972004
I am facing the same issue. Can anyone help with this?
I have a simmilar problem with svn repository. Just one though.
I am getting this as well.