Stephen Darnell <stephen@darnell.plus.com> [Thu, 27 Apr 2006 21:59:44 -0700] rev 2144
Add code coverage to the python version of run-tests (inc. annotation)
Also include a minor work-around to coverage.py to avoid errors about /<string>
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 27 Apr 2006 21:58:47 +0200] rev 2143
Show repo's revlog format on verify. Warn if some files use a different format.
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 27 Apr 2006 21:16:46 +0200] rev 2142
Replaced 0 with REVLOGV0 where this meaning is used.
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 27 Apr 2006 21:03:07 +0200] rev 2141
Corrected error message for incompatible revision flags.
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 27 Apr 2006 13:11:23 +0200] rev 2140
Make the deprecated forget an alias of debugforget.
This way it doesn't show up in the non-debug help.
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 27 Apr 2006 13:05:02 +0200] rev 2139
Fixed test output for not using the deprecated 'hg forget'.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 26 Apr 2006 22:42:07 -0700] rev 2138
Fix revlog-ng interaction with old-http.
revlog.py wasn't trying to detect the version of a revlog file that
doesn't exist on the filesystem (as is the case with old-http).
Additionally, there was an off-by-one error in httprangereader.read
(ranges in HTTP Range headers are inclusive), making it get more data
than what was asked for. This made a struct.unpack complain that
"unpack str size does not match format".
Finally, with the two fixes above, test-static-http fails, since
BaseHTTPServer doesn't understand ranges and returns too much data.
Work around that by reading only the specified amount.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 26 Apr 2006 22:15:01 -0700] rev 2137
Fix timezone check.
According to http://en.wikipedia.org/wiki/List_of_time_zones
timezones go from UTC-12 to UTC+14.
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 26 Apr 2006 12:06:21 -0700] rev 2136
mke test-nested-repo use "revert" instead of "forget"
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 26 Apr 2006 12:05:16 -0700] rev 2135
mark forget command as deprecated.
will be removed after 0.9 released.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Wed, 26 Apr 2006 10:57:40 -0700] rev 2134
write to stderr with a single write call.
this works around issue88.
Stephen Darnell <stephen@darnell.plus.com> [Wed, 26 Apr 2006 16:54:07 +0200] rev 2133
Tidyups for run-tests.py inc. try/finally cleanup and allow tests to be specified on command line
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 26 Apr 2006 07:31:04 +0200] rev 2132
hgweb: Synchronised filelogentry to changelogentry.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 26 Apr 2006 07:03:10 +0200] rev 2131
Try harder to display node hashes in tags view in monospaced font.
Used to work around Firefox's behaviour if "Allow pages to choose their
own fonts" is disabled.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 26 Apr 2006 06:12:42 +0200] rev 2130
hgweb templates: Don't word wrap "foo bar ago" (e.g. "3 months\nago")
This made log entries or hgwebdir index look ugly with certain browser widths.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 25 Apr 2006 23:28:40 +0200] rev 2129
cached data was wrong: rev is different from self.rev(node) in bundlerepo.py
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 25 Apr 2006 19:38:45 +0200] rev 2128
Merge with crew
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 25 Apr 2006 19:38:19 +0200] rev 2127
Allow 'hg serve --webdir-conf foo' to be run outside a repository.
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 25 Apr 2006 18:50:40 +0200] rev 2126
Use <link> tag instead if CDATA import for CSS stylesheets. Fixes issue200.
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 25 Apr 2006 09:00:09 +0200] rev 2125
Use string literal concatenation for optlist and import -p option
Alexander Schremmer <alex AT alexanderweb DOT de> [Tue, 25 Apr 2006 00:43:40 +0200] rev 2124
Cleaned trailing whitespace in hgweb.py, removed command line shortcut for webdir-conf.
Alexander Schremmer <alex AT alexanderweb DOT de> [Sun, 23 Apr 2006 00:34:07 +0200] rev 2123
Fixed path handling of the standalone server, fixed typo.
Alexander Schremmer <alex AT alexanderweb DOT de> [Sun, 23 Apr 2006 00:31:09 +0200] rev 2122
Added hgwebdir support to hg serve.
Alexander Schremmer <alex AT alexanderweb DOT de> [Sun, 23 Apr 2006 00:27:46 +0200] rev 2121
Added threading support to hg serve.
Alexander Schremmer <alex AT alexanderweb DOT de> [Sun, 23 Apr 2006 00:18:58 +0200] rev 2120
Added my name to the contributors list.
Alexander Schremmer <alex AT alexanderweb DOT de> [Sun, 23 Apr 2006 00:15:30 +0200] rev 2119
Cleaned hgweb.py a little bit
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 25 Apr 2006 08:38:15 -0700] rev 2118
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 25 Apr 2006 08:37:05 -0700] rev 2117
fix issue 217.
fall back to fixed path if windows >= nt function not present.
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 22 Apr 2006 09:19:27 +0200] rev 2116
Merge with upstream
Jim Meyering <list+hg@meyering.net> [Fri, 21 Apr 2006 16:09:43 -0700] rev 2115
Fix issue 165: `hg status' with abs path containing a symlink-to-dir fails
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 21 Apr 2006 15:47:27 -0700] rev 2114
update tests after changing archival code.
test-archive now contains tests for archive command.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 21 Apr 2006 15:28:50 -0700] rev 2113
make hgweb use new archival module.
also use "x-gzip" encoding for ".tar.gz" files, so mozilla and firefox
will not transparently decompress stream and save with wrong name.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 21 Apr 2006 15:27:57 -0700] rev 2112
add "archive" command, like "cvs export" only better.
most code in mercurial/archival.py module, for sharing with hgweb.
Matt Mackall <mpm@selenic.com> [Fri, 21 Apr 2006 16:30:49 -0500] rev 2111
Merge with crew
Stephen Darnell <stephen@darnell.plus.com> [Fri, 21 Apr 2006 18:47:55 +0200] rev 2110
Add a pure python version of run-tests.
If this works well for most people, it should replace the shell version
of run-test.
Matt Mackall <mpm@selenic.com> [Fri, 21 Apr 2006 16:30:23 -0500] rev 2109
Revert push new heads logic
This breaks push -r's new head detection but fixes the common case.
For now we'll assume that someone doing push -r knows what they're doing.
Matt Mackall <mpm@selenic.com> [Fri, 21 Apr 2006 15:33:51 -0500] rev 2108
Move empty local repo logic for pull into findincoming
This fixes a silly attempt to pull a changegroup from an empty repo.
Matt Mackall <mpm@selenic.com> [Fri, 21 Apr 2006 15:14:27 -0500] rev 2107
Don't die calling outgoing hook if we have no changesets
Matt Mackall <mpm@selenic.com> [Thu, 20 Apr 2006 12:13:54 -0500] rev 2106
Merge with crew
Matt Mackall <mpm@selenic.com> [Thu, 20 Apr 2006 12:12:03 -0500] rev 2105
Merge with cmason
Andrew Thompson <andrewkt@aktzero.com> [Thu, 20 Apr 2006 16:33:49 +0200] rev 2104
Add tests/test-committer
This checks to see if the EMAIL environment variable is being used for commit.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Thu, 20 Apr 2006 15:42:02 +0200] rev 2103
Use application/octet-stream as the content-type of unknown binary files
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 19 Apr 2006 22:18:03 -0700] rev 2102
remove appendfile data as soon as not needed.
Chris Mason <mason@suse.com> [Thu, 20 Apr 2006 13:08:16 -0400] rev 2101
Make bundlerepo use proper index format for revlogng
bundlerepo just appends index entries from the bundle onto the index for the
current repo. This patch makes sure it appends the correct format.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 19 Apr 2006 21:39:51 +0200] rev 2100
Merge with crew
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 19 Apr 2006 21:37:43 +0200] rev 2099
Merge with cmason
Chris Mason <mason@suse.com> [Wed, 19 Apr 2006 15:35:10 -0400] rev 2098
Remove bogus raise from localrepo.lookup()
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 19 Apr 2006 11:41:27 -0700] rev 2097
Fix hg qdiff <file>
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 19 Apr 2006 11:41:25 -0700] rev 2096
Ignore EPIPE in pipefilter
This hides the following traceback (there's a race condition involved,
so you may have to try a few times to hit it):
$ hg sign --key key-that-does-not-exist
Signing 2062:4bad92f4ea65
gpg: skipped "key-that-does-not-exist": secret key not available
gpg: signing failed: secret key not available
Exception in thread Thread-1:
Traceback (most recent call last):
File "threading.py", line 442, in __bootstrap
self.run()
File "threading.py", line 422, in run
self.__target(*self.__args, **self.__kwargs)
File "mercurial/util.py", line 24, in writer
pin.close()
IOError: [Errno 32] Broken pipe
abort: Error while signing
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 19 Apr 2006 11:41:22 -0700] rev 2095
Don't send "Content-Type: none"
mimetypes.guess_type will return (None, None) when it can't detect the
filetype.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 19 Apr 2006 11:39:34 -0700] rev 2094
Fix filerevision-raw.tmpl
Two bugs:
- conteXt-type instead of conteNt-type
- trailing newline
The easiest way to fix the second one (and keep it fixed) is to put
everything inline in map-raw.
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 19 Apr 2006 11:29:41 -0700] rev 2093
convert-repo: fix reversed time zone offset
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 19 Apr 2006 11:17:13 -0700] rev 2092
catch SIGBREAK on windows.
Lee Cantey <lcantey@gmail.com> [Wed, 19 Apr 2006 10:56:44 -0700] rev 2091
update windows readme to document msys/mingw rxvt problems.
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 19 Apr 2006 09:08:45 -0700] rev 2090
fix util.canonpath on windows.
old test for absolute path was not portable. use os.path api instead.
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 19 Apr 2006 08:33:46 -0700] rev 2089
make appendfile simpler so it does not break with revlogng on windows.
it used to cache open files. this made revlogng break because it wants
to rename files when splitting .i into .i/.d, but cannot rename or unlink
open files on windows.
new code is bit slower, but safe on linux and windows. proper fix for
too many open/close of changelog/manifest belongs in different place.
can get 10% speed improvement back.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 19 Apr 2006 07:09:15 +0200] rev 2088
Exit test-hup only after the background process has died.
Otherwise the open file might let the tests fail on NFS.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 18 Apr 2006 20:33:33 -0700] rev 2087
merge with mainline.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 18 Apr 2006 14:56:54 -0700] rev 2086
mq: do not fail if directory to create exists
Chris Mason <mason@suse.com> [Tue, 18 Apr 2006 19:50:12 -0400] rev 2085
merge revlogng with mpm tip
Chris Mason <mason@suse.com> [Mon, 17 Apr 2006 13:19:58 -0400] rev 2084
Fix transaction handling during interleaved file split.
Chris Mason <mason@suse.com> [Sat, 08 Apr 2006 20:10:46 -0400] rev 2083
merge 0.8.1 with revlogng
mason@suse.com [Sat, 08 Apr 2006 20:08:06 -0400] rev 2082
Additional appendfile fixes for interleaved data/index files
The appendfile code was not passing default version info to the
changelog or manifest classes, and so they were always being created
as version 0.
revlog.checkinlinesize had to be corrected to seek to the end
of the index file when no index file was passed (only clone does this)
Chris Mason <mason@suse.com> [Thu, 06 Apr 2006 20:13:09 -0400] rev 2081
Speedup revlog.ancestors for the linear case
revlog.ancestors can be expensive on big repos. This cuts down the overall
time for hg update by ~19% by short cutting revlog.ancestors when one of the
revisions is reachable from another.
mason@suse.com [Tue, 04 Apr 2006 19:00:40 -0400] rev 2080
Reduce index memory usage by storing the bare string instead of tuples
Storing the tuple returned by struct.unpack significantly increases
the memory required to store the entire index in ram. This patch
uses struct.unpack on demand instead.
mason@suse.com [Tue, 04 Apr 2006 16:47:12 -0400] rev 2079
New lazy index code for revlogs.
This tunes for large repositories. It does not read the whole
index file in one big chunk, but tries to buffer reads in more
reasonable chunks instead.
Search speeds are improved in two ways. When trying to find a
specific sha hash, it searches from the end of the file backward.
More recent entries are more likely to be relevant, especially the
tip.
Also, this can load only the mapping of nodes to revlog index number.
Loading the map uses less cpu (no struct.unpack) and much less
memory than loading both the map and the index.
This cuts down the time for hg tip on the 80,000 changeset
kernel repo from 1.8s to 3.69s. Most commands the pull a single
rev out of a big index get roughly the same benefit. Commands
that read the whole index are not slower.
mason@suse.com [Tue, 04 Apr 2006 16:38:44 -0400] rev 2078
Fill in the uncompressed size during revlog.addgroup
This uses code from Matt to calculate the size change that
would result from applying a delta to keep an accurate running
total of the text size during revlog.addgroup
mason@suse.com [Tue, 04 Apr 2006 16:38:44 -0400] rev 2077
Fix inlined revlogs to seek to eof after opening "a+"
mason@suse.com [Tue, 04 Apr 2006 16:38:44 -0400] rev 2076
Create an atomic opener that does not automatically rename on close
The revlog.checkinlinesize() uses an atomic opener to replace the
index file after converting it from inline to traditional .i and .d
files. If this operation is interrupted, the atomic file class can
overwrite a valid file with a partially written one.
This patch introduces an atomic opener that does not automatically
replace the destination file with the tempfile. This way
an interrupted checkinlinesize() call turns into a noop.
mason@suse.com [Tue, 04 Apr 2006 16:38:43 -0400] rev 2075
Make the appendfile class inline-data index friendly
The appendfile class needs a few changes to make it work with interleaved
index files. It needs to support the tell() method, opening in a+ mode,
and it needs to delay the checkinlinesize call until after the
append file is written.
Given that open(file, "a+") doesn't always seek to the end of the file,
this adds seek operations to appendfile that understand whence args
mason@suse.com [Tue, 04 Apr 2006 16:38:43 -0400] rev 2074
Fix bundle repos to use an index tuple consistent with revlogng
The bundle repo code was adding a field to the index tuple, which
confused the revlogng changes. This creates a new dict instead
to maintain the extra bundle info.
mason@suse.com [Tue, 04 Apr 2006 16:38:43 -0400] rev 2073
Implement data inlined with the index file
This patch allows you to optionally inline data bytes with the
revlog index file. It saves considerable space and checkout
time by reducing the number of inodes, wasted partial blocks and
system calls.
To use the inline data add this to your .hgrc
[revlog]
# inline data only works with revlogng
format=1
# inline is the only valid flag right now.
flags=inline
mason@suse.com [Tue, 04 Apr 2006 16:38:43 -0400] rev 2072
Implement revlogng.
revlogng results in smaller indexes, can address larger data files, and
supports flags and version numbers.
By default the original revlog format is used. To use the new format,
use the following .hgrc field:
[revlog]
# format choices are 0 (classic revlog format) and 1 revlogng
format=1
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 13 Apr 2006 17:42:49 -0700] rev 2071
import: use gpatch if present on system. patch is broken on solaris.
fixes issue 205.
add new useful function, util.find_in_path.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 13 Apr 2006 17:12:09 -0700] rev 2070
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 13 Apr 2006 17:11:35 -0700] rev 2069
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 13 Apr 2006 17:11:04 -0700] rev 2068
let run-tests run optional code coverage tests.
to enable, set env var TEST_COVERAGE to non-empty string. run-tests will
print report after running.
after coverage run, file tests/.coverage will contain coverage data. use
tests/coverage.py to get more info, like annotated source code.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 13 Apr 2006 17:06:57 -0700] rev 2067
fix bugs in coverage.py.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 13 Apr 2006 15:10:03 -0700] rev 2066
add coverage.py module to tests directory.
written by ned batchelder and gareth rees.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Fri, 14 Apr 2006 00:41:50 +0200] rev 2065
fix update when a locally added file match the target revision
the dirstate entry for the added file wasn't updated.
fix issue207
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 13 Apr 2006 13:46:56 -0700] rev 2064
util.unlink should only catch OSError.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 13 Apr 2006 13:46:05 -0700] rev 2063
benoit asked for comment to make avoid of recursive repo clearer.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 13 Apr 2006 12:44:40 -0700] rev 2062
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 31 Mar 2006 17:00:09 -0800] rev 2061
support nested repositories.
mercurial will not recurse into a subdirectory that contains a .hg
directory. it is treated as a separate repository.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 12 Apr 2006 17:57:44 +0200] rev 2060
Don't use -u option for diff on SunOS, too.
This makes the tests work without using GNU diff on Solaris 8.
Sascha Wilde <wilde@sha-bang.de> [Wed, 12 Apr 2006 17:53:04 +0200] rev 2059
run-tests: Use appropriate (that is: none) diff options on HP-UX.
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 11 Apr 2006 12:44:13 +0200] rev 2058
Use the new format of setting tags in view extension (Debian bug #361897)
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 11 Apr 2006 08:42:07 +0200] rev 2057
Never exit directly from commands.dispatch(), but pass return code to caller.
Usually the caller is commands.run().
Some extensions still use sys.exit(), this is catched, too.
Fixed wrong return statement in commands.recover() yielding a zero exit code.
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 11 Apr 2006 07:08:16 +0200] rev 2056
Polished exception handling when importing extensions:
- Warning about failed import is printed on one line.
- For this warning the [extensions] section key is used, because the value
doesn't have to be set.
- Whan a --traceback is requested, exit immediately to not mix up problems
when importing an extension with other problems.
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 11 Apr 2006 06:34:27 +0200] rev 2055
Added doc/gendoc.py to MANIFEST.in, so docs can be regenerated on demand.
Vadim Gelfer <vadim.gelfer@gmail.com> [Sat, 08 Apr 2006 14:12:43 -0700] rev 2054
fix exception handling on windows.
move win32 code into util_win32.py.
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 08 Apr 2006 10:14:04 +0200] rev 2053
Include tests/md5sum.py in manifest.
Matt Mackall <mpm@selenic.com> [Fri, 07 Apr 2006 20:08:11 -0500] rev 2052
Added tag 0.8.1 for changeset 6a03cff2b0f5d30281e6addefe96b993582f2eac
Radoslaw Szkodzinski <astralstorm@gorzow.mm.pl> [Fri, 07 Apr 2006 22:31:54 +0200] rev 2051
Try to use /usr/bin/test or /bin/test to work around missing features.
The builtin "test" of Solaris 8 /bin/sh doesn't understand -nt.
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 05 Apr 2006 17:17:07 -0700] rev 2050
util.copyfiles: only switch to copy if hardlink raises IOError or OSError.
before this, interrupting clone would give "file a same as file b" error
because caught KeyboardInterrupt.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 05 Apr 2006 19:07:50 +0200] rev 2049
Make completion for debugindex<tab><tab> show debugindexdot, too.
The special handling for commands with names that are substrings of other
commands (e.g. with st and strip) wasn't used with debug commands before.