Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Some (very old) repositories have been indentified as empty #259

Merged

Conversation

niosHD
Copy link

@niosHD niosHD commented Aug 11, 2014

We have some rather old archived and/or closed repositories in our
redmine installation which definitely have content but have been
treated like empty repositories.

These old repos do not have a 'heads' key in the extra_info hash but
have a 'branches' key instead. Redmine switched from 'branches' to 'heads'
in revision 9283 and supports to upgrade from the old to the new format on the
next commit. However, supporting both keys means that I don't have to perform
dummy commits on inactive repos in order to make the repository viewer work
again.

Regards,
Mario

We have some rather old archived and/or closed repositories in our
redmine installation which definitely have content but have been
treated like empty repositories.

These old repos do not have a 'heads' key in the extra_info hash but
have a 'branches' key instead. Redmine switched from 'branches' to 'heads'
in revision 9283 and supports to upgrade from the old to the new format on the
next commit. However, supporting both keys means that I don't have to perform
dummy commits on inactive repos in order to make the repository viewer work
again.
n-rodriguez pushed a commit that referenced this pull request Aug 20, 2014
Fix: Some (very old) repositories have been indentified as empty
@n-rodriguez n-rodriguez merged commit 63fda10 into redmine-git-hosting:v0.8-beta Aug 20, 2014
@n-rodriguez
Copy link
Contributor

Thank you!

@n-rodriguez n-rodriguez self-assigned this Aug 20, 2014
@n-rodriguez n-rodriguez added this to the v0.8 milestone Aug 20, 2014
n-rodriguez pushed a commit that referenced this pull request Sep 10, 2014
@niosHD niosHD deleted the fix-repositoy-empty branch September 10, 2014 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants