Skip to content

converting OpenGrok hg repository to git, results in an unclean git pull #13

@cnst

Description

@cnst

I've converted my old OpenGrok hg fork from December 2011, to git, with py-hg-git-0.3.1, and this resulted in an unclean git pull afterwards: when I did a pull with git 1.7.6, I got a lot of messages about various files under testdata/repositories/git/.git/.

Cns:grok {3017} git clone ssh://[email protected]/cnst/grok-old-hg-git.git grok-old-hg-git.git
Cloning into grok-old-hg-git.git...
remote: Counting objects: 15211, done.
remote: Compressing objects: 100% (11727/11727), done.
remote: Total 15211 (delta 0), reused 15211 (delta 0)
Receiving objects: 100% (15211/15211), 21.17 MiB | 1.45 MiB/s, done.
error: Invalid path 'testdata/repositories/git/.git/COMMIT_EDITMSG'
error: Invalid path 'testdata/repositories/git/.git/HEAD'
error: Invalid path 'testdata/repositories/git/.git/config'
error: Invalid path 'testdata/repositories/git/.git/description'
error: Invalid path 'testdata/repositories/git/.git/hooks/applypatch-msg'
error: Invalid path 'testdata/repositories/git/.git/hooks/commit-msg'
error: Invalid path 'testdata/repositories/git/.git/hooks/post-commit'
error: Invalid path 'testdata/repositories/git/.git/hooks/post-receive'
error: Invalid path 'testdata/repositories/git/.git/hooks/post-update'
error: Invalid path 'testdata/repositories/git/.git/hooks/pre-applypatch'
error: Invalid path 'testdata/repositories/git/.git/hooks/pre-commit'
error: Invalid path 'testdata/repositories/git/.git/hooks/pre-rebase'
error: Invalid path 'testdata/repositories/git/.git/hooks/prepare-commit-msg'
error: Invalid path 'testdata/repositories/git/.git/hooks/update'
error: Invalid path 'testdata/repositories/git/.git/index'
error: Invalid path 'testdata/repositories/git/.git/info/exclude'
error: Invalid path 'testdata/repositories/git/.git/logs/HEAD'
error: Invalid path 'testdata/repositories/git/.git/logs/refs/heads/master'
error: Invalid path 'testdata/repositories/git/.git/objects/26/eccb163b3b4c194268fd45674cfc56561aa5d8'
error: Invalid path 'testdata/repositories/git/.git/objects/2a/b72ab3531a49cd4e190e68558d2e24bee2fa8f'
error: Invalid path 'testdata/repositories/git/.git/objects/2f/9d427d3dbecc38f66222a57739bca4c7c8a15d'
error: Invalid path 'testdata/repositories/git/.git/objects/33/71e830b8299594fe6648b33a0c52d2057790e5'
error: Invalid path 'testdata/repositories/git/.git/objects/46/165b76f955773c620ff16f81ef1c147f034477'
error: Invalid path 'testdata/repositories/git/.git/objects/71/c43bfcc5555d2f2c6fabbf1eb3f4f3486f7d26'
error: Invalid path 'testdata/repositories/git/.git/objects/84/82156421620efbb44a7b6f0eb19d1f191163c7'
error: Invalid path 'testdata/repositories/git/.git/objects/aa/35c25882b9a60a97758e0ceb276a3f8cb4ae3a'
error: Invalid path 'testdata/repositories/git/.git/objects/af/bb13eaa1c8b5976a53d255e71dcda94987d47b'
error: Invalid path 'testdata/repositories/git/.git/objects/bb/74b7e849170c31dc1b1b5801c83bf0094a3b10'
error: Invalid path 'testdata/repositories/git/.git/objects/c4/fb6339dfa1e196b1c4873ae4c72503cd980097'
error: Invalid path 'testdata/repositories/git/.git/objects/ca/783e855c99bb7ea4e03a2f44e6bf2d595886ae'
error: Invalid path 'testdata/repositories/git/.git/objects/da/93244ed55a64b13ded5a2033c03eb9587fec5a'
error: Invalid path 'testdata/repositories/git/.git/refs/heads/master'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions