Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • H hggitforge
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • 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
  • open-source
  • hggitforge
  • Issues
  • #3

Closed
Open
Created Nov 05, 2020 by Aurelien Lubert@alubert⌨Owner

Cannot import the same remote branch after a gfpull

I've imported the AAA branch from another fork repository with the gfremote command. When using the gfpull command, the branch is correctly removed:

Fetching upstream remote
Pushing master branch to Git fork repository
Fetching all branches from Git fork repository
Updating Mercurial repository
Publishing master bookmark
Pruning AAA bookmark and ancestors
Deleting AAA bookmark

But when I try to retrieve again the branch with the same command (same name):

Fetching branch AAA to AAA from specified remote Git repository
Updating Mercurial repository
pulling from ~/repository/.hg/git.git
importing git objects into hg
abort: you appear to have run strip - please run hg git-cleanup
Command exited with code 255

Using the specified command do not resolve the issue and when we run the gfpull command again:

Fetching upstream remote
Pushing master branch to Git fork repository
Fetching all branches from Git fork repository
Updating Mercurial repository
Publishing master bookmark
Pruning AAA bookmark and ancestors
abort: unknown revision 'cpr'!
Command exited with code 255
Couldn't prune, ignoring
Deleting AAA bookmark
abort: bookmark 'AAA' does not exist
Command exited with code 255
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking