hg-git

HG-Git: AttributeError: 'bytes' object has no attribute 'encode'

不羁的心 提交于 2020-06-26 14:08:17
问题 I'm trying to clone a git repository with mercurial and hg-git, but an AttributeError keeps coming up. When I run hg clone git://github.com/michaelfm1211/simpleserve , the output I get is this: destination directory: simpleserve ** unknown exception encountered, please report by visiting ** https://mercurial-scm.org/wiki/BugTracker ** Python 3.8.3 (default, May 31 2020, 07:24:01) [Clang 11.0.3 (clang-1103.0.32.62)] ** Mercurial Distributed SCM (version 5.4.1) ** Extensions loaded: hggit

How to convert mercurial repository to git repository without losing branches?

不羁岁月 提交于 2020-01-19 17:09:48
问题 I want to convert mercurial repo to git repo. Actually I did but I didnt see branches. After I converted repo I can see just one branch(as master) I cannot see any other branches but I can see history(all changes) as right. when clicked any commits I can see like this information : Date: 19 Nisan 2019 Cuma 15:14:37 Committer: sevgi.cakmak Change dialog header --HG-- branch : sevgi-2.0.0 but I cannot see sevgi-2.0.0 branch on the left side (I am using sourcetree). My steps: mercurial.ini file:

Cloning github repo with hggit

末鹿安然 提交于 2020-01-02 00:50:12
问题 I am trying to clone some github repos locally with hggit. I am following tutorial instructions to do $ hg clone git://github.com/schacon/hg-git.git abort: repository git://github.com/schacon/hg-git.git not found! $ hg clone git+ssh://git@github.com/schacon/hg-git.git abort: repository git+ssh://git@github.com/schacon/hg-git.git not found! I know I have hggit because the following works $ python -c "import hggit" $ head -n1 `which hg` #!/opt/local/Library/Frameworks/Python.framework/Versions

Mercurial Hg-Git: Clone from a local directory?

孤街浪徒 提交于 2019-12-21 04:03:24
问题 I have a local Git repository on my computer that I am trying to clone with Hg-Git. It works fine for me when I'm cloning from a git:// type path, but not if I try to clone from local directories. Here is an example... hg clone "C:\Users\James\Documents\My Games\FalloutNV" destination directory: FalloutNV importing Hg objects into Git abort: The system cannot find the file specified The path does exist, and somehow it knows that it's a Git repo, but it has the direction backwards. It should

Maintaining Git Fork of Hg Repository with Patches

心已入冬 提交于 2019-12-12 04:36:36
问题 I am maintaining a git fork of an hg repository with some additional patches. What this means is that I have cloned the hg repository and then pushed that repository to a git repository following these directions. I then cloned the git repository, applied some commits and then pushed those commits to the git repository. My history look like: hg-head\ /git-head A-B-C-F'-G' where F' and G' are my patches. The hg developer now pushes some patches to the hg repos and I want to incorporate those

Hg-git stopped working for multiple branches

旧巷老猫 提交于 2019-12-09 12:36:01
问题 I keep the main repo on mercurial but made a clone with hg-git for git lovers. The problem is that in the mercurial repo I went back to a previous commit, created a new anonymous branch and closed the old one. (Reason: postpone development of a feature) After that I saw that hg-git stopped working. I tried even to force the commit but still not succeeded. 回答1: Ok...finally founded the answer on another hg-git related question So it seems that you have to update the "master" bookmark to

using git but pushing to mercurial?

落花浮王杯 提交于 2019-12-07 03:11:51
问题 I have a new job however they use mercurial as their version control and most of my experience is with git. I try to learn mercurial but the way it does branching (even with extensions like bookmarks) just make absolutely no sense to me. Does anyone know of a way to use git locally but push to mercurial? I have tried the hg-git plugin and have gotten to the point where I can commit in git and push those changes to a remote mercurial repo however the issue I am running into is that no matter

HgGit: “invalid-email-address” at GitHub

风格不统一 提交于 2019-12-07 01:09:16
问题 I started to use HgGit extension for mercurial to have copy of repository at GitHub. Almost everything is working well, but in commits information at GitHub I see invalid-email-address (author) instead of my username. Is there a way to show username correctly in this case? 回答1: A username in Mercurial is usually of the form: Name <email@domain.com> Git also is usually set up with a name and an e-mail address for the user. You probably need to specify an e-mail address in your username in your

Commiting Mercurial (Hg) branch to GitHub

半世苍凉 提交于 2019-12-06 08:17:01
问题 I have a little project project called MvcOpenId. I host the source for this on both Codeplex and GitHub. Localy I'm using Mercurial (Hg) for version control and then with the hg-git plugin I'm pushing to both online repositories. This has been working well until now. I've added a branch to my Mercurial (Hg) repository. The push to Codeplex went smooth, but the push to GitHub not so much. GitHub repository does not show any branches and only the branch commits have been pushed. How can I push

How to link a folder with an existing Heroku app with mercurial

你。 提交于 2019-12-06 04:22:21
问题 I have an existing Django app on Bitbucket and I'm able to deploy to Heroku whith hg-git. Whenever i want to run some heroku command inside my app folder i get the following errors: $ heroku ps ! No app specified. ! Run this command from an app folder or specify which app to use with --app <app name> $ heroku logs ! No app specified. ! Run this command from an app folder or specify which app to use with --app <app name> etc. Current workaround is to specify the app name: heroku ps --app <app