Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • hg-git-test-migration hg-git-test-migration
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 79
    • Issues 79
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 11
    • Merge requests 11
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • heptapod
  • Testing Projects
  • hg-git-test-migrationhg-git-test-migration
  • Issues
  • #156

Closed
Open
Created Jun 25, 2015 by Georges Racinet@gracinet🦑Owner

clone of clone loses git metadata

Created originally on Bitbucket by jhein (John Hein)

If I clone a git repo using hg-git (thereby converting to an hg repo in the process), then clone from that clone, it seems to me that all the git metadata is lost.

For instance, if the .hg directory after hg clone of a git repo looks something like so:

test-git-hg/.hg:
00changelog.i 
bookmarks 
bookmarks.current 
branch 
cache/
dirstate 
git-mapfile 
git-remote-refs 
git-tags 
git/
hgrc 
requires 
store/
undo.bookmarks 
undo.branch 
undo.desc 
undo.dirstate 

Then the clone of that clone I'm seeing is:

test-git-hg-clone/.hg:
00changelog.i 
bookmarks 
branch 
cache/
dirstate 
hgrc 
requires 
store/
Edited Dec 24, 2021 by Dan Villiom Podlaski Christiansen
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking