- Feb 09, 2019
-
-
Boris Feld authored
This makes the output easier to update and read.
-
Boris Feld authored
This makes the output easier to update and read.
-
Boris Feld authored
This makes the output easier to update and read.
-
Boris Feld authored
This makes the output easier to update and read.
-
Boris Feld authored
This makes the output easier to update and read.
-
Boris Feld authored
This makes the output easier to update and read.
-
Boris Feld authored
This makes the output easier to update and read.
-
Boris Feld authored
This makes the output easier to update and read.
-
- Feb 08, 2019
-
-
Martin von Zweigbergk authored
Not because I care about this, but I want to get rid of match.uipath() and it's easier to respect the config than not. Differential Revision: https://phab.mercurial-scm.org/D5898
-
Martin von Zweigbergk authored
Differential Revision: https://phab.mercurial-scm.org/D5917
-
- Feb 09, 2019
-
-
Martin von Zweigbergk authored
It doesn't seem like replacing "pats" was useful here. Replacing ("",) by [] doesn't seem like it would make a difference and glob-expansion only happens on Windows. It seem like we should just pass the patterns on to orig() unmodified. Differential Revision: https://phab.mercurial-scm.org/D5920
-
- Jan 31, 2019
-
-
Kyle Lippincott authored
Differential Revision: https://phab.mercurial-scm.org/D5784
-
Kyle Lippincott authored
Differential Revision: https://phab.mercurial-scm.org/D5783
-
- Feb 07, 2019
-
-
Martin von Zweigbergk authored
Differential Revision: https://phab.mercurial-scm.org/D5887
-
Martin von Zweigbergk authored
Differential Revision: https://phab.mercurial-scm.org/D5886
-
Martin von Zweigbergk authored
Differential Revision: https://phab.mercurial-scm.org/D5885
-
Martin von Zweigbergk authored
Differential Revision: https://phab.mercurial-scm.org/D5884
-
Martin von Zweigbergk authored
Differential Revision: https://phab.mercurial-scm.org/D5883
-
Martin von Zweigbergk authored
That's what we do with the matcher so it seems more consistent. Differential Revision: https://phab.mercurial-scm.org/D5882
-
Martin von Zweigbergk authored
Differential Revision: https://phab.mercurial-scm.org/D5881
-
Pulkit Goyal authored
No test fails but I found it while debugging test-commit-interactive-curses.t failure. # skip-blame because just r'' prefix Differential Revision: https://phab.mercurial-scm.org/D5878
-
Pulkit Goyal authored
This is because bytes[0] will return the ascii value and comparison will fail. This makes test-commit-interactive-curses.t pass on Python 3. Differential Revision: https://phab.mercurial-scm.org/D5879
-
- Feb 09, 2019
-
-
Martin von Zweigbergk authored
It seems that all callers use match.exact() instead of match.match(exact=True). Differential Revision: https://phab.mercurial-scm.org/D5919
-
Martin von Zweigbergk authored
Differential Revision: https://phab.mercurial-scm.org/D5918
-
- Feb 07, 2019
-
-
Martin von Zweigbergk authored
See previous patch for motivation. Differential Revision: https://phab.mercurial-scm.org/D5893
-
Martin von Zweigbergk authored
The --root option to `hg diff` does two things: * Shows paths relative to the given root * Filters paths by the given root, including copy sources The root argument is passed through down to patch.diff(). I feel like we can make patch.diff() more generic by not passing down the root argument, but instead pass: * A function for taking a repo-relative path and printing it. I want to reuse this for showing cwd-relative paths later. This is the actual motivation for this patch. * A matcher that's already been filtered by the root argument * A second matcher that filters the copy sources This is one step towards that. Differential Revision: https://phab.mercurial-scm.org/D5892
-
Martin von Zweigbergk authored
It's a pretty low-level function and having the contexts in patch.diff() makes future patches easier. Differential Revision: https://phab.mercurial-scm.org/D5891
-
Nikita Slyusarev authored
Subversion `putcommit` method checks original file's executablity to decide if executable property should be removed from svn. It is checked right after writing file contents. Content writing is implemented using `vfs.write` and vfs seems to remove exec bit, at least in some cases. This leads to executability checks being ineffective. If cset contains only this ignored exec bit removal, conversion stops with an error, because it fails to to compose svn commit properly. This fix moves exec bit checking so that it's performed before dumping file contents. Added test to check executable bit removal.
-
Nikita Slyusarev authored
Svn commit generation code skips empty commits, returning the parent. Skipping the root commit must return None instead. Added test to check skipping of empty commits.
-
- Jan 21, 2019
-
-
Martijn Pieters authored
Rather than have a repository update the cache, move handling of cache updates into the branchmap module, in the form of a custom mapping class. This makes later performance improvements easier to handle too. Differential Revision: https://phab.mercurial-scm.org/D5638
-
- Feb 08, 2019
-
-
Martin von Zweigbergk authored
Differential Revision: https://phab.mercurial-scm.org/D5889
-
Martin von Zweigbergk authored
Maybe it's been unused since c8e2a5ea7062 (mq: avoid data loss upon qfold + qmv (issue3058), 2011-10-20), maybe not. Differential Revision: https://phab.mercurial-scm.org/D5888
-
- Feb 07, 2019
-
-
Martin von Zweigbergk authored
I'm not worried about performance; this is just simpler. Differential Revision: https://phab.mercurial-scm.org/D5890
-
Boris Feld authored
The config knob was introduced in this release cycle under the old extension name, rename it before it is part of a release. Differential Revision: https://phab.mercurial-scm.org/D5880
-
Matt Harbison authored
The test harness only wanted to drop the (windows !) lines, which also means the actual output matched the (no-windows !) lines. So drop those annotations too. I suspect if the output of the affected tests was actually collected on Windows, things were quoted because TEMPDIR contained a `~` in MSYS. Typically that happens when the username is 9 (8?) or more characters. I explicitly set TEMP and TMP to something short like "C:\temp" to avoid this, because otherwise there are a bunch of failures like this in other tests.
-
Matt Harbison authored
I ran into a problem pushing to an old Apache server- the normal outgoing traffic occurred, the Batch API request and response occurred, and then things suddenly halted. 5 minutes later, a 500 was returned, and the server log had a timeout reading 32K from `self._req.bodyfh` in hgweb.request.sendresponse(). Watching in WireShark, the Batch API got a 401, retried properly, then proceeded to PUT the blob (without authentication headers). This got a 401, but the client never retried with authentication. Worse, the blob was sent over the wire in the failed attempt. This kills digests for both the Batch API and the Transfer API. While in theory we could have the Batch API provide external URLs to a place that supports Basic Authentication, the LFS spec actually calls out using Basic Authentication[1]. It's not clear to me if they've been able to shoehorn in other methods. But let's keep it simple until somebody needs it. If we only had to support python2, we could just not add the handler for digest authentication. However in python3, AbstractBasicAuthHandler raises ValueError if it sees a scheme other than Basic. So we need to intercept all other schemes before it gets to that point. # no-check-commit because of urllib2.OpenerDirector foo_bar calling conventions [1] https://github.com/git-lfs/git-lfs/blob/master/docs/api/authentication.md
-
- Jan 31, 2019
-
-
Martin von Zweigbergk authored
Differential Revision: https://phab.mercurial-scm.org/D5875
-
- Feb 05, 2019
-
-
Martin von Zweigbergk authored
Differential Revision: https://phab.mercurial-scm.org/D5874
-
Martin von Zweigbergk authored
It has been replaced by backuppath(). Differential Revision: https://phab.mercurial-scm.org/D5860
-
Martin von Zweigbergk authored
This has a test impact. It seems to me to be for the better. Differential Revision: https://phab.mercurial-scm.org/D5859
-