- Nov 24, 2020
-
-
Dan Villiom Podlaski Christiansen authored
-
Dan Villiom Podlaski Christiansen authored
-
- Nov 23, 2020
-
-
Dan Villiom Podlaski Christiansen authored
-
- Nov 22, 2020
-
-
Dan Villiom Podlaski Christiansen authored
-
- Nov 20, 2020
-
-
Dan Villiom Podlaski Christiansen authored
-
- Nov 22, 2020
-
-
Dan Villiom Podlaski Christiansen authored
-
- Nov 21, 2020
-
-
Dan Villiom Podlaski Christiansen authored
-
Dan Villiom Podlaski Christiansen authored
-
Dan Villiom Podlaski Christiansen authored
-
Dan Villiom Podlaski Christiansen authored
-
Dan Villiom Podlaski Christiansen authored
-
- Oct 24, 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 07, 2020
-
-
Manuel Jacob authored
Fixes #239.
-
- 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
-
Dan Villiom Podlaski Christiansen authored
-
Dan Villiom Podlaski Christiansen authored
-
- Jul 12, 2020
-
-
Manuel Jacob authored
This correctly handles sub-options. Before, the test case failed with: dulwich.errors.RefFormatError: refs/remotes/default:pushurl/beta
-
Manuel Jacob authored
Before, the added test case failed with “abort: git remote error: fatal: 'file://$TESTTMP/gitrepo' does not appear to be a git repository”.
-
- Nov 20, 2020
-
-
Dan Villiom Podlaski Christiansen authored
-
- Oct 23, 2020
-
-
Dan Villiom Podlaski Christiansen authored
-
Dan Villiom Podlaski Christiansen authored
-
- Aug 13, 2020
-
-
Tristan Seligmann authored
Pass --ff-only to git pull to avoid a warning.
-
- Sep 15, 2020
-
-
Dan Villiom Podlaski Christiansen authored
-
- Oct 11, 2020
-
-
Dan Villiom Podlaski Christiansen authored
Copied from changeset 5a19d7c9129b in the stable branch, latest as of 2020-10-11. https://www.mercurial-scm.org/repo/hg/rev/5a19d7c9129b
-
- Aug 13, 2020
-
-
Tristan Seligmann authored
Pass explicit messages to git merge to avoid relying on the default.
-
- Sep 15, 2020
-
-
Dan Villiom Podlaski Christiansen authored
We currently write the map file to a BytesIO buffer, and _then_ write it to an atomic temporary file. However, the file is opened for atomic write, so the extra buffering doesn't really add anything other than overhead.
-
Dan Villiom Podlaski Christiansen authored
-
- Aug 18, 2020
-
-
Dan Villiom Podlaski Christiansen authored
Pulls aren't done in a transaction, so you can safely interrupt them, and get a partial result. Unfortunately, the commit map isn't updated, so once you resume the pull, it'll begin at the start at same commit as last, rather than where interrupted. With this tiny change, I can interrupt and resume long-running pulls at leisure. There's no test, since writing the required infrastructure seems a bit overkill.
-
- 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
-
-
muxator authored
If the user modified his log template to include gitnode(), an invocation of hg incoming causes a crash with the following message: AttributeError: 'overlayrepo' object has no attribute 'githandler'
-
Georges Racinet authored
-
Georges Racinet authored
-
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 14, 2020
-
-
Manuel Jacob authored
Dulwich 0.20.0 dropped Python 2 support. Source: https://github.com/dulwich/dulwich/blob/master/NEWS
-
Manuel Jacob authored
The try clause never failed, so `extra_req` was always empty. Before 21264429a8d4, the try clause tried to import `OrderedDict` from `collections`. 21264429a8d4 removed the import seemingly by oversight. But since we require Python > 2.7, the import wouldn’t fail anyway.
-
- Jul 23, 2020
-
-
Manuel Jacob authored
Mercurial changeset 3b7aabd02e11 changed some code from `repo[ctx.p1().node()]` to `ctx.p1()`. `ctx.p1()` is using `ctx._parents`. The base class’s `_parents` returns instances of type `changectx` instead of `overlaychangectx`, leading to a crash later. Therefore we override `_parents` instead of `parents()`. The base class’s `parents()` method returns `self._parents`, so the return value of `parents()` is unchanged.
-
- Jun 11, 2020
-
-
Aay Jay Chan authored
Since Mercurial 4.8, repo.__getitem__ no longer accepts bookmark as argument.
-