- Jul 27, 2021
-
-
Dan Villiom Podlaski Christiansen authored
-
- May 12, 2021
-
-
Dan Villiom Podlaski Christiansen authored
- May 09, 2021
-
-
Dan Villiom Podlaski Christiansen authored
Pulling from Bitbucket fails under Python 2.7 without this. Reported on the list by @mharbison.
-
- May 05, 2021
-
-
Dan Villiom Podlaski Christiansen authored
-
- Feb 06, 2021
-
-
Dan Villiom Podlaski Christiansen authored
-
Dan Villiom Podlaski Christiansen authored
This avoids clobbering the `git` extension, bundled with Mercurial.
-
- Jan 11, 2021
-
- Feb 01, 2021
-
-
Dan Villiom Podlaski Christiansen authored
-
- Dec 10, 2020
-
-
Dan Villiom Podlaski Christiansen authored
-
- Jan 27, 2021
-
-
Georges Racinet authored
This makes the `git` keyword argument effectively optional in the function backing the `tag` command, that some downstream code may call directly, without being aware the argument exists. An example would be py-heptapod tests, and more generally tests based on mercurial-testhelpers that needs to work regardless of if hg-git is activated or not.
-
- Dec 14, 2020
-
-
Dan Villiom Podlaski Christiansen authored
-
Dan Villiom Podlaski Christiansen authored
-
Dan Villiom Podlaski Christiansen authored
-
- Dec 13, 2020
-
-
Dan Villiom Podlaski Christiansen authored
fixes #193
-
- Dec 23, 2020
-
-
Dan Villiom Podlaski Christiansen authored
GitLab and GitHub output something like this for the SSH location: git@github.com:hg-git/hg-git.github.com.git Previously, cloning and pulling from them on Windows didn't work, as the path was reinterpreted as a local path, made absolute and then saved into `.hgrc`. The same happened on pull, even if you corrected the definition. I've adjust `test-networking.t` to use this type of path instead of the `git+ssh://` scheme, as it's more likely to break. Fixes #335.
-
- Jan 08, 2021
-
-
Dan Villiom Podlaski Christiansen authored
-
- Dec 18, 2020
-
-
muxator authored
Mercurial passed from raising LookupError to a more specific AmbiguousPrefixLookupError in df0873ab5c14 (2018-04-13), which was released in v4.8 (2018-10-28). This will, in time, allow to simplify a special handling code in TortoiseHg (see ba2dc2a07224 there).
-
- Nov 20, 2020
-
-
Dan Villiom Podlaski Christiansen authored
-
- Nov 21, 2020
-
-
Dan Villiom Podlaski Christiansen authored
-
- Aug 20, 2020
-
-
Dan Villiom Podlaski Christiansen authored
Pushing to GitHub fails under Python 2.7 without this. #326
-
- Aug 04, 2018
-
-
Dan Villiom Podlaski Christiansen authored
This is useful for interacting with the Git repository directly, either from shell scripts, the terminal, or perhaps an alias like this: [alias] git=!GIT_DIR=$(hg debuggitdir) git "$@" ...and with that, you can easily access features not offered by Dulwich such as `hg git gc`.
-
- Oct 23, 2020
-
-
Dan Villiom Podlaski Christiansen authored
-
- Aug 03, 2020
-
-
muxator authored
Before this change, if the user's log template included a call to gitnode() to show the git commit hash, invoking "hg incoming" on a git repository that had at least one incoming change failed with: AttributeError: 'overlayrepo' object has no attribute 'githandler' Since an incoming changeset should already have well defined git commit hashes, there is no apparent reason for which "hg incoming" should not have this information already. This change is a workaround that removes any reference to the hg-git structures from the incoming changeset, thus merely avoiding the crash. Fixes #239 (#239)
-
- Aug 06, 2020
-
-
Georges Racinet authored
We don't have a dedicated CI job for hg 5.5 right now, but the stable branch plays that role for now. Excerpts from a recent succesful pipeline: tests-py2-hg-stable: env HGRCPATH= python2 hg version Mercurial Distributed SCM (version 5.5+2-3d414dce2d40) tests-py3-hg-stable: env HGRCPATH= python3 hg version Mercurial Distributed SCM (version 5.5+2-3d414dce2d40)
- Jun 12, 2020
-
-
Manuel Jacob authored
In the previous code, if lazy-importing compat failed, the except clause was executed, raising a bogus error.
-
- May 13, 2020
-
-
Georges Racinet authored
dev.heptapod.net has become foss.heptapod.net in the meanwhile
-
Georges Racinet authored
-
Georges Racinet authored
Before Mercurial 4.3, the pycompat module doesn't have enough features to support our current dual Python code. Also, the oldest version currently available in Heptapod CI happens to be 4.3. It's also a good opportunity to start using the 'minimumhgversion' field, making the extension refuse to load on unsupported version.
- May 10, 2020
-
-
Manuel Jacob authored
(folded with intermediate revision with new message by Georges Racinet) The previous conditional was wrong: in current Mercurial, 'co' is in principle not an integer. The condition on integer has been introduced for the port to py3, but does not change the fact that changelog.__contains__ is for integers. The original intent in a90fe3e8a8c3 was probably to exclude local repositories, but this had the side effect of setting `co=None` in all cases, hence affecting pulls having nothing to do with hg-git, as the new test demontstrates. What we really want is to force `co=None` only for remote Git repositories, for the reasons explained in the comment. Previous intermediate commit was cleanup: eliminate if statement with condition that is always true 'co' is never an integer. It’s always None or of type bytes. Apparently 'co' was of type int some years ago. A proper fix would require to fix the lookup() remote command or change hg to not require it e.g. when pulling with -r. For now, let’s remove the broken code and be honest about that we give up.
-
Manuel Jacob authored
-
Manuel Jacob authored
A test for a case mentioned in the comment will be added in a subsequent changeset.
-
Manuel Jacob authored
-
- May 04, 2020
-
-
Manuel Jacob authored
-
- May 08, 2020
-
-
Manuel Jacob authored
-
- Mar 06, 2020
-
-
Manuel Jacob authored
changelog.__contains__ compares the argument to integers. On Python 2, this results in a return value of False if passing in non-ints. On Python 3, this results in an exception if passing in non-ints.
-
timeless developer authored
-
Manuel Jacob authored
-