- Jun 20, 2017
-
-
Augie Fackler authored
Spotted one of these, then wrote a check-code rule that caught them all. It will be the next change.
-
- Feb 16, 2017
-
-
Jun Wu authored
This patch replaces hardcoded 127.0.0.1 with $LOCALIP in all tests. Till now, the IPv6 series should make tests pass on common IPv6 systems where the local device has the address "::1" and the hostname "localhost" resolves to "::1".
-
- Jan 19, 2017
-
-
Augie Fackler authored
According to man 1 unzip, this unzip appeared in FreeBSD 8.0. It's what comes as /usr/bin/unzip, so we may as well cater to it since it's easy.
-
- Jan 10, 2017
-
-
Anton Shestakov authored
-
- Jul 15, 2016
-
-
Augie Fackler authored
FreeBSD's unzip(1) uses tabs instead of a run of spaces.
-
- May 06, 2016
- Mar 20, 2016
-
-
timeless authored
progress has not been an extension for a long time, it has been integrated into core, thus these lines have not done anything for a while.
-
- Jun 08, 2015
-
-
Pierre-Yves David authored
We were wrapping the ui class again and again (uisetup, reposetup, subrepo setup, remote repo setup, etc). We now avoid that. This has impact on tests that were double-printing data because of this.
-
Matt Mackall authored
-
Matt Mackall authored
$TESTDIR is added to the path, so this is superfluous. Also, inconsistent use of quotes means we might have broken on tests with paths containing spaces.
-
- May 10, 2015
-
-
Pierre-Yves David authored
When the progress extension is not enabled, each call to 'ui.progress' used to issue a debug message. This results is a very verbose output and often redundant in tests. Dropping it makes tests less volatile to factor they do not meant to test. We had to alter the sed trick in 'test-rename-merge2.t'. Sed is used to drop all output from a certain point and hidding the progress output remove its anchor. So we anchor on something else.
-
- Dec 12, 2014
-
-
Siddharth Agarwal authored
This is different from latesttagdistance in that while latesttagdistance is defined to be the length of the longest path to the latest tag, changessincelatesttag is the number of changes contained in @ that aren't contained in the latest tag. So, if 't' is the latest tag in the repository below: t | v --o--o----o \ \ ..o..o..@ then latesttagdistance is 2, but changessincelatesttag is 4. Note that changessincelatesttag is always greater than or equal to the latesttagdistance -- that's because changessincelatesttag counts all the changes in the longest path since the latest tag, and possibly others. This is an important fact that we'll take advantage of in upcoming patches.
-
- Nov 06, 2014
-
-
Matt Harbison authored
A matcher is required when enabling the subrepo option on archival.archive(), because that calls match.narrowmatcher(), which accesses fields on the object. It's therefore probably a bad idea to default the matcher to None on archive(), but that's a fix for default.
-
Matt Harbison authored
This will be used in an upcoming patch to add coverage for web.archivesubrepos.
-
- Aug 06, 2014
-
-
Matt Mackall authored
-
- Oct 03, 2013
-
-
Mads Kiilerich authored
An echo statement was missed in the .t-ification in afe19a1bf9d3 so we ended up with invalid sh syntax. But at the same time a continuation line was marked as $ instead of > and we thus added the salt that made the expression valid again.
-
- Mar 21, 2013
-
-
Angel Ezquerra authored
-
Angel Ezquerra authored
Note that we could raise this exception even if no pattern were specified, but the revision contained no files. However this should not happen in practice since in that case commands.py/archive would exit earlier with an "no working directory: please specify a revision" error message instead.
-
- Feb 10, 2013
-
-
Angel Ezquerra authored
The archive web command now takes into account the "file" request entry, if one is provided. The provided "file" is processed as a "path" corresponding to a directory or file that will be downloaded. With this change hgweb can to process requests such as: http://mercurial.selenic.com/hg/archive/tip.zip/mercurial/templates This will download all files on the mercurial/templates directory as a zip file. It is not possible to specify file patterns ('glob', 'relglob', 'path', 'relpath', 're', 'relre' nor 'set'). The server will reject those with a 403 HTTP error response. Note that this is a first step to add support for downloading directories from the web interface. A following patch will modify the archiveentry map entry on the different templates so that it adds the current folder path to the archive links.
-
- Feb 06, 2013
-
-
Angel Ezquerra authored
This avoids pritting out a traceback when a get-with-headers call causes hgweb to respond with an HTTPError code.
-
- Oct 09, 2012
-
-
kiilerix authored
-
- Sep 19, 2012
-
-
Bryan O'Sullivan authored
-
- Sep 18, 2012
-
-
Katsunori FUJIWARA authored
Before this patch, zip archives created by "hg archive" are extracted with unexpected timestamp, if TZ is not configured as GMT. This patch adds "extended-timestamp" extra block to zip archives, and unzip will extract such archives with timestamp specified in added extra block, even though TZ is not configured as GMT. Please see documents below for detail about specification of zip file format and "extended-timestamp" extra block: http://www.pkware.com/documents/casestudies/APPNOTE.TXT http://www.opensource.apple.com/source/zip/zip-6/unzip/unzip/proginfo/extra.fld Original implementation of this patch was suggested by "Jun Omae <jun66j5@gmail.com>".
-
- Aug 20, 2012
-
-
Patrick Mézard authored
It makes it easier to use as a generic replacement for kill utility, mostly for Windows tests.
-
- Jun 21, 2012
-
-
kiilerix authored
get-with-headers.py took the http GET parameter as a command line parameter that had to start with '/'. MSYS on windows will mangle such paths. Instead of applying a workaround everywhere (such as an extra '/') we let get-with-headers.py add the mandatory '/'. That is consistent with the url path handling in the Mercurial url class. A few tests sent 'GET ?cmd=...' which is invalid. They will now send 'GET /?cmd=...'. This will not enable any tests for being run on windows - only remove one reason they were disabled.
-
- Jun 12, 2012
-
-
Thomas Arendsen Hein authored
-
Thomas Arendsen Hein authored
Before this, files that are excluded (or not included) were shown when using progress bar or --debug. Reported by Andrew Shadura.
-
- Jun 10, 2012
-
-
kiilerix authored
Many tests didn't change back from subdirectories at the end of the tests ... and they don't have to. The missing 'cd ..' could always be added when another test case is added to the test file. This change do that tests (99.5%) consistently end up in $TESTDIR where they started, thus making it simpler to extend them or move them around.
-
- Apr 03, 2012
-
-
Thomas Arendsen Hein authored
With this quoting tests will work e.g. in "/tmp/foo bar/mercurial/".
-
- Nov 07, 2011
-
-
kiilerix authored
-
- Apr 19, 2011
-
-
Martin Geisler authored
There are still many tests that check that a bare 'hg init' initializes the current directory.
-
- Dec 15, 2010
-
-
Augie Fackler authored
-
- Nov 29, 2010
-
-
Martin Geisler authored
-
- Dec 15, 2010
-
-
Martin Geisler authored
-
- Sep 24, 2010
-
-
kiilerix authored
-
kiilerix authored
Backport 3acd5f7ab9d0 and 9581d5efb6a5 to stable.
-