Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Wed, 23 Jul 2008 16:08:20 +0200] rev 6835
make mq and tags hardlink safe
The code didn't check for modes like "r+" or "rb+".
Many thanks to agriffis for noticing it.
Matt Mackall <mpm@selenic.com> [Tue, 22 Jul 2008 13:03:31 -0500] rev 6834
dirstate.walk: speed up calling match function
Matt Mackall <mpm@selenic.com> [Tue, 22 Jul 2008 13:03:29 -0500] rev 6833
dirstate.walk: reduce sorting in step 3
Matt Mackall <mpm@selenic.com> [Tue, 22 Jul 2008 13:03:25 -0500] rev 6832
dirstate.walk: inline imatch
This lets us carefully avoid calling ignore and match where possible
in the fast path.
Matt Mackall <mpm@selenic.com> [Tue, 22 Jul 2008 13:03:24 -0500] rev 6831
dirstate.walk: more cleanups
- group internal functions
- simplify imatch
- rename _join to join
- use nf in step 3
- use .hg in results
Matt Mackall <mpm@selenic.com> [Tue, 22 Jul 2008 13:03:23 -0500] rev 6830
dirstate.walk: fold in _supported
- inline tests for regular or link files
- simplify bad type reporting
Matt Mackall <mpm@selenic.com> [Tue, 22 Jul 2008 13:03:21 -0500] rev 6829
dirstate.walk: build a dict rather than yield
Since we're already building a seen dict, we might as well put our
results in it to go slightly faster.
Matt Mackall <mpm@selenic.com> [Tue, 22 Jul 2008 13:03:20 -0500] rev 6828
dirstate.walk: minor cleanups
- add dirkind
- simplify loop structure
- avoid pconvert and join on directory entries (big speed bump)
- remove redundant seen set in step 3
Matt Mackall <mpm@selenic.com> [Tue, 22 Jul 2008 13:03:19 -0500] rev 6827
dirstate.walk: push sorting up
Matt Mackall <mpm@selenic.com> [Tue, 22 Jul 2008 13:03:18 -0500] rev 6826
dirstate.walk: pull directory scanning into top-level loop
Matt Mackall <mpm@selenic.com> [Tue, 22 Jul 2008 13:03:17 -0500] rev 6825
dirstate.walk: unify match.dir logic
Matt Mackall <mpm@selenic.com> [Tue, 22 Jul 2008 13:03:16 -0500] rev 6824
dirstate.walk: simplify .hg scan bisect logic
Matt Mackall <mpm@selenic.com> [Tue, 22 Jul 2008 13:03:15 -0500] rev 6823
dirstate.walk: track normalized directory names
Matt Mackall <mpm@selenic.com> [Tue, 22 Jul 2008 13:03:14 -0500] rev 6822
dirstate: simplify normalize logic
Matt Mackall <mpm@selenic.com> [Tue, 22 Jul 2008 13:03:13 -0500] rev 6821
dirstate.walk: change names for dc and known
known -> seen
dc -> dmap
Matt Mackall <mpm@selenic.com> [Tue, 22 Jul 2008 13:03:10 -0500] rev 6820
dirstate.walk: fold findfiles into main walk loop
Matt Mackall <mpm@selenic.com> [Tue, 22 Jul 2008 13:03:08 -0500] rev 6819
dirstate.walk: eliminate filter function
- remove _filter and delete original
- improve some filtering logic
Matt Mackall <mpm@selenic.com> [Tue, 22 Jul 2008 13:02:36 -0500] rev 6818
dirstate.walk: eliminate src from yield
- restructure 'step two' to stat unseen files
- remove extra stat logic in status
- remove redundant src
Matt Mackall <mpm@selenic.com> [Tue, 22 Jul 2008 13:00:22 -0500] rev 6817
minor status fixups
Patrick Mezard <pmezard@gmail.com> [Sun, 20 Jul 2008 21:51:13 +0200] rev 6816
Merge with crew-stable
Patrick Mezard <pmezard@gmail.com> [Sun, 20 Jul 2008 21:00:13 +0200] rev 6815
test-branches: add a test for long branch name (issue 1230)
Stefano Tortarolo <stefano.tortarolo@gmail.com> [Sun, 20 Jul 2008 12:09:37 +0200] rev 6814
branches unparseable output fix (
issue1230)
Martin OConnor <martinoc@gmail.com> [Wed, 25 Jun 2008 19:41:43 +0100] rev 6813
Bug:1201 hg convert on CVS working copy produces Traceback
Fix identified by frank@kingswood-consulting.co.uk
Changed usage fron os.environ["HOME"] to expanduser("~/.cvspass") as
this is the
only usage of this construct in mercurial sources.
Patrick Mezard <pmezard@gmail.com> [Sun, 20 Jul 2008 20:00:02 +0200] rev 6812
Merge with main
test-remove is still failing for status() does not return removed files in a
sorted list. We can live with this for now, a fix is coming soon.
Patrick Mezard <pmezard@gmail.com> [Sun, 20 Jul 2008 19:25:08 +0200] rev 6811
dirstate: remove superfluous normalize() call in walk()
Patrick Mezard <pmezard@gmail.com> [Sun, 20 Jul 2008 19:09:00 +0200] rev 6810
localrepo: fix status() typos from
854b907527e5a and
97c12b1ed1e0
Patrick Mezard <pmezard@gmail.com> [Sun, 20 Jul 2008 19:09:00 +0200] rev 6809
context: trigger missing username warning only when necessary
Christian Boos <cboos@neuf.fr> [Fri, 18 Jul 2008 12:31:40 +0200] rev 6808
localrepo: do not modify a dictionary being iterated in status()
Patrick Mezard <pmezard@gmail.com> [Sun, 20 Jul 2008 19:08:59 +0200] rev 6807
dirstate: fix _droppath() typo from
80605a8127e0
Patrick Mezard <pmezard@gmail.com> [Fri, 11 Jul 2008 14:40:44 +0200] rev 6806
Add test for case folding issues
Paul Moore <p.f.moore@gmail.com> [Tue, 01 Jul 2008 17:59:31 +0100] rev 6805
Sort removes first when applying updates (fixes issues 750 and 912)
This change ensures that removes happen first in applyupdates(). This avoids
issues where we try to make a case-only rename of a file on a case insensitive
system. Without this patch, the add of the new name happens before the remove
of the old one - which results in the file not existing, as the two names are
effectively the same.
With the patch, the old name gets removed then the new one gets added, which
is always safe.
byron@base2.cc [Thu, 03 Jul 2008 20:53:14 -0700] rev 6804
Added missing --config global option to zsh_completion.
The global options --encoding and --encodingmode where also added.
Without these options some functionality breaks. Also added basic
completion for config items for the --config option.
Andreas Hartmetz <ahartmetz@gmail.com> [Mon, 07 Jul 2008 09:33:54 +0200] rev 6803
Document password syntax in repositories URLs
Patrick Mezard <pmezard@gmail.com> [Mon, 07 Jul 2008 09:31:32 +0200] rev 6802
Merge with crew-stable
Patrick Mezard <pmezard@gmail.com> [Mon, 07 Jul 2008 09:16:09 +0200] rev 6801
mq: fix qrefresh losing copy information (issue 1134)
Patrick Mezard <pmezard@gmail.com> [Sat, 05 Jul 2008 14:35:36 +0200] rev 6800
hgk: ctx.parents() problem introduced by
2d54e7c1e69d
Patrick Mezard <pmezard@gmail.com> [Sat, 05 Jul 2008 14:35:34 +0200] rev 6799
Fix tests failures introduced by
7239e06e58e9
Frank Kingswood <frank@kingswood-consulting.co.uk> [Tue, 24 Jun 2008 10:40:41 +0100] rev 6798
convert: add documentation for CVS source
Dirkjan Ochtman <dirkjan@ochtman.nl> [Wed, 02 Jul 2008 12:27:57 +0200] rev 6797
merge another backout
Dirkjan Ochtman <dirkjan@ochtman.nl> [Wed, 02 Jul 2008 12:02:33 +0200] rev 6796
Backed out changeset
4879468fa28f (incorrect Content-Length on Windows)
Dirkjan Ochtman <dirkjan@ochtman.nl> [Wed, 02 Jul 2008 11:31:19 +0200] rev 6795
merge the backout head
Dirkjan Ochtman <dirkjan@ochtman.nl> [Wed, 02 Jul 2008 10:58:27 +0200] rev 6794
Backed out changeset
b9d6ab187523 (doesn't work on Python 2.3/2.4)
Dirkjan Ochtman <dirkjan@ochtman.nl> [Wed, 02 Jul 2008 09:31:13 +0200] rev 6793
merge with main
Dirkjan Ochtman <dirkjan@ochtman.nl> [Wed, 02 Jul 2008 09:21:57 +0200] rev 6792
merge with crew-stable
Brendan Cully <brendan@kublai.com> [Wed, 25 Jun 2008 14:13:20 -0700] rev 6791
Check that git patches only touch files under root
Martin OConnor <martinoc@gmail.com> [Tue, 01 Jul 2008 23:41:47 +0100] rev 6790
Updating Copyright dates in Windows Installer
Paul Moore <p.f.moore@gmail.com> [Tue, 01 Jul 2008 20:17:11 +0100] rev 6789
Force email package to be loaded in py2exe
With Python 2.5, the email package is not fully loaded by py2exe, due to
dynamic imports which are not found by modulefinder. This breaks the patchbomb
extension. This patch forces the whole email package to be included so that
the dynamic imports work as expected.
Dirkjan Ochtman <dirkjan@ochtman.nl> [Mon, 30 Jun 2008 10:36:45 +0200] rev 6788
hgweb: use a single-element tuple to return from protocol.unbundle()
Python 2.3/2.4 don't support yielding from inside try/finally blocks.
Dirkjan Ochtman <dirkjan@ochtman.nl> [Sun, 29 Jun 2008 23:02:02 +0200] rev 6787
add an Accept header to the http client
Dirkjan Ochtman <dirkjan@ochtman.nl> [Sun, 29 Jun 2008 22:47:57 +0200] rev 6786
tests: add a test for the hgweb graph
Dirkjan Ochtman <dirkjan@ochtman.nl> [Sun, 29 Jun 2008 22:36:18 +0200] rev 6785
hgweb: return content iterator instead of using write() callable
Dirkjan Ochtman <dirkjan@ochtman.nl> [Sun, 29 Jun 2008 15:23:09 +0200] rev 6784
hgweb: all protocol functions have become generators
Using the write() callable supplied by the start_response() call is
frowned upon by the WSGI spec, returning an iterable over the content chunks
is the recommended way. Be aware, though: returning many small chunks will
slow down responses, because the server has to flush each chunk separately.
Dirkjan Ochtman <dirkjan@ochtman.nl> [Sun, 29 Jun 2008 13:16:25 +0200] rev 6783
templater: make a template a string-only iterator
Dirkjan Ochtman <dirkjan@ochtman.nl> [Sun, 29 Jun 2008 14:20:01 +0200] rev 6782
streamclone yields chunks instead of accepting a file-like object
Dirkjan Ochtman <dirkjan@ochtman.nl> [Sun, 29 Jun 2008 11:34:36 +0200] rev 6781
hgweb: protocol functions take repo instead of web
This makes it much easier for implementers of hgweb alternatives to simply
call into protocol functions after setting up a repo and a request.
Dirkjan Ochtman <dirkjan@ochtman.nl> [Sun, 29 Jun 2008 11:35:08 +0200] rev 6780
hgweb: move capabilities calculation back into hgweb.protocol
Dirkjan Ochtman <dirkjan@ochtman.nl> [Sun, 29 Jun 2008 11:35:06 +0200] rev 6779
hgweb: centralize permission checks for protocol commands
Consistently enforces authorization checks set up in hgrc up front, so that
the actual commands don't have to worry about them and implementers of
hgweb alternatives can easily implement their own permission checks.
Dirkjan Ochtman <dirkjan@ochtman.nl> [Sun, 29 Jun 2008 11:02:19 +0200] rev 6778
tests: add some tests for web.allowpull configurations
Dirkjan Ochtman <dirkjan@ochtman.nl> [Sat, 28 Jun 2008 15:28:43 +0200] rev 6777
hgweb: protocol requests are processed immediately
This makes separation of interface/webcommands and protocol easier and will
make http repos slightly faster because there's less overhead.
Dirkjan Ochtman <dirkjan@ochtman.nl> [Sat, 28 Jun 2008 09:28:01 +0200] rev 6776
merge with mpm