Skip to content

Cgit plugin does not retrieve all revisions #82

@michel-slm

Description

@michel-slm

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions