- Nov 02, 2017
-
-
Kevin Bullock authored
-
- Oct 24, 2017
-
-
Kevin Bullock authored
Provides a place to register the defaults for all config options in one place, and a helper to read them. This will let us eliminate deprecation warnings on hg 4.4 (in a future change) while remaining compatible with older versions.
-
- 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.
-
- Oct 05, 2017
-
-
Durham Goode authored
Upstream changed the representation of this structure, to make it not a named tuple. So let's update to match it. The tests caught this issue.
-
Durham Goode authored
Some upstream code now relies on ctx.repo() to access the repo object, since hggit stored ctx.repo as a field instead of a function, that failed. Let's move it to be a function. For overlaychangectx we can't just store the repo in self._repo because that causes other parts of the base class to act differently and causes tests to fail, so we store it as a new field.
-
- Oct 01, 2017
-
-
Kevin Bullock authored
This is a bit of a simplification of an earlier patch from Jun Wu <quark@fb.com>.
-
- Aug 17, 2017
-
-
Sean Farley authored
-
- Aug 10, 2017
-
-
Kevin Bullock authored
-
Kevin Bullock authored
-
Kevin Bullock 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
-
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
-
- Aug 07, 2017
-
-
Kevin Bullock authored
-
- Aug 06, 2017
-
-
Kevin Bullock authored
-
- Aug 05, 2017
-
-
Kevin Bullock authored
-
Kevin Bullock authored
When the line to run doctests was introduced, it looks like it was just added to the wrong rule. Let's put it in the right one.
-
- Aug 06, 2017
-
-
Kevin Bullock authored
Since 006c837f9181 we don't need osutil on hg >= 4.3. When demandimport is enabled, this extra import doesn't hurt anything, but it breaks doctests.
-
- Aug 05, 2017
-
-
Kevin Bullock authored
The fallback introduced in 05c8aa7d3edc failed to work on hg < 3.8, which has no util.urlreq. This was apparently masked by the fact that the Makefile is not set up to run doctests in all modules, which we'll fix in an upcoming change.
-
Kevin Bullock authored
-
Kevin Bullock authored
The tests were broken by 715cbf3fa24c with the switch to using repo.vfs, but this was masked by the fact that the Makefile is only set to run tests for git2hg.py. We'll tackle that in an upcoming changeset.
-
- Jul 24, 2017
-
-
Kevin Bullock authored
-
Kevin Bullock authored
-
Kevin Bullock authored
-
Kevin Bullock authored
-
Kevin Bullock authored
-
Kevin Bullock authored
-
Kevin Bullock authored
-
Kevin Bullock authored
-
Kevin Bullock authored
-
- 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.
-