Giorgos Keramidas <keramida@ceid.upatras.gr> [Fri, 23 Feb 2007 17:54:34 +0200] rev 4137
Create the parent directory when checking out symlinks.
Giorgos Keramidas <keramida@ceid.upatras.gr> [Fri, 05 Jan 2007 21:28:49 +0200] rev 4136
Fix addremove for symlinks to non-existent files
Erling Ellingsen <erlingalf@gmail.com> [Sun, 18 Feb 2007 20:39:25 +0100] rev 4135
Avoid some false positives for addremove -s
The original code uses the similary score
1 - len(diff(after, before)) / len(after)
The diff can at most be the size of the 'before' file, so any small
'before' file would be considered very similar. Removing an empty file
would cause all files added in the same revision to be considered
copies of the removed file.
This changes the metric to
bytes_overlap(before, after) / len(before + after)
i.e. the actual percentage of bytes shared between the two files.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sun, 04 Mar 2007 09:03:21 -0300] rev 4134
Merge with crew-stable
Christian Ebert <blacktrash@gmx.net> [Sat, 03 Mar 2007 17:54:13 +0100] rev 4133
mq: abort cleanly when invalid patch name is given to qguard
Andrei Vermel <avermel@mail.ru> [Mon, 19 Feb 2007 12:38:58 +0300] rev 4132
Close keepalive connections to fix server traceback
Erling Ellingsen <erlingalf@gmail.com> [Tue, 20 Feb 2007 22:20:16 +0100] rev 4131
don't return uninitialized memory from bdiff.blocks()
bdiff.blocks() returns a dummy match at the end of both files; the
length of that chunk is never set, so it will sometimes contain random
heap garbage. There are apparently workarounds for this elsewhere:
# bdiff sometimes gives huge matches past eof, this check eats them,
Patrick Mezard <pmezard@gmail.com> [Mon, 19 Feb 2007 10:08:59 +0100] rev 4130
web/server: disable address reuse option for BaseHTTPServer on windows
On windows, a socket with the SO_REUSEADDR option set is able to bind to
any port, even if there's already an active socket listening on it.
test-http: check server address cannot be reused.
Patrick Mezard <pmezard@gmail.com> [Mon, 19 Feb 2007 10:32:46 +0100] rev 4129
stdout raises EINVAL when flush() is called on a closed pipe under win32.
Maybe the exception should be caught and translated at raise location instead (sshserver.py).
Patrick Mezard <pmezard@gmail.com> [Mon, 19 Feb 2007 10:29:05 +0100] rev 4128
localrepo: stream_in may raise ZeroDivisionError with nul float elapsed argument.
Patrick Mezard <pmezard@gmail.com> [Mon, 19 Feb 2007 09:59:37 +0100] rev 4127
streamclone: stream_out tried to decodefilename non-normalized paths
Brendan Cully <brendan@kublai.com> [Sat, 03 Mar 2007 18:59:54 -0800] rev 4126
Add _xmlplus to the demandimport blacklist. (HGCIA was failing to load.)
Brendan Cully <brendan@kublai.com> [Fri, 02 Mar 2007 14:03:30 -0800] rev 4125
Suppress <stdout> before hg export -v (regression from previous patch).
Brendan Cully <brendan@kublai.com> [Thu, 01 Mar 2007 20:53:38 -0800] rev 4124
Let patch.export handle any fp-like object
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 01 Mar 2007 22:15:56 +0100] rev 4123
merge with crew-stable
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 01 Mar 2007 22:15:17 +0100] rev 4122
Unified #! paths for python scripts and removed them for test modules.
Emanuele Aina <em@nerd.ocracy.org> [Tue, 27 Feb 2007 09:05:36 +0100] rev 4121
Use the mercurial i18n infrastructure in the purge extension
Emanuele Aina <em@nerd.ocracy.org> [Tue, 27 Feb 2007 09:05:36 +0100] rev 4120
Print relative names in the purge extension
Matt Mackall <mpm@selenic.com> [Tue, 27 Feb 2007 16:48:17 -0600] rev 4119
Merge with crew
Brendan Cully <brendan@kublai.com> [Tue, 27 Feb 2007 12:58:40 -0800] rev 4118
Break core of repo.tag into dirstate/hook-free repo._tag for convert-repo
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 26 Feb 2007 21:57:33 +0100] rev 4117
Use only integer part of mtime in workingfilectx.date(), fixes test-context.py
Similar to what is done in dirstate.status() (changeset
882e703eaa94)
and has to be removed when Mercurial switches to subsecond granularity.
Matt Mackall <mpm@selenic.com> [Tue, 27 Feb 2007 16:47:16 -0600] rev 4116
Merge with stable
Matt Mackall <mpm@selenic.com> [Tue, 27 Feb 2007 16:20:06 -0600] rev 4115
merge: fix renaming of subdirectories under renamed directories
Matt Mackall <mpm@selenic.com> [Mon, 26 Feb 2007 12:12:29 -0600] rev 4114
Merge with crew
Edouard Gomez <ed.gomez@free.fr> [Wed, 21 Feb 2007 00:38:06 +0100] rev 4113
Don't keep trailing white space in cvs tags
Edouard Gomez <ed.gomez@free.fr> [Wed, 21 Feb 2007 00:38:06 +0100] rev 4112
Change a bit cvsps arguments
- Force updating the cache
- Use internal cvs implementation, reducing overhead
- Use quiet mode
Matt Mackall <mpm@selenic.com> [Fri, 23 Feb 2007 14:16:50 -0600] rev 4111
Merge with crew
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 23 Feb 2007 17:31:00 +0100] rev 4110
Fixed workingfilectx.date() (found by Thomas Waldmann) with test.
Matt Mackall <mpm@selenic.com> [Thu, 22 Feb 2007 19:00:05 -0600] rev 4109
Merge with crew
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 20 Feb 2007 20:55:23 +0100] rev 4108
merge with crew-stable
Christian Ebert <blacktrash@gmx.net> [Sat, 17 Feb 2007 09:54:44 +0100] rev 4107
test-notify: adapt to sed shipped with MacOS
MacOS X' sed does not have the \? repetition operator.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sat, 17 Feb 2007 09:55:00 -0200] rev 4106
git binary patches: don't print the header for identical files
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sat, 17 Feb 2007 09:54:59 -0200] rev 4105
git binary patches: use hashes to detect identical files
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sat, 17 Feb 2007 09:54:58 -0200] rev 4104
add test for diffing identical binary files
tailgunner@smtp.ru [Sat, 17 Feb 2007 09:54:56 -0200] rev 4103
Don't lie that "binary file has changed"
Without -a option to "hg diff", mdiff.unidiff reported that "Binary
file foo has changed" without even trying to compare things. Now it
computes MD5 of old and new files, compares them and makes the conclusion.
Matt Mackall <mpm@selenic.com> [Wed, 21 Feb 2007 11:02:37 -0600] rev 4102
convert-repo: use .git/objects/ rather than .git/HEAD to detect git repos
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sat, 17 Feb 2007 04:50:06 -0200] rev 4101
add some tests for qpush/qpop error codes
Ben Thomas <bthomas@virtualiron.com> [Tue, 13 Feb 2007 08:54:48 -0500] rev 4100
Modify qpush/qpop idempotent operations to return success
Modify qpush/qpop such that idempotent instances of the operations
return success. That is, repeated qpush -a, qpop -a, qpush patch-name
or qpop patch-name will return success. The end goal of each of these
operations is to reach a particular state. Whether or not the patches
were already applied does not affect that state or operation status.
Likewise, be careful to retain the error status on a qpush/qpop
without arguments when the end/beginning of the series has been
reached.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sat, 17 Feb 2007 04:50:03 -0200] rev 4099
mq: propagate the return error of pop
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Fri, 16 Feb 2007 05:53:03 -0200] rev 4098
util_win32.py: fix user_rcpath
Fixes
issue504.
Shane Holloway <shane.holloway@ieee.org> [Thu, 15 Feb 2007 09:51:57 -0700] rev 4097
Combined the two os_rcpath methods into a single one near rcpath in mercurial/util.py
The os_rcpath method delegates to system_rcpath and user_rcpath from the
different platform implementations.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Fri, 16 Feb 2007 05:27:37 -0200] rev 4096
merge with crew-stable
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Fri, 16 Feb 2007 05:10:43 -0200] rev 4095
hgweb: catch util.Abort raised by addchangegroup
Right now, if a pretxnchangegroup hook fails, we send some HTML
error message to the client and the transaction is not rolled back
(
issue499).
Catching util.Abort allows us to send a decent message to the client
and for some reason makes the rollback complete.
This patch is not perfect since it doesn't fix the reason why the
transaction wasn't rolled back (maybe some circular references?).
Also, the transaction is aborted only after we've sent the response
back to the client and the "transaction aborted" message ends up in
the logs of the web server.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Fri, 16 Feb 2007 04:54:49 -0200] rev 4094
notify: don't try to fix addresses if notify.domain is not set
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Fri, 16 Feb 2007 04:54:47 -0200] rev 4093
mail.py: don't try to use TLS if python doesn't have SSL support
This should hide the traceback from
issue501.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Fri, 16 Feb 2007 04:54:46 -0200] rev 4092
git patches: handle renames of binary files
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Thu, 15 Feb 2007 08:49:20 -0200] rev 4091
hgweb/server.py: use hg.repository to create a repo object
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Thu, 15 Feb 2007 08:44:08 -0200] rev 4090
qclone: don't call reposetup manually
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Thu, 15 Feb 2007 08:14:03 -0200] rev 4089
extdiff: open files in binary mode
Problem noticed by Darrell Gallion.
Andrei Vermel <avermel@mail.ru> [Thu, 15 Feb 2007 12:51:43 +0300] rev 4088
Make extdiff work at root directory
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Thu, 15 Feb 2007 05:38:00 -0200] rev 4087
Fix util.shellquote on windows.
Jun Inoue <jun.lambda@gmail.com> [Thu, 15 Feb 2007 05:18:23 -0200] rev 4086
Fix accessing the repo through a symlink.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Thu, 15 Feb 2007 10:15:08 -0200] rev 4085
Fix hg showconfig traceback with values that aren't strings
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Thu, 15 Feb 2007 08:51:32 -0200] rev 4084
hgweb: allow static files to be served directly by the HTTP server
Shane Holloway <shane.holloway@ieee.org> [Wed, 14 Feb 2007 15:20:06 -0700] rev 4083
Unified *_rcpath so the interface is similar across operating systems
Changed os_rcpath to combine system_rcpath and user_rcpath. Changed
system_rcpath and user_rcpath to both return a list of paths to add to the
combined rcpath for both Windows NT and other platforms.
Daniel Holth <dholth@fastmail.fm> [Tue, 30 Jan 2007 23:09:06 -0500] rev 4082
convert-repo converts symlinks from git
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Tue, 13 Feb 2007 10:25:45 -0200] rev 4081
merge with crew-stable
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Tue, 13 Feb 2007 10:02:07 -0200] rev 4080
hgwebdir: try to get web.style and web.motd from the ui.config system
This finishes fixing
issue253. As a bonus, web.style and web.motd
settings from ~/.hgrc will be used for the hgwebdir index page.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Tue, 13 Feb 2007 10:01:44 -0200] rev 4079
Pass a ui from create_server to hgwebdir and a repo from hgwebdir to hgweb
This allows repo pages to respect hg serve --webdir-conf <file> --style=gitweb
(part of
issue253).
Since we're creating a ui object anyway, use it as the parentui of the ui
objects created for every repo entry. This has the unintended side-effect
that --name=foo on the command line will set the name of all repos.
If one of the repos being served has a .hg/hgrc owned by a user that is not
trusted, hg will now print the "Not trusting file..." warning when reading
it. This is consistent with the behaviour from a hg serve from inside the
repo.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Tue, 13 Feb 2007 10:00:17 -0200] rev 4078
hg serve: call setconfig on the parentui
It makes sense to do this on the "global" ui object, since command line
options should affect the whole process.
This should fix hg serve --style=gitweb inside a repo (part of
issue253).