- Sep 05, 2016
-
-
Dan Villiom Podlaski Christiansen authored
Sharing repository data, but not Git metadata can lead to confusing scenarios, particularly in the face of history editing and/or forced updates. This adds a test for the share integration added in 1003994dd497.
-
- Nov 24, 2017
-
-
Pierre-Yves David authored
The tests were failing on some minor output changes. It looks like this is output change on the git side. We match the two variants in the tests.
-
- Nov 20, 2017
-
-
Pierre-Yves David authored
Git subrepository are disabled by default in in 4.4.1. We re-enabled them for the tests to prevent multiple failures.
-
- May 15, 2015
-
-
Sean Farley authored
To help improve the speed Mercurial operations, we shouldn't leave the whole repository in the draft phase. The only hueristic git has for 'public' is remote HEAD. Therefore, if remote HEAD exists then we use it to mark the corresponding local commit as public. For now, we'll put this behind a config flag for easier rollback.
-
- Nov 02, 2017
-
-
Kevin Bullock authored
Since updating run-tests.py in e085b381e8e2, a default date of '0 0' is no longer set automatically. Restore this by adding it to our own test suite's default hgrc.
-
- Oct 24, 2017
-
-
Kevin Bullock authored
-
Kevin Bullock authored
-
Kevin Bullock authored
Before this change, setting git.similarity to a value out of range would result in a traceback because 'util' is hg-git's own module. Adds a test demonstrating the fixed behavior.
-
- Oct 23, 2017
-
-
Kevin Bullock authored
-
Kevin Bullock authored
-
Kevin Bullock authored
It's been three and a half years or so, so I'd say we're due. This brings us up to the version from hg @ 274811627808 (during the 4.4 code freeze). In particular, we'll need support for optional output lines added in 6025cac3d02f.
-
- Aug 17, 2017
-
-
Sean Farley authored
-
- Aug 04, 2017
-
-
Katsunori FUJIWARA authored
Before this revision, invalid pattern in hgignore file causes unintentional failure for UnboundLocalError of ignorefunc, if hggit is used with Mercurial 3.5 or later. In such case: - checking source of invalid pattern at failure uses "pats" list for hgignore files, but - "pats" list is empty, if ignoremod is None (= Mercurial 3.5 or later) - therefore, checking with matchmod.match() overlooks invalid pattern Then, "return ignorefunc" is executed without assignment to ignorefunc, and causes UnboundLocalError. To show pattern error in hgignore file as expected even with Mercurial 3.5 or later, this revision puts '(FILE, ["include: FILE"])' tuples into "pats" (to avoid code duplication, putting into allpats is shared, too). This makes checking source of invalid pattern at failure work as expected for hgignore files. Fixes #197
-
- Aug 10, 2017
-
-
Kevin Bullock authored
The test changes demonstrate that the hostname gets URL-encoded before being passed to ssh(1).
-
Kevin Bullock authored
-
- Aug 04, 2017
-
-
Sean Farley authored
-
- Jul 24, 2017
-
-
Kevin Bullock authored
-
- 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.
-
- 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.
-
- Jan 08, 2016
-
-
Sean Farley authored
Tests have been updated for new behavior.
-
- 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.
-
- 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.
-
- 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.
-
- 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
The other `sed` seems to no longer be necessary, so remove it.
-
- Jan 14, 2016
-
-
Dmitrij D. Czarkoff authored
Seq is not a standard utility, and explicit loop should be more performant.
-
- Dec 31, 2015
-
-
Siddharth Agarwal authored
-
Siddharth Agarwal authored
-
Siddharth Agarwal authored
-
- Oct 16, 2015
-
-
Sean Farley authored
-
- 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.
-
- 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 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 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 28, 2015
-
-
Durham Goode authored
Upstream Mercurial has added phase info to the summary output. Let's update the test to reflect that.
-
- May 12, 2015
-
-
Sean Farley authored
-
- May 03, 2015
-
-
Siddharth Agarwal authored
-
- Mar 12, 2015
-
-
Siddharth Agarwal authored
The bookmark output has been stable since well before the oldest Mercurial we support, 2.8.
-