git-hg | hg utility for checking out and tracking a mercurial repo | Code Analyzer library
kandi X-RAY | git-hg Summary
kandi X-RAY | git-hg Summary
A git-hg utility for checking out and tracking a mercurial repo.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of git-hg
git-hg Key Features
git-hg Examples and Code Snippets
Community Discussions
Trending Discussions on git-hg
QUESTION
I have a project versioned with git and our client wants to access it with Mercurial, so our idea was to convert the project using the plugin “hg-git”.
The error is thrown when cloning the "converted" repository with a hg command following these steps:
- create a git repository on Bitbucket
- clone locally using git commands, added an android project, commit, pushed. Works fine.
- Run hg-git "convert" command on the local folder.
- I add, commit, push to Bitbucket.
The project structure was automatically changed by the plugin and a new folder containing the .hg files was generated inside the my folder and looks like that:
...ANSWER
Answered 2017-Jan-28 at 17:24The "convert" command is not part of hg-git, but a standalone extension and does not create a repository that is compatible with the original Git repository.
In order to transparently use Mercurial for a remotely hosted git repository with hg-git, simply clone the repository directly from the Git URL, e.g.:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install git-hg
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page