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
Dirkjan Ochtman <dirkjan@ochtman.nl> [Tue, 24 Jun 2008 09:33:13 +0200] rev 6724
use ${PYTHON} var in doc/Makefile as well
Dirkjan Ochtman <dirkjan@ochtman.nl> [Mon, 23 Jun 2008 15:02:52 +0200] rev 6723
merge: only in-branch merges can be implicit
Dirkjan Ochtman <dirkjan@ochtman.nl> [Mon, 23 Jun 2008 15:03:22 +0200] rev 6722
get repo.branchheads() to use working directory's branch by default
Dirkjan Ochtman <dirkjan@ochtman.nl> [Mon, 23 Jun 2008 13:12:32 +0200] rev 6721
kill some trailing spaces
Dirkjan Ochtman <dirkjan@ochtman.nl> [Mon, 23 Jun 2008 12:54:27 +0200] rev 6720
graph: display branch name alongside tags
Patrick Mezard <pmezard@gmail.com> [Mon, 23 Jun 2008 10:36:00 +0200] rev 6719
test-commit: test unset date is not read as epoch origin
Christian Ebert <blacktrash@gmx.net> [Sat, 21 Jun 2008 15:27:51 +0200] rev 6718
Fix commit date (issue1193)
The None check in workingctx prevents calling util.makedate
when date is not explicitly given.
Patrick Mezard <pmezard@gmail.com> [Thu, 19 Jun 2008 00:14:24 +0200] rev 6717
convert: hg sink commits without working dir
Patrick Mezard <pmezard@gmail.com> [Thu, 19 Jun 2008 00:14:24 +0200] rev 6716
convert: reintegrate file retrieval code in sinks
It simplifies the sink interface and all the sinks to handle files data as they
want.
Patrick Mezard <pmezard@gmail.com> [Thu, 19 Jun 2008 00:14:23 +0200] rev 6715
context: add memctx for memory commits
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Wed, 18 Jun 2008 23:45:49 +0200] rev 6714
merge with crew
Benoit Allard <benoit@aeteurope.nl> [Wed, 18 Jun 2008 23:16:51 +0200] rev 6713
coal: remove double template entry
Patrick Mezard <pmezard@gmail.com> [Wed, 18 Jun 2008 23:23:03 +0200] rev 6712
localrepo: interpret ctx.filectx() exception as a missing file
Patrick Mezard <pmezard@gmail.com> [Wed, 18 Jun 2008 23:00:20 +0200] rev 6711
localrepo: do not expose workingctx options
These are implementation details and probably of no use to client code.
Patrick Mezard <pmezard@gmail.com> [Wed, 18 Jun 2008 22:52:26 +0200] rev 6710
localrepo: extract _commitctx() from commit()
_commitctx() takes a single changectx like argument. It gives way to commits
from memory only.
Patrick Mezard <pmezard@gmail.com> [Wed, 18 Jun 2008 22:52:26 +0200] rev 6709
context: let workingctx.date(), .user() and description() be overriden
Patrick Mezard <pmezard@gmail.com> [Wed, 18 Jun 2008 22:52:26 +0200] rev 6708
localrepo: let commit() get extra data from workingctx
Patrick Mezard <pmezard@gmail.com> [Wed, 18 Jun 2008 22:52:25 +0200] rev 6707
localrepo: hide commit() file selection behind workingctx
Patrick Mezard <pmezard@gmail.com> [Wed, 18 Jun 2008 22:52:25 +0200] rev 6706
localrepo: replace dirstate by workingfilectx in filecommit()
Patrick Mezard <pmezard@gmail.com> [Wed, 18 Jun 2008 22:52:25 +0200] rev 6705
context: let workingctx parents be overriden
Benoit Allard <benoit@aeteurope.nl> [Wed, 18 Jun 2008 19:04:10 +0200] rev 6704
graph: limit the number of displayed changest to a reasonable value
Alexander Solovyov <piranha@piranha.org.ua> [Wed, 18 Jun 2008 16:47:47 +0300] rev 6703
LookupError should have same __str__ as RevlogError
Dirkjan Ochtman <dirkjan@ochtman.nl> [Wed, 18 Jun 2008 12:56:41 +0200] rev 6702
templates: graph lacked bottom search in default style
Dirkjan Ochtman <dirkjan@ochtman.nl> [Wed, 18 Jun 2008 12:55:05 +0200] rev 6701
templates: fix navigation links for graph entries
Alexander Solovyov <piranha@piranha.org.ua> [Wed, 18 Jun 2008 12:48:04 +0200] rev 6700
make revlog.LookupError inherit from KeyError
This will improve integration with external applications which depend on
KeyError, which is usually raised by __getitem__ calls.
Frank Kingswood <frank@kingswood-consulting.co.uk> [Wed, 18 Jun 2008 09:13:39 +0100] rev 6699
cvsps.py: remove unused Changeset member of logentry
Dirkjan Ochtman <dirkjan@ochtman.nl> [Wed, 18 Jun 2008 12:38:45 +0200] rev 6698
tests: make new convert-cvs tests executable
Dirkjan Ochtman <dirkjan@ochtman.nl> [Wed, 18 Jun 2008 12:13:59 +0200] rev 6697
graph: tweak the indentation algorithm
Dirkjan Ochtman <dirkjan@ochtman.nl> [Wed, 18 Jun 2008 11:09:18 +0200] rev 6696
cvsps: fix a final whitespace nit
Dirkjan Ochtman <dirkjan@ochtman.nl> [Wed, 18 Jun 2008 11:08:21 +0200] rev 6695
tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl> [Wed, 18 Jun 2008 10:15:59 +0200] rev 6694
merge incorporation of graph into paper style
Augie Fackler <durin42@gmail.com> [Wed, 18 Jun 2008 10:05:43 +0200] rev 6693
hgweb: Fix up non-coal styles to support graph.
Matt Mackall <mpm@selenic.com> [Wed, 18 Jun 2008 00:28:40 -0500] rev 6692
make graph view work with paper style
Dirkjan Ochtman <dirkjan@ochtman.nl> [Wed, 18 Jun 2008 07:06:41 +0200] rev 6691
add graph page to hgweb
Frank Kingswood <frank@kingswood-consulting.co.uk> [Sun, 15 Jun 2008 16:05:46 +0100] rev 6690
convert: cvs.py - Allow user to use built-in CVS changeset code.
tests: add two testcases for CVS conversion with builtin CVS
including a testcase for issue 1148.
Frank Kingswood <frank@kingswood-consulting.co.uk> [Sun, 15 Jun 2008 15:59:53 +0100] rev 6689
convert: cvsps - User interface to CVS changeset code in cvsps.py
Matt Mackall <mpm@selenic.com> [Tue, 17 Jun 2008 12:10:19 -0500] rev 6688
cvsps: fix up some whitespace
Frank Kingswood <frank@kingswood-consulting.co.uk> [Sun, 15 Jun 2008 15:59:27 +0100] rev 6687
convert: cvsps.py - code to generate changesets from a CVS repository
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 16 Jun 2008 11:51:19 +0200] rev 6686
merge with crew-stable
Patrick Mezard <pmezard@gmail.com> [Sun, 15 Jun 2008 13:05:39 +0200] rev 6685
Merge with crew-stable
Patrick Mezard <pmezard@gmail.com> [Sat, 14 Jun 2008 16:01:24 +0200] rev 6684
localrepo: remove useless sort() call
Dirkjan Ochtman <dirkjan@ochtman.nl> [Sat, 14 Jun 2008 08:46:34 +0200] rev 6683
merge transplanted cset back from crew-stable
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 16 Jun 2008 11:50:33 +0200] rev 6682
Fix python2.3 incompatibility introduced by a2b13cac0922.
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 16 Jun 2008 11:37:26 +0200] rev 6681
run-tests.py: Make tests run with python2.3 if HGTEST_* is set.
optparse of python2.3 does not transform default values to the specified
type so e.g. "HGTEST_JOBS=4" (introduced in 07c3cd695b48) causes tests
to abort, because options.jobs is set to '4' instead of the number 4.
Patrick Mezard <pmezard@gmail.com> [Sun, 15 Jun 2008 13:01:03 +0200] rev 6680
Ignore dummy copies in dirstate and localrepo.filecommit()
Patrick Mezard <pmezard@gmail.com> [Sun, 15 Jun 2008 13:01:01 +0200] rev 6679
context: fix workingctx.fileflags() execute bit
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 23 Apr 2008 11:40:33 +0200] rev 6678
sshserver: Don't try to close fp if mkstemp failed
Paul Moore <p.f.moore@gmail.com> [Fri, 06 Jun 2008 19:23:29 +0100] rev 6677
Add a normalize() method to dirstate
This method returns the normalised form of a path. This is
- the form in the dirstate, if available, or
- the form on disk, if available, or
- the form passed on the command line
normalize() is called on the type-'f' result of statwalk.
This fixes issues 910 and 1092
Paul Moore <p.f.moore@gmail.com> [Fri, 06 Jun 2008 19:23:23 +0100] rev 6676
Add a new function, fspath
The function, given a relative filename and a root, returns the filename
modified to use the case actually stored in the filesystem (or None if the
file does not exist). The returned name is relative to the root, but retains
the path separators used in the input path. (This is not strictly necessary,
but retaining the path separators minimises misleading test suite failures).
A win32-specific implementation (using win32api.FindFiles) is possible, but it
has not been implemented as testing seems to demonstrate that the
win32-specific code is not significantly faster (thanks to the caching of
results in the generic code).
Paul Moore <p.f.moore@gmail.com> [Fri, 06 Jun 2008 08:29:16 +0100] rev 6675
Add a folding() method to dirstate
The method returns True if the dirstate is on a case folding filesystem.
Adrian Buehlmann <adrian@cadifra.com> [Wed, 11 Jun 2008 11:00:01 +0200] rev 6674
update: add "(nobackup)" to help text of option --clean
Adrian Buehlmann <adrian@cadifra.com> [Wed, 11 Jun 2008 13:51:57 +0200] rev 6673
update: improved help text
Using the term "the repository's working directory" instead of just "working
directory" to make it nearly impossible to confuse it with $PWD.
Also, this new wording better conveys the fact that update applies
to the working dir as a whole (no matter what the $PWD currently is).
Christian Ebert <blacktrash@gmx.net> [Thu, 12 Jun 2008 02:27:06 +0200] rev 6672
keyword: mimic cmdutil.bail_if_changed even more
At the check before overwriting with kwexpand, kwshrink:
- abort when in middle of merge
- give terser abort message
Matt Mackall <mpm@selenic.com> [Fri, 13 Jun 2008 17:29:10 -0500] rev 6671
tag: record tag we're superseding, if any (issue 1102)
Dirkjan Ochtman <dirkjan@ochtman.nl> [Fri, 13 Jun 2008 12:34:23 +0200] rev 6670
merge from crew-stable
Ali Saidi <saidi@eecs.umich.edu> [Fri, 13 Jun 2008 12:33:40 +0200] rev 6669
fix traceback in hgweb when URL doesn't end in one of the archive specs
If the last n charecters of the URL doesn't match an entry in archive_specs
req.form never has a key 'type'. When achive() looks up 'type' in the form
dict it causes a traceback rather than printing an error message.
Jason Orendorff <jorendorff@mozilla.com> [Thu, 12 Jun 2008 07:38:15 -0500] rev 6668
mq: qdiff: support all diffopts
Christian Ebert <blacktrash@gmx.net> [Thu, 12 Jun 2008 11:01:36 +0200] rev 6667
keyword: disable expansion for annotate
Keyword expansion should not be annotated.
Annotate revision when unexpanded keyword was inserted.
Add test.
Dirkjan Ochtman <dirkjan@ochtman.nl> [Thu, 12 Jun 2008 11:33:47 +0200] rev 6666
convert comments to docstrings in a bunch of extensions
Dirkjan Ochtman <dirkjan@ochtman.nl> [Thu, 12 Jun 2008 13:12:09 +0200] rev 6665
merge from crew-stable
Brendan Cully <brendan@kublai.com> [Thu, 12 Jun 2008 00:11:09 -0700] rev 6664
Truncate input to 1K when using pygments guess_lexer.
This function appears to be exponential with input length.
Andrew Beekhof <beekhof@gmail.com> [Thu, 12 Jun 2008 08:53:23 +0200] rev 6663
paper: fix reference to coal tags template
Brendan Cully <brendan@kublai.com> [Thu, 12 Jun 2008 00:11:09 -0700] rev 6662
Truncate input to 1K when using pygments guess_lexer.
This function appears to be exponential with input length.
Matt Mackall <mpm@selenic.com> [Wed, 11 Jun 2008 18:00:58 -0500] rev 6661
hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com> [Wed, 11 Jun 2008 17:49:27 -0500] rev 6660
Merge with crew
Andrew Beekhof <beekhof@gmail.com> [Wed, 11 Jun 2008 14:49:53 +0200] rev 6659
webcommands: fix increments lost by 894875eae49b
Matt Mackall <mpm@selenic.com> [Tue, 10 Jun 2008 12:11:06 -0500] rev 6658
Merge with crew
Dirkjan Ochtman <dirkjan@ochtman.nl> [Sat, 07 Jun 2008 17:52:00 +0200] rev 6657
hgweb: show cset node and description when hovering over annotate prefix
Patrick Mezard <pmezard@gmail.com> [Sat, 07 Jun 2008 11:43:16 +0200] rev 6656
Merge with crew-stable
Johannes Stezenbach <js@sig21.net> [Tue, 03 Jun 2008 21:20:52 +0200] rev 6655
help: move "revision syntax" help topics into online help
Move the "Specifying Single Revisions" and "Specifying Multiple
Revisions" help topics from the manual page into the helptable
so they are available both online and in the manual page.
Johannes Stezenbach <js@sig21.net> [Tue, 03 Jun 2008 21:03:51 +0200] rev 6654
help: helptable is an ordered collection
The helptable is used for helptopics listed in the manual
page, so the order of topics should not be random.
Convert it from a dictionary into a tuple of tuples.
Also reorder helptable entries to keep previous manual
page order.
Johannes Stezenbach <js@sig21.net> [Tue, 03 Jun 2008 20:56:54 +0200] rev 6653
help: list special help topics with -v
Johannes Stezenbach <js@sig21.net> [Sat, 07 Jun 2008 09:49:34 +0200] rev 6652
help: enable listing of a subset of the command list
Instead of giving the "command %s is ambiguous" error message
with a bare list of possible command, display help list
for all commands starting with the given string.
Maxim Dounin <mdounin@mdounin.ru> [Wed, 07 May 2008 14:32:00 +0400] rev 6651
addremove: correctly handle intermediate symlinks
This fixes problems mentioned in issue660 comments (unrelated to original
issue) where directory was renamed, and symlink was added instead.
In such situation addremove wasn't able to correctly detect that old files
no longer here, but tried to add symlink (and failed due collision with
old files).
Patrick Mezard <pmezard@gmail.com> [Fri, 06 Jun 2008 18:31:57 +0200] rev 6650
Merge with crew-stable