Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-10942

Unable to find <last-commit>

    XMLWordPrintable

Details

    Description

      Hi.

      We have a repo in Bitbucket, which we use as a central repo. We update it via pull requests or directly by pushing new changes to it, and we synchronize those changes in remote servers by pulling from it.

      This has been working like a charm for about a year, but now we are not able to pull changes from this repo to update a remote server:

      #!bash
      
      $ git pull origin
      remote: Total 0 (delta 0), reused 0 (delta 0)
      error: unable to find dcdff3f40bfc450ec8d5326ff12bc03e160bde1f
      fatal: object dcdff3f40bfc450ec8d5326ff12bc03e160bde1f not found
      

      Even if I try to clone it the same error appears. The commit exists, so the error make no sense: https://bitbucket.org/encore-lab/encore-framework/commits/dcdff3f40bfc450ec8d5326ff12bc03e160bde1f

      Nonetheless, this object/commit is available from Bitbucket and also in my local machine (where I generated it and then pushed to the central repo).

      No matters if I push more commits to the repository, when I try to pull the repo to get last commits it always shows me that the last commit doesn't exist.

      I've tried other ways, for example (but none of them worked at the moment):

      #!bash
      
      $ git gc
      $ git fsck --full
      $ git reflog expire --expire=0 --all
      

      I also reset to the previous state of the repo and re-apply the changes again but it didn't work either.

      So I would like to know if there's a problem with that repository in Bitbucket. I have just tried to fork it and the problem disappears with the forked repository - which has exactly the same commits as the primary repo.

      The repository is this: https://bitbucket.org/encore-lab/encore-framework (it's private, so I hope you staff members could access it).

      Can anyone help me out here? Thanks in advance.

      Attachments

        Activity

          People

            Unassigned Unassigned
            29e5891b983b ivanperez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: