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