Tue, 09 Aug 2005 17:24:38 -0800 Merge with mpm.
Bryan O'Sullivan <bos@serpentine.com> [Tue, 09 Aug 2005 17:24:38 -0800] rev 871
Merge with mpm.
Sun, 07 Aug 2005 12:43:11 -0800 Teach walk code about absolute paths.
Bryan O'Sullivan <bos@serpentine.com> [Sun, 07 Aug 2005 12:43:11 -0800] rev 870
Teach walk code about absolute paths. The first consequence of this is that absolute and relative paths now all work in the same way. The second is that paths that lie outside the repository now cause an error to be reported, instead of something arbitrary and expensive being done. Internally, all of the serious work is in the util package. The new canonpath function takes an arbitrary path and either returns a canonical path or raises an error. Because it needs to know where the repository root is, it must be fed a repository or dirstate object, which has given commands.matchpats and friends a new parameter to pass along. The util.matcher function uses this to canonicalise globs and relative path names. Meanwhile, I've moved the Abort exception from commands to util, and killed off the redundant util.CommandError exception.
Sun, 07 Aug 2005 11:09:21 -0800 Kill dead function.
Bryan O'Sullivan <bos@serpentine.com> [Sun, 07 Aug 2005 11:09:21 -0800] rev 869
Kill dead function.
Sun, 07 Aug 2005 11:04:58 -0800 Fix debugwalk when there's nothing to walk.
Bryan O'Sullivan <bos@serpentine.com> [Sun, 07 Aug 2005 11:04:58 -0800] rev 868
Fix debugwalk when there's nothing to walk.
Sat, 13 Aug 2005 12:41:00 -0800 Allow Mercurial to build on HP-UX 11
tksoh@users.sourceforge.net [Sat, 13 Aug 2005 12:41:00 -0800] rev 867
Allow Mercurial to build on HP-UX 11 Temporary fix to allow Mercurial to build on HP-UX 11, as the C compiler on HP-UX 11 doesn't support 'inline' qualifier. The '__inline' qualifier seemed to be supported, but not without first resolving other associated issues.
Fri, 12 Aug 2005 23:54:09 -0800 Merge with TAH
mpm@selenic.com [Fri, 12 Aug 2005 23:54:09 -0800] rev 866
Merge with TAH
Wed, 10 Aug 2005 08:41:23 +0100 Cleanup after previous changes:
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 10 Aug 2005 08:41:23 +0100] rev 865
Cleanup after previous changes: - there are only two states for the exec bit, so no need to override it. - file_ variable is only once now, so it self.file(f) can be used directly.
Wed, 10 Aug 2005 08:23:42 +0100 Extended test case to test dirstate length bug fixed in a7e95e3606c7.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 10 Aug 2005 08:23:42 +0100] rev 864
Extended test case to test dirstate length bug fixed in a7e95e3606c7.
Wed, 10 Aug 2005 07:51:37 +0100 Use length of file instead of length of change for the dirstate entry.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 10 Aug 2005 07:51:37 +0100] rev 863
Use length of file instead of length of change for the dirstate entry.
Wed, 10 Aug 2005 06:47:46 +0100 Fix 3-way-merge of original parent, workdir and new parent.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 10 Aug 2005 06:47:46 +0100] rev 862
Fix 3-way-merge of original parent, workdir and new parent. The dirstate has to match what is in the repository (what would be checked out with 'hg update -C'), because the resulting file may be identical to the new parent, or it may be completely different. Previously the dirstate wasn't updated, so if you changed the file to look like the original parent, it might be considered unmodified relative to the new parent.
Tue, 09 Aug 2005 11:32:30 +0100 dirstate.changes() now distinguishes 'hg remove'd or just deleted files.
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 09 Aug 2005 11:32:30 +0100] rev 861
dirstate.changes() now distinguishes 'hg remove'd or just deleted files. Interface is not yet changed. Non-regular files are considered to be removed or deleted. Removed the unneeded match(fn) call for adding to the unknown list.
Tue, 09 Aug 2005 11:15:57 +0100 Use correct term "closed interval" for ranges.
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 09 Aug 2005 11:15:57 +0100] rev 860
Use correct term "closed interval" for ranges.
Tue, 09 Aug 2005 09:36:34 -0800 Trap OSError when deleting env vars
Edouard Gomez <ed.gomez@free.fr> [Tue, 09 Aug 2005 09:36:34 -0800] rev 859
Trap OSError when deleting env vars On the other OS, it seems that case insensitivity for environment vars can bite users when using some unknown combination of python 2.4.1 and win2kSP4+minsys (and probably other vversions of these softwares). The best way to avoid problems in those weird cases is to ignore OSError exception during env var deletion.
Mon, 08 Aug 2005 19:49:48 -0800 [PATCH] Move default page name into map file
Jeff Sipek <jeffpc@optonline.net> [Mon, 08 Aug 2005 19:49:48 -0800] rev 858
[PATCH] Move default page name into map file Move default page name from code into the map file. This way, different hgweb styles/themes are free to select their default (no cmd in args) page.
Mon, 08 Aug 2005 19:49:34 -0800 [PATCH] Propagate the template map though recursively
Jeff Sipek <jeffpc@optonline.net> [Mon, 08 Aug 2005 19:49:34 -0800] rev 857
[PATCH] Propagate the template map though recursively This patch allows propagates the template map though recursively though all the templates. This allows for some hgweb template cleanup patches as well as it makes writing new skins/themes for hgweb much much easier. (I'm planing to write several basic ones.)
Sun, 07 Aug 2005 17:41:13 +0100 Fixed encoding of directories ending in .d or .i:
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 07 Aug 2005 17:41:13 +0100] rev 856
Fixed encoding of directories ending in .d or .i: One .d and .i was mixed up, and string replace method doesn't work in-place.
Sat, 06 Aug 2005 21:59:22 +0100 Added Tristan Wibberley to contributors.
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 06 Aug 2005 21:59:22 +0100] rev 855
Added Tristan Wibberley to contributors.
Sat, 06 Aug 2005 21:58:28 +0100 Fixed revlog.children.
Tristan Wibberley <tristan@wibberley.org> [Sat, 06 Aug 2005 21:58:28 +0100] rev 854
Fixed revlog.children. It was comparing a node to a rev, then appending a rev onto the list of children being constructed instead of a node.
Sat, 06 Aug 2005 21:41:53 +0100 Update TODO
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 06 Aug 2005 21:41:53 +0100] rev 853
Update TODO
Sat, 06 Aug 2005 21:23:38 +0100 Allow HG patch to appear late in the input stream
Samuel Tardieu <sam@rfc1149.net> [Sat, 06 Aug 2005 21:23:38 +0100] rev 852
Allow HG patch to appear late in the input stream
Sat, 06 Aug 2005 21:19:32 +0100 Added Samuel Tardieu to contributors list.
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 06 Aug 2005 21:19:32 +0100] rev 851
Added Samuel Tardieu to contributors list.
Sat, 06 Aug 2005 21:18:21 +0100 Add temporary documentation files and profiling output to .hgignore
Samuel Tardieu <sam@rfc1149.net> [Sat, 06 Aug 2005 21:18:21 +0100] rev 850
Add temporary documentation files and profiling output to .hgignore
Sat, 06 Aug 2005 15:43:12 +0100 Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 06 Aug 2005 15:43:12 +0100] rev 849
Further help improvements: Show command aliases in 'hg help something', unless in quiet mode. Show short command description with 'hg help -q something'. Show global options in verbose mode of command help. State that Mercurial is a Distributed SCM.
Sat, 06 Aug 2005 14:04:59 +0100 Always show short help when an unknown command is given.
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 06 Aug 2005 14:04:59 +0100] rev 848
Always show short help when an unknown command is given.
Sat, 06 Aug 2005 13:33:14 +0100 Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it [Sat, 06 Aug 2005 13:33:14 +0100] rev 847
Update the TODO file to the help changes, and the output of test-help.
Sat, 06 Aug 2005 13:27:31 +0100 When hg is invoked without parameters, the short list help is displayed.
kreijack@inwind.REMOVEME.it [Sat, 06 Aug 2005 13:27:31 +0100] rev 846
When hg is invoked without parameters, the short list help is displayed. When hg is executed without parameters ( or hg is executed with the 'help shortlist' command ) the short help list is displayed. If the 'help' command is passed on the commandline the full help list is displayed. In both the cases if the switch '-v' is passed, the help contains also the aliases of the short/full commands list and the global switches.
Sat, 06 Aug 2005 13:27:31 +0100 More verbose information on the global options
kreijack@inwind.REMOVEME.it [Sat, 06 Aug 2005 13:27:31 +0100] rev 845
More verbose information on the global options
Sat, 06 Aug 2005 13:27:31 +0100 'hg help -v' mentions the alias of the commands
kreijack@inwind.REMOVEME.it [Sat, 06 Aug 2005 13:27:31 +0100] rev 844
'hg help -v' mentions the alias of the commands
Sat, 06 Aug 2005 13:27:31 +0100 'hg help -v' shows global options
kreijack@inwind.REMOVEME.it [Sat, 06 Aug 2005 13:27:31 +0100] rev 843
'hg help -v' shows global options
Sat, 06 Aug 2005 12:05:09 +0100 Rewritten change type selection for hg status.
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 06 Aug 2005 12:05:09 +0100] rev 842
Rewritten change type selection for hg status.
Sat, 06 Aug 2005 07:16:37 +0100 Realigned command table again.
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 06 Aug 2005 07:16:37 +0100] rev 841
Realigned command table again.
Sat, 06 Aug 2005 07:09:10 +0100 hg status: added options to select files by status.
tksoh@users.sourceforge.net [Sat, 06 Aug 2005 07:09:10 +0100] rev 840
hg status: added options to select files by status. Added options -m, -a, -r and u to select files corresponding to status M, A, R and ? respectively. If none of these options are specified, files of all status will be shown.
Thu, 04 Aug 2005 13:31:25 -0800 Merge with BOS
mpm@selenic.com [Thu, 04 Aug 2005 13:31:25 -0800] rev 839
Merge with BOS
Thu, 04 Aug 2005 05:14:59 -0800 Merge with Matt.
Bryan O'Sullivan <bos@serpentine.com> [Thu, 04 Aug 2005 05:14:59 -0800] rev 838
Merge with Matt.
Wed, 03 Aug 2005 09:10:48 -0800 Fix performance of hg diff.
Bryan O'Sullivan <bos@serpentine.com> [Wed, 03 Aug 2005 09:10:48 -0800] rev 837
Fix performance of hg diff. commands.walk has been refactored. commands.walk's behaviour remains as it was, but there is a new function, commands.makewalk. This returns results that can be passed along to other internal code, in our case dodiff.
Thu, 04 Aug 2005 13:27:41 -0800 Merge with TAH
mpm@selenic.com [Thu, 04 Aug 2005 13:27:41 -0800] rev 836
Merge with TAH
Thu, 04 Aug 2005 18:23:07 +0100 Cleaned up trap handling in run-tests, too.
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 04 Aug 2005 18:23:07 +0100] rev 835
Cleaned up trap handling in run-tests, too.
Thu, 04 Aug 2005 18:20:40 +0100 Use sh instead of bash in tests.
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 04 Aug 2005 18:20:40 +0100] rev 834
Use sh instead of bash in tests.
Thu, 04 Aug 2005 18:13:17 +0100 Removed special FIXME handling in run-tests, added bug info to .out files.
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 04 Aug 2005 18:13:17 +0100] rev 833
Removed special FIXME handling in run-tests, added bug info to .out files.
Thu, 04 Aug 2005 18:06:49 +0100 Handle broken pipe on pressing Ctrl-C with e.g. 'hg log|grep something'.
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 04 Aug 2005 18:06:49 +0100] rev 832
Handle broken pipe on pressing Ctrl-C with e.g. 'hg log|grep something'.
Thu, 04 Aug 2005 17:43:05 +0100 Cleaned up trap handling:
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 04 Aug 2005 17:43:05 +0100] rev 831
Cleaned up trap handling: - Use numbers instead of signal names - No need to explicitly call "cleanup_exit RC" to exit with return code RC.
Thu, 04 Aug 2005 17:23:31 +0100 If rejects are empty after using the editor, merge with diff+patch was ok.
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 04 Aug 2005 17:23:31 +0100] rev 830
If rejects are empty after using the editor, merge with diff+patch was ok.
Thu, 04 Aug 2005 17:16:41 +0100 Shortened hgmerge a little bit.
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 04 Aug 2005 17:16:41 +0100] rev 829
Shortened hgmerge a little bit.
Thu, 04 Aug 2005 16:56:44 +0100 Hide error message of type command.
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 04 Aug 2005 16:56:44 +0100] rev 828
Hide error message of type command.
Thu, 04 Aug 2005 13:25:59 -0800 Fix array overflow bug in bdiff
"Wallace, Eric S" <eric.s.wallace@intel.com> [Thu, 04 Aug 2005 13:25:59 -0800] rev 827
Fix array overflow bug in bdiff I ran into a bug while importing a large repository into mercurial. The diff algorithm does not allocate a big enough array of hunks for some test cases. This results in memory corruption, and possibly, as in my case, a seg fault. You should be able to reproduce this problem with any case of more than a few lines that follows this pattern: a b = = 1 1 2 2 3 4 3 5 . 4 . . 5 . . . I.e., "a" has blank lines on every other line that have been removed in "b". In this case, the number of matching hunks is equal to the number of lines in "b". This is more than ((an + bn)/4 + 2). I'm not sure what motivates this formula, but when I changed it to the smaller of an or bn (+ 1), it works. [comment added by mpm]
Thu, 04 Aug 2005 13:22:36 -0800 Allow import from files with spaces
Kyle Moffett <mrmacman_g4@mac.com> [Thu, 04 Aug 2005 13:22:36 -0800] rev 826
Allow import from files with spaces Index: hg/mercurial/commands.py ===================================================================
Thu, 04 Aug 2005 13:21:27 -0800 Add an option to hg serve to serve file using IPv6
Samuel Tardieu <sam@rfc1149.net> [Thu, 04 Aug 2005 13:21:27 -0800] rev 825
Add an option to hg serve to serve file using IPv6
Tue, 02 Aug 2005 08:57:32 -0800 Merge with BOS
mpm@selenic.com [Tue, 02 Aug 2005 08:57:32 -0800] rev 824
Merge with BOS
Mon, 01 Aug 2005 17:58:13 +0100 Use list comprehension in hg status.
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 01 Aug 2005 17:58:13 +0100] rev 823
Use list comprehension in hg status.
Sun, 31 Jul 2005 18:03:46 -0800 Attempt to yield names in sorted order when walking.
Bryan O'Sullivan <bos@serpentine.com> [Sun, 31 Jul 2005 18:03:46 -0800] rev 822
Attempt to yield names in sorted order when walking. This is an improvement in behaviour, but the walk and changes code still has some flaws that make sorted name presentation difficult: - changes returns tuples of names, instead of a sorted list of (name, status) pairs. - walk yields deleted names after all others.
Sun, 31 Jul 2005 17:54:00 -0800 Ensure that dirstate.walk only yields names once.
Bryan O'Sullivan <bos@serpentine.com> [Sun, 31 Jul 2005 17:54:00 -0800] rev 821
Ensure that dirstate.walk only yields names once. Its predecessor code used to do this, and now it does, too.
Sun, 31 Jul 2005 17:42:46 -0800 Clean up walk and changes code to use normalised names properly.
Bryan O'Sullivan <bos@serpentine.com> [Sun, 31 Jul 2005 17:42:46 -0800] rev 820
Clean up walk and changes code to use normalised names properly. New function: commands.pathto returns the relative path from one path to another. For example, given foo/bar and baz/quux, it will return ../../baz/quux. This new function is used by the walk and status code to print relative paths correctly. New command: debugwalk exercises the walk code without doing anything more. hg.dirstate.walk now yields normalised names. For example, if you're in the baz directory and you ask it to walk ../foo/bar/.., it will yield names starting with foo/. As a result of this change, all of the other walk and changes methods in this module also return normalised names. The util.matcher function now normalises globs and path names, so that it will match normalised names properly. Finally, util.matcher uses the non-glob prefix of a glob to tell walk which directories to scan. Perviously, a glob like foo/* would scan everything, but only return matches for foo/*. Now, foo/* only scans under foo (using the globprefix function), which is much faster.
Sun, 31 Jul 2005 17:31:15 -0800 Update output for test-merge5.
Bryan O'Sullivan <bos@serpentine.com> [Sun, 31 Jul 2005 17:31:15 -0800] rev 819
Update output for test-merge5.
Mon, 01 Aug 2005 23:34:23 -0800 Actually implement the -f switch for push
mpm@selenic.com [Mon, 01 Aug 2005 23:34:23 -0800] rev 818
Actually implement the -f switch for push
Mon, 01 Aug 2005 23:23:51 -0800 Make ssh URL parsing more robust
mpm@selenic.com [Mon, 01 Aug 2005 23:23:51 -0800] rev 817
Make ssh URL parsing more robust
Mon, 01 Aug 2005 23:17:22 -0800 Warn on pushing unsynced repo or adding new heads
mpm@selenic.com [Mon, 01 Aug 2005 23:17:22 -0800] rev 816
Warn on pushing unsynced repo or adding new heads By popular demand
Sat, 30 Jul 2005 09:01:59 -0800 Psyco was failing to call dirstate.__del__ for import
mpm@selenic.com [Sat, 30 Jul 2005 09:01:59 -0800] rev 815
Psyco was failing to call dirstate.__del__ for import Remove it.
Sat, 30 Jul 2005 09:00:14 -0800 Merge with BOS
mpm@selenic.com [Sat, 30 Jul 2005 09:00:14 -0800] rev 814
Merge with BOS
Fri, 29 Jul 2005 15:02:27 -0800 Adapt commit to use file matching code.
Bryan O'Sullivan <bos@serpentine.com> [Fri, 29 Jul 2005 15:02:27 -0800] rev 813
Adapt commit to use file matching code. The code is slightly complicated by the need to commit all outstanding changes in the repository if no file names are given (other commands operate on the current directory and its subdirectories in this case). localrepository.changes has acquired an optional match parameter, to let it filter out include/exclude options.
Fri, 29 Jul 2005 12:30:12 -0800 Reduce the amount of stat traffic generated by a walk.
Bryan O'Sullivan <bos@serpentine.com> [Fri, 29 Jul 2005 12:30:12 -0800] rev 812
Reduce the amount of stat traffic generated by a walk. When we switched to the new walk code for commands, we no longer passed a list of specific files to the repo or dirstate walk or changes methods. This meant that we always walked and attempted to match everything, which was not efficient. Now, if we are given any patterns to match, or nothing at all, we still walk everything. But if we are given only file names that contain no glob characters, we only walk those.
(0) -300 -100 -60 +60 +100 +300 +1000 +3000 tip