- Nov 09, 2015
-
-
Siddharth Agarwal authored
Closes issue #154.
-
Siddharth Agarwal authored
Not clear how this is happening, but this should fix it. Resolves issue #166.
-
Siddharth Agarwal authored
-
Siddharth Agarwal authored
This list was just completely out of date.
-
Siddharth Agarwal authored
-
Siddharth Agarwal authored
-
- Oct 26, 2015
-
-
Durham Goode authored
Upstream added opargs to exchange.push and uses it as kwargs to the pushoperation constructor (16e69e6b357b). There was an attempt to fix this in hggit (c85c28fbc8a5) but it passes the exchange.push kwargs directly to pushoperation(), where we actually need to pull out the opargs and pass them as kwargs.
-
- Oct 19, 2015
-
-
Sean Farley authored
dulwich 0.11.x changed the way they pass parameters around, so we reformat that to what hg-git expects.
-
- Oct 16, 2015
-
-
Sean Farley authored
-
- Oct 15, 2015
-
-
Sean Farley authored
We can just accept-and-forward kwargs, which should be nicely futureproof for a while.
-
Sean Farley authored
Previously, cloning from a git ssh uri (e.g. git@github.com:user/repo.git) would prepend the local file path because Mercurial classifies this as a path (since there is no scheme at the beginning of the string). This patch fixes that by doing the same logic as before in hgutil.url so that the correct hgrc path is written.
-
- Sep 24, 2015
-
-
Sean Farley authored
We fallback to using a standard set if baseset is not available
-
- Aug 25, 2015
-
-
Durham Goode authored
The latest version of Mercurial validates that a path contains the .hg directory. This breaks when pulling/pushing to git repos. This patch makes a gitrepo a valid path as well.
-
Durham Goode authored
Refactors the logic that decides if a local directory is a git directory into a separate function. This will let us use it later on to integrate with Mercurial's new paths component.
-
- Sep 24, 2015
-
-
Sean Farley authored
-
- May 14, 2015
-
-
Sean Farley authored
-
- May 15, 2015
-
-
Sean Farley authored
-
- Apr 27, 2015
-
-
Sean Farley authored
It looks like this is the only place where this could happen via this map_hg_get function.
-
- Sep 24, 2015
-
-
Sean Farley authored
We avoid using dulwich's refs method because it is incredibly slow. On a repo with a few hundred branches and a few thousand tags, dulwich took about 200ms to load everything. This patch only traveses the remote ref directory and cuts that time down to about 50ms.
-
- May 17, 2015
-
-
Sean Farley authored
It is unclear to me why we keep a file (which can become out of sync) of remote refs instead of just using dulwich. This caught a missing remote ref in the test suite.
-
- Sep 30, 2015
-
-
Yuya Nishihara authored
The API changed at Mercurial e0c572d4d112.
-
- Aug 11, 2015
- Jul 17, 2015
-
-
Sean Farley authored
Originally, I copied the logic for the file scheme which calls _peerlookup(path) but in mercurial/hg.py they have: try: return thing(path) except TypeError: return thing So, our http(s) scheme broke default Mercurial because I tried returning thing(path) instead of just thing. A test has been added to catch this.
-
- Jun 26, 2015
-
-
Sean Farley authored
Wraps the http(s) schemes to test for a .git at the end of the url.
-
Sean Farley authored
-
Sean Farley authored
By testing the uri early, we can reuse logic later in the method to parse the git uri. We rely on the isgitsshuri heuristic to return True or False, and if True, prepend 'git+ssh://' to the uri. Arguably, this is fragile, and am open to better ideas, but can't think of anything else currently.
-
Sean Farley authored
-
- Jul 01, 2015
-
-
Sean Farley authored
This add the ability to copy & paste from github's (and other git-style) urls. Due to how we need to handle this, we need to also ensure that paths that end with .git are stripped of their extension.
-
- Jun 30, 2015
-
-
Sean Farley authored
-
- Jun 14, 2015
-
-
Sean Farley authored
Previously, there was an edge case for Git repositories that started as Mercurial repositories and had used subrepos where a deleted .hgsubstate would be ignored and therefore reintroduced. This patch fixes that behavior by checking for the deleted .hgsubstate file first. A test has been added to verify behavior.
-
- Jun 11, 2015
-
-
Durham Goode authored
If the importer encountered an error half way through a large import, all the commits are saved, but the mapfile is not written, so the process starts over from the beginning when run again. This adds the option for a config value that will save the map file every X commits. I thought about just hard coding this to 100 or something, but doing it this way seems a little less invasive.
-
- Jun 24, 2015
-
-
Durham Goode authored
The default dulwich graph walker only walks from refs/heads. During the discovery phase of fetching this causes it to redownload commits that are only referenced by refs/remotes. In a normal hggit case, this seems to mean it redownloads the entire git repo on every hg pull. Added a --debug to a test to check the object count (it decreased from 21 to 10 as part of this patch).
-
- Jun 19, 2015
-
-
Siddharth Agarwal authored
-
- Jun 18, 2015
-
-
Augie Fackler authored
We can just accept-and-forward kwargs, which should be nicely futureproof for a while.
-
- Mar 17, 2015
-
-
anatoly techtonik authored
getversion() also reports dulwich version
-
- Jun 01, 2015
-
-
Siddharth Agarwal authored
ignore.readpats was added at some point before 2.8. Mercurial upstream has now dropped the ignore module completely, so drop this check.
-
- May 31, 2015
-
-
Yuya Nishihara authored
Tested with Mercurial 2.8.2, 2.9.2, bd98d073a34f (stable) and 7d24a41200d3 (default).
-