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