- Jul 19, 2017
-
-
Ryan McElroy authored
Recent versions of mercuiral issue a devel-warn if the old recordchange api is used, but we want to remain backwards-compatible, so this patch refactors things to be forward-compatible and backwards-compatible.
-
- Jul 17, 2017
-
-
Durham Goode authored
Upstream Mercurial now has a devel-warning when writing to a file without taking a lock. Since we already need write access to write the map file, let's take the wlock as well.
-
- Jun 19, 2017
-
-
Kevin Bullock authored
Since hg 4.3, the upstream osutil module has been moved to mercurial.cext.osutil, but the util module also now re-exports everything in osutil. Thanks to Durham Goode and Yuya Nishihara for reporting and finding the right fix for this.
-
- Jun 09, 2017
-
-
Stanislau Hlebik authored
In upstream c0b16b801687be26d14cabe501678e24b2a3c117 there was a refactoring that caused current named branch to be set if branch wasn't specified. It makes hg-git tests fail. This diff fixes it by explicitly specifying default named branch.
-
- May 22, 2017
-
-
Durham Goode authored
Core hg has deprecated cmdutil.commands in favor of registrar.commands. So we need to update hg-git as well.
-
- May 12, 2017
-
-
Jun Wu authored
Upstream hg (e62cf13e0858) now requires isbinary() from a filecontext. hg-git's overlayfilectx needs to be updated accordingly.
-
- May 09, 2017
-
-
Durham Goode authored
Mercurial 4.3 has completelu dropped the join and wjoin functions. Let's use the appropriate repo.vfs.join and repo.wvfs.join functions instead. I ran the tests against each version of Mercurial from 2.8 to 4.2. Things before 2.8 seem to already be broken for unrelated reasons.
-
- Apr 19, 2017
-
-
Kevin Bullock authored
-
Kevin Bullock authored
-
Kevin Bullock authored
-
- Mar 15, 2017
-
-
Durham Goode authored
Upstream has deprecated repo.join in favor of repo.vfs.join, so let's update to match them. Old hg should have repo.vfs.join so I don't think this breaks backwards compatibility.
-
- Mar 09, 2017
-
-
Arun Kulshreshtha authored
repo.opener() is now deprecated, so repo.vfs() should be used instead.
-
- Mar 15, 2017
-
-
Durham Goode authored
Upstream has changed the manifest diff api to include a matcher, so we need to update our wrappers accordingly.
-
- Dec 18, 2016
-
-
Gregory Szorc authored
Previously, no explicit tests existed for this feature. The added tests demonstrate that git.findcopiesharder results in copy metadata being added to changesets adding files that were unmodified by that changeset.
-
- Nov 01, 2016
-
-
timeless developer authored
Mercurial users are using bookmarks to represent git refs, so when we are unable to push a git ref to remote, we need to tell the hg user to add a bookmark (something they understand), instead of mentioning a ref (which is a foreign concept to them).
-
- Jan 08, 2016
-
-
Sean Farley authored
Tests have been updated for new behavior.
-
- May 15, 2015
-
-
Sean Farley authored
It doesn't really make sense to look up HEAD since this is checking 'incoming'.
-
Sean Farley authored
-
Sean Farley authored
-
- Jan 09, 2017
-
-
Stanislau Hlebik authored
f05ede08dcf7d13794ccc9abb53877a50bf2b58b in mercurial main repo changed changeset_printer so that it outputs all the troubles for the changeset. To do it ctx.troubled() is accessed and in turn it asks for obsstore and unfiltered() repo. It causes tests failures in hg-git because overlay repo has neither obsstore field nor unfiltered method. This patch adds unfiltered method that always returns unfiltered repo from the handler.
-
- Nov 13, 2016
-
-
Henning Schild authored
so contributors have a link to the archive and the mail address and do not have to google that first
-
- Dec 06, 2016
-
-
Kevin Bullock authored
-
- Nov 18, 2016
-
-
Durham Goode authored
Core hg has refactored the manifest logic to remove the manifest class. So we need to update our use of manifests to use manifestlog and manifestctx instead. Tested this by running the tests against hg 3.8, 3.9, 4.0, and @ (c27614f2dec).
-
- Oct 03, 2016
-
-
Ryan McElroy authored
When importing changesets, hggit uses the config knob hggit.mapsavefrequency to determine how often to save the mapfile. This allows a user to interrupt the import without losing all progress. This patch adds this same functionality to the export mechanism.
-
- Oct 06, 2016
-
-
Sietse Brouwer authored
The previous implementation only allowed passing 40-hexdigit hashes or 12-hexdigit abbreviations to `gitnode(hash)`. Shorter or longer hashes were accepted, but failed silently. With this fix, any unambiguous abbreviation is accepted. `gitnode(a5b)` selects the revision whose Git hash starts with `a5b`, if there is one, and aborts if there are several.
-
- Sep 12, 2016
-
-
Ryan McElroy authored
git 2.9 outputs a longer path during clone than 2.8 did. Update the tests to allow either behavior.
-
Ryan McElroy authored
In mercurial, commit a22b3de3b65a changed some manifest lookups from using manifest.read(sha) to using manifestlog[sha]. This change adds support for this new kind of lookup. The old method is not removed to preserve compatibility.
-
- Sep 05, 2016
-
-
Ryan McElroy authored
A commit's extras field should be considered user-supplied input that can take any form. Trusting it to be properly formatted is dangerous and can prevent forward progress. Instead, swallow errors due to malformed extras and carry on.
-
Ryan McElroy authored
In large repositories, the commit discovery phase can take minutes. Let's give the user feedback on how long it will take.
-
- Sep 03, 2016
-
-
Sean Farley authored
Previously, if a user enables hg-git and in a non-git repo (i.e. hg-only) they have a .gitignore, then hg-git will try to parse that. I consider this a bug and a bad performance regression for what should be a no-op.
-
- Aug 12, 2016
-
-
Kevin Bullock authored
-
- Aug 04, 2016
-
-
Sean Farley authored
-
Sean Farley authored
-
- Jul 21, 2016
-
-
Anton Shestakov authored
-
- Apr 20, 2016
-
-
Martijn Pieters authored
Mercurial 3.8 graph output has changed; set the 'missing parent' style back to a pipe to keep the test output stable across versions.
-
- Mar 28, 2016
-
-
Mateusz Kwapich authored
test-incoming.t was failing with latest mercurial head (345f4f) because we didn't implement this method in the git overlay.
-
- Feb 04, 2016
-
-
Dan Villiom Podlaski Christiansen authored
The ReviewBoard repository contains a Mercurial repository within its Git repository; if you just convert that into Mercurial, you can't check it out. We handle this similar to invalid Git paths: by default, refuse the conversion, but with a configuration knob to force it through with a warning. See also: https://github.com/reviewboard/reviewboard/ https://reviewboard.org/bugs/3190
-
- Feb 02, 2016
-
-
Siddharth Agarwal authored
-