source-integration icon indicating copy to clipboard operation
source-integration copied to clipboard

Cgit plugin does not retrieve all revisions

Open michel-slm opened this issue 10 years ago • 5 comments

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.

michel-slm avatar Feb 13 '14 08:02 michel-slm

Additional details: using Cgit 0.9.2, latest source-integration commit (ab861757c977823a026f32242cf02892ccba80ee ) and Mantis BT 1.2.16 on CentOS 6.5

michel-slm avatar Feb 13 '14 08:02 michel-slm

Full "Import Everything" log uploaded https://gist.github.com/michel-slm/8972004

michel-slm avatar Feb 13 '14 09:02 michel-slm

I am facing the same issue. Can anyone help with this?

rkparikh avatar Mar 18 '14 05:03 rkparikh

I have a simmilar problem with svn repository. Just one though.

rattkin avatar Sep 11 '14 09:09 rattkin

I am getting this as well.

kierun avatar Jun 12 '15 13:06 kierun