Dirkjan Ochtman <dirkjan@ochtman.nl> [Mon, 21 Jul 2008 13:17:51 +0200] rev 6844
merge: use correct branch name for counting heads
Dirkjan Ochtman <dirkjan@ochtman.nl> [Fri, 25 Jul 2008 13:27:06 +0200] rev 6843
merge with crew-stable
Dirkjan Ochtman <dirkjan@ochtman.nl> [Fri, 25 Jul 2008 13:26:16 +0200] rev 6842
add note about updating one file to update help
Dirkjan Ochtman <dirkjan@ochtman.nl> [Fri, 25 Jul 2008 13:23:59 +0200] rev 6841
churn: fix documentation for churn options
Adrian Buehlmann <adrian@cadifra.com> [Thu, 24 Jul 2008 16:32:52 +0200] rev 6840
introduce store classes
move store walking from streamclone.py into store.py
Adrian Buehlmann <adrian@cadifra.com> [Thu, 24 Jul 2008 16:32:51 +0200] rev 6839
move filename encoding functions from util.py to new store.py
Patrick Mezard <pmezard@gmail.com> [Thu, 24 Jul 2008 22:46:45 +0200] rev 6838
Merge with crew-stable
Dhruva Krishnamurthy <dhruvakm@gmail.com> [Thu, 24 Jul 2008 22:44:15 +0200] rev 6837
convert: use git executable only, with subcommands
The latest GIT has some changes in the way it is installed. Only the 'git'
executable need to be in the path. All other commands are treated as sub
commands of 'git'.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Wed, 23 Jul 2008 16:14:45 +0200] rev 6836
merge with -stable
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
Brendan Cully <brendan@kublai.com> [Thu, 26 Jun 2008 13:37:47 -0700] rev 6775
coal: include current node in log, graph menu links
Dirkjan Ochtman <dirkjan@ochtman.nl> [Thu, 26 Jun 2008 13:45:39 +0200] rev 6774
hgweb: move shortcut expansion to request instantiation
Matt Mackall <mpm@selenic.com> [Fri, 11 Jul 2008 18:46:02 -0500] rev 6773
fix iso date help
Matt Mackall <mpm@selenic.com> [Fri, 11 Jul 2008 18:46:02 -0500] rev 6772
context: simplify parents code
Matt Mackall <mpm@selenic.com> [Fri, 11 Jul 2008 18:46:02 -0500] rev 6771
workingctx: add __contains__ method
Matt Mackall <mpm@selenic.com> [Fri, 11 Jul 2008 18:46:02 -0500] rev 6770
status: various cleanups
- rename lookup to cmp for formatting reasons
- reduce nesting level of fixup code
- sort fixup results
- group comparison cases in a separate clause
- make list initialization simpler
- delay flag lookup for working directory
- sort removed list in comparison
- avoid sorting already sorted lists
Matt Mackall <mpm@selenic.com> [Fri, 11 Jul 2008 18:46:02 -0500] rev 6769
status: use contexts
Matt Mackall <mpm@selenic.com> [Fri, 11 Jul 2008 18:46:02 -0500] rev 6768
hgk: fix parent breakage
Matt Mackall <mpm@selenic.com> [Fri, 11 Jul 2008 18:46:02 -0500] rev 6767
dirstate: simplify/optimize path checking
- add fast _finddirs function
- remove recursion from incpath/decpath
- split changepath into addpath/droppath
- change relax arg to check
- move incpathcheck logic into addpath
- move incpath into addpath
- move decpath into droppath
- inline code in self._dirs creation
Matt Mackall <mpm@selenic.com> [Fri, 27 Jun 2008 21:45:16 -0500] rev 6766
acl: refactoring
- undo class structure
- make buildmatch return None for no function
- use contexts properly
- simplify check loop
Matt Mackall <mpm@selenic.com> [Fri, 27 Jun 2008 19:27:00 -0500] rev 6765
manifest: make checkforbidden take a list
Matt Mackall <mpm@selenic.com> [Fri, 27 Jun 2008 19:25:48 -0500] rev 6764
context: add walk method
Matt Mackall <mpm@selenic.com> [Fri, 27 Jun 2008 18:44:43 -0500] rev 6763
context: add __int__ and hex methods
Matt Mackall <mpm@selenic.com> [Fri, 27 Jun 2008 18:28:45 -0500] rev 6762
util: add sort helper
Matt Mackall <mpm@selenic.com> [Fri, 27 Jun 2008 14:53:30 -0500] rev 6761
remove: work directly off status
This allows us to use a single directory walk and to trivially ignore
unknown files. The resulting code is also easier to follow.
Matt Mackall <mpm@selenic.com> [Fri, 27 Jun 2008 13:43:29 -0500] rev 6760
status: clean up all users for unknown files
Matt Mackall <mpm@selenic.com> [Thu, 26 Jun 2008 18:49:45 -0500] rev 6759
churn: major refactor
- use contexts
- use ui.pushbuffer and patch.diff to greatly simplify patch generation
- simplify diff counting logic
- fold all the counting functions together
- simplify progress math
- simplify padding function
- kill graph helper function
- simplify alias reading
- use Schwartzian transform on stats
- change some notes to debugs
Brendan Cully <brendan@kublai.com> [Wed, 25 Jun 2008 14:13:20 -0700] rev 6758
Check that git patches only touch files under root
Matt Mackall <mpm@selenic.com> [Thu, 26 Jun 2008 18:44:54 -0500] rev 6757
purge: cleanup
- remove casefolding check, no longer needed
- fold error function into remove
- simplify eol logic
- remove force logic and parameters
Matt Mackall <mpm@selenic.com> [Thu, 26 Jun 2008 15:55:23 -0500] rev 6756
dirstate: improve case-folding logic
- return normalized form in directory walk
- track normalized form in known
Matt Mackall <mpm@selenic.com> [Thu, 26 Jun 2008 14:35:50 -0500] rev 6755
dirstate: fold statwalk and walk
Matt Mackall <mpm@selenic.com> [Thu, 26 Jun 2008 14:35:50 -0500] rev 6754
purge: use status
Matt Mackall <mpm@selenic.com> [Thu, 26 Jun 2008 14:35:50 -0500] rev 6753
repo.status: eliminate list_
Matt Mackall <mpm@selenic.com> [Thu, 26 Jun 2008 14:35:50 -0500] rev 6752
verify: lots of refactoring
- simplify finding first bad rev
- no need to count changesets
- add exc function to simplify exception handling
- combine checksize and checkversion to checklog
- unify missing revlog detection in checklog
- add checkentry to consolidate
- linkrev lookup
- detailed check of linkrev
- detailed check of parents
- duplicate checking
- use checkentry for changelog, manifest, and files
- simplify havecl and havemf
- track all changesets refering to a manifest
- move unnamed file check somewhere more useful
- reorder crosschecks
- fix filenodes crosscheck and add exception handling
- check unpacked size field
Matt Mackall <mpm@selenic.com> [Thu, 26 Jun 2008 14:35:50 -0500] rev 6751
verify: add some local variables
Matt Mackall <mpm@selenic.com> [Thu, 26 Jun 2008 14:35:50 -0500] rev 6750
add __len__ and __iter__ methods to repo and revlog
Matt Mackall <mpm@selenic.com> [Thu, 26 Jun 2008 14:35:50 -0500] rev 6749
manifest: remove execf/linkf methods
Matt Mackall <mpm@selenic.com> [Thu, 26 Jun 2008 14:35:50 -0500] rev 6748
make debugrename work on p1, not tip
Matt Mackall <mpm@selenic.com> [Thu, 26 Jun 2008 14:35:46 -0500] rev 6747
use repo[changeid] to get a changectx
Matt Mackall <mpm@selenic.com> [Thu, 26 Jun 2008 13:58:24 -0500] rev 6746
rename checkfolding to checkcase
Matt Mackall <mpm@selenic.com> [Thu, 26 Jun 2008 13:58:22 -0500] rev 6745
dirstate: remove unused folding function
Matt Mackall <mpm@selenic.com> [Thu, 26 Jun 2008 13:52:16 -0500] rev 6744
context: remove islink and isexec methods
Matt Mackall <mpm@selenic.com> [Thu, 26 Jun 2008 13:46:34 -0500] rev 6743
simplify flag handling
add _checklink var to dirstate
introduce dirstate.flagfunc
switch users of util.execfunc/linkfunc to flagfunc
change manifestdict.set to take a flags string
change ctx.fileflags to ctx.flags
change gitmode func to a dict
remove util.execfunc/linkfunc
Matt Mackall <mpm@selenic.com> [Thu, 26 Jun 2008 13:46:33 -0500] rev 6742
context: clean up parents()
Matt Mackall <mpm@selenic.com> [Thu, 26 Jun 2008 13:46:31 -0500] rev 6741
context: simplify changeid logic
Matt Mackall <mpm@selenic.com> [Thu, 26 Jun 2008 13:46:29 -0500] rev 6740
use repo.changectx(None) to get a workingctx
Matt Mackall <mpm@selenic.com> [Wed, 25 Jun 2008 17:35:20 -0500] rev 6739
context: avoid using None for working parent
Matt Mackall <mpm@selenic.com> [Wed, 25 Jun 2008 17:34:28 -0500] rev 6738
use repo.changectx rather than context.changectx
Matt Mackall <mpm@selenic.com> [Wed, 25 Jun 2008 17:33:51 -0500] rev 6737
context: consistently return p1 context for None
Matt Mackall <mpm@selenic.com> [Wed, 25 Jun 2008 17:33:34 -0500] rev 6736
lookup: optimize '.'
Remove error messages as behavior is documented in hg help revs
Brendan Cully <brendan@kublai.com> [Wed, 25 Jun 2008 12:53:57 -0700] rev 6735
Remove RSS/atom links from coal/paper index
Brendan Cully <brendan@kublai.com> [Wed, 25 Jun 2008 12:52:40 -0700] rev 6734
Improve archive links in coal/paper index
Benoit Allard <benoit@aeteurope.nl> [Wed, 25 Jun 2008 20:50:40 +0200] rev 6733
graph: fix JavaScript issues to make it work on IE
Dirkjan Ochtman <dirkjan@ochtman.nl> [Wed, 25 Jun 2008 10:54:48 +0200] rev 6732
fix default branchheads() argument (
e85951aeec6e was very broken)
Dirkjan Ochtman <dirkjan@ochtman.nl> [Wed, 25 Jun 2008 10:37:07 +0200] rev 6731
fix dumb test failure introduced in
855851eae70f
Brendan Cully <brendan@kublai.com> [Tue, 24 Jun 2008 20:39:37 -0700] rev 6730
Improve hgwebdir index in coal and paper styles
Dirkjan Ochtman <dirkjan@ochtman.nl> [Tue, 24 Jun 2008 10:18:03 +0200] rev 6729
graph: improve script hiding tricks
Augie Fackler <durin42@gmail.com> [Tue, 24 Jun 2008 10:08:32 +0200] rev 6728
graph: optimize rendering by appending all nodes at once
Augie Fackler <durin42@gmail.com> [Tue, 24 Jun 2008 09:53:48 +0200] rev 6727
Fix gitweb to not say shortlog instead of graph.
Dirkjan Ochtman <dirkjan@ochtman.nl> [Tue, 24 Jun 2008 09:36:24 +0200] rev 6726
tighter default argument selection in localrepo.branchheads()
Dirkjan Ochtman <dirkjan@ochtman.nl> [Tue, 24 Jun 2008 09:34:38 +0200] rev 6725
merge from crew-stable