Wed, 20 Apr 2011 22:43:31 +0200 move path_auditor from util to scmutil
Adrian Buehlmann <adrian@cadifra.com> [Wed, 20 Apr 2011 22:43:31 +0200] rev 13972
move path_auditor from util to scmutil
Wed, 20 Apr 2011 21:41:41 +0200 move canonpath from util to scmutil
Adrian Buehlmann <adrian@cadifra.com> [Wed, 20 Apr 2011 21:41:41 +0200] rev 13971
move canonpath from util to scmutil
Wed, 20 Apr 2011 19:54:57 +0200 move opener from util to scmutil
Adrian Buehlmann <adrian@cadifra.com> [Wed, 20 Apr 2011 19:54:57 +0200] rev 13970
move opener from util to scmutil
Wed, 20 Apr 2011 23:30:07 +0200 merge with stable
Patrick Mezard <pmezard@gmail.com> [Wed, 20 Apr 2011 23:30:07 +0200] rev 13969
merge with stable
Wed, 20 Apr 2011 23:15:18 +0200 convert: make filemap prune useless branch closing revs (issue2774) stable
Patrick Mezard <pmezard@gmail.com> [Wed, 20 Apr 2011 23:15:18 +0200] rev 13968
convert: make filemap prune useless branch closing revs (issue2774) A branch closing revision only applies if one of its parents belongs to the branch being closed. Otherwise the filemap can prune it too.
Wed, 20 Apr 2011 14:28:40 -0500 dispatch: improve repository not found message
Matt Mackall <mpm@selenic.com> [Wed, 20 Apr 2011 14:28:40 -0500] rev 13967
dispatch: improve repository not found message This should help clarify what the problem is in various problematic cases like ssh.
Wed, 20 Apr 2011 00:01:50 -0400 hgweb: support disabling page cache
Steven Stallion <sstallion@gmail.com> [Wed, 20 Apr 2011 00:01:50 -0400] rev 13966
hgweb: support disabling page cache By default, hgweb_mod supports caching via the ETag header. This can cause some confusion with browsers which cache aggressively. This change preserves existing behavior while giving the administrator a knob to disable the ETag header.
Wed, 20 Apr 2011 12:44:32 -0500 merge with stable
Matt Mackall <mpm@selenic.com> [Wed, 20 Apr 2011 12:44:32 -0500] rev 13965
merge with stable
Tue, 19 Apr 2011 23:37:06 -0400 hgweb: support alternate logo url
Steven Stallion <sstallion@gmail.com> [Tue, 19 Apr 2011 23:37:06 -0400] rev 13964
hgweb: support alternate logo url Clicking on the logo image/text in the hgweb interface brings the user to the Mercurial project page. The majority of users expect that this would bring them to the top level index. I have added a new template variable named `logourl' which allows an administrator to change this behavior. To stay compatible with existing behavior, `logourl' will default to http://mercurial.selenic.com/. This change is very useful in large installations where jumping to the index is common.
Tue, 19 Apr 2011 13:33:43 -0500 identify: further clarification of help stable
Kevin Bullock <kbullock@ringworld.org> [Tue, 19 Apr 2011 13:33:43 -0500] rev 13963
identify: further clarification of help Following on to 1416b9118540, correct a minor grammar issue, re-wrap to 72 columns, and further clarify wording.
Tue, 19 Apr 2011 12:42:53 +0200 add: introduce a warning message for non-portable filenames (issue2756) (BC)
Adrian Buehlmann <adrian@cadifra.com> [Tue, 19 Apr 2011 12:42:53 +0200] rev 13962
add: introduce a warning message for non-portable filenames (issue2756) (BC) On POSIX platforms, the 'add', 'addremove', 'copy' and 'rename' commands now warn if a file has a name that can't be checked out on Windows. Example: $ hg add con.xml warning: filename contains 'con', which is reserved on Windows: 'con.xml' $ hg status A con.xml The file is added despite the warning. The warning is ON by default. It can be suppressed by setting the config option 'portablefilenames' in section 'ui' to 'ignore' or 'false': $ hg --config ui.portablefilenames=ignore add con.xml $ hg sta A con.xml If ui.portablefilenames is set to 'abort', then the command is aborted: $ hg --config ui.portablefilenames=abort add con.xml abort: filename contains 'con', which is reserved on Windows: 'con.xml' On Windows, the ui.portablefilenames config setting is irrelevant and the command is always aborted if a problematic filename is found.
Tue, 19 Apr 2011 14:56:47 +0200 paper: use monospace font for description
Adrian Buehlmann <adrian@cadifra.com> [Tue, 19 Apr 2011 14:56:47 +0200] rev 13961
paper: use monospace font for description
Tue, 19 Apr 2011 14:56:46 +0300 update: fix check for no rev when a date is given
Idan Kamara <idankk86@gmail.com> [Tue, 19 Apr 2011 14:56:46 +0300] rev 13960
update: fix check for no rev when a date is given The previous check caught a corner case in which rev was pointing to 0.
Tue, 19 Apr 2011 15:19:54 +0200 merge with stable
Martin Geisler <mg@lazybytes.net> [Tue, 19 Apr 2011 15:19:54 +0200] rev 13959
merge with stable
Tue, 19 Apr 2011 15:15:56 +0200 hgweb: detect change based on changelog size too stable
Martin Geisler <mg@lazybytes.net> [Tue, 19 Apr 2011 15:15:56 +0200] rev 13958
hgweb: detect change based on changelog size too Before, there was a race between an access and a modification made within the same second.
Tue, 19 Apr 2011 13:25:19 +0200 rollback: lower-case warning issued when branch cannot be reset stable
Martin Geisler <mg@lazybytes.net> [Tue, 19 Apr 2011 13:25:19 +0200] rev 13957
rollback: lower-case warning issued when branch cannot be reset Also improved the word order.
Tue, 19 Apr 2011 12:04:44 +0200 tests: remove redundant mkdir
Martin Geisler <mg@lazybytes.net> [Tue, 19 Apr 2011 12:04:44 +0200] rev 13956
tests: remove redundant mkdir There are still many tests that check that a bare 'hg init' initializes the current directory.
Mon, 18 Apr 2011 13:57:22 +0200 help config: explain that config files do not exist by default stable
Martin Geisler <mg@lazybytes.net> [Mon, 18 Apr 2011 13:57:22 +0200] rev 13955
help config: explain that config files do not exist by default Inspired by critique given on StackOverflow where a user writes: I can have a good guess at what "%USERPROFILE%" might signify but none of the files listed in the "hg help config" output exist after running the installer. Previous experience would suggest that missing files mean something somewhere has gone seriously wrong. http://stackoverflow.com/questions/2329023/2351139#2351139
Mon, 18 Apr 2011 20:52:08 -0500 merge with stable
Matt Mackall <mpm@selenic.com> [Mon, 18 Apr 2011 20:52:08 -0500] rev 13954
merge with stable
Tue, 19 Apr 2011 01:08:35 +0300 identify: restructure code to make it more readable
Idan Kamara <idankk86@gmail.com> [Tue, 19 Apr 2011 01:08:35 +0300] rev 13953
identify: restructure code to make it more readable
Tue, 19 Apr 2011 00:41:47 +0300 identify/help: say what the command does first, mention bookmarks stable
Idan Kamara <idankk86@gmail.com> [Tue, 19 Apr 2011 00:41:47 +0300] rev 13952
identify/help: say what the command does first, mention bookmarks
Sun, 17 Apr 2011 21:34:25 +0200 templatefilters: improve person() for john.doe@example.com
Adrian Buehlmann <adrian@cadifra.com> [Sun, 17 Apr 2011 21:34:25 +0200] rev 13951
templatefilters: improve person() for john.doe@example.com BEFORE: person('john.doe@example.com') -> 'john' AFTER: person('john.doe@example.com') -> 'john doe'
Sun, 17 Apr 2011 11:37:11 +0200 help: do not show full help text for command on option errors
Adrian Buehlmann <adrian@cadifra.com> [Sun, 17 Apr 2011 11:37:11 +0200] rev 13950
help: do not show full help text for command on option errors Example $ hg clone --jump foo bar hg clone: option --jump not recognized hg clone [OPTION]... SOURCE [DEST] make a copy of an existing repository options: -U --noupdate the clone will include an empty working copy (only a repository) -u --updaterev REV revision, tag or branch to check out -r --rev REV [+] include the specified changeset -b --branch BRANCH [+] clone only the specified branch --pull use pull protocol to copy metadata --uncompressed use uncompressed transfer (fast over LAN) -e --ssh CMD specify ssh command to use --remotecmd CMD specify hg command to run on the remote side --insecure do not verify server certificate (ignoring web.cacerts config) [+] marked option can be specified multiple times use "hg help clone" to show the full help text Motivation for this change If the user already has specified the command, he probably already knows the command to some extent. Apparently, he has a problem with the options, so we show him just the synopsis with the short help and the details about the options, with a hint on the last line how to get the full help text. Why is Mercurial better with this change? Experts who just forgot about the details of an option don't get that much text thrown at them, while the newbies still get a hint on the last line how to get the full help text.
Sun, 17 Apr 2011 17:55:34 +0200 store: add some doctests
Adrian Buehlmann <adrian@cadifra.com> [Sun, 17 Apr 2011 17:55:34 +0200] rev 13949
store: add some doctests
Sun, 17 Apr 2011 01:44:09 +0200 paper: don't add breaks on the remaining instances of desc
Adrian Buehlmann <adrian@cadifra.com> [Sun, 17 Apr 2011 01:44:09 +0200] rev 13948
paper: don't add breaks on the remaining instances of desc fixes ebe1ddbbefd7
Sat, 16 Apr 2011 20:08:43 +0200 checkwinfilename: use %r in format string
Adrian Buehlmann <adrian@cadifra.com> [Sat, 16 Apr 2011 20:08:43 +0200] rev 13947
checkwinfilename: use %r in format string
Sun, 17 Apr 2011 02:15:47 +0800 tests: new test cases for the unbundlehash capability
Steven Brown <StevenGBrown@gmail.com> [Sun, 17 Apr 2011 02:15:47 +0800] rev 13946
tests: new test cases for the unbundlehash capability
Fri, 15 Apr 2011 16:15:32 +0200 copy: do not copy file if name is disallowed anyway
Adrian Buehlmann <adrian@cadifra.com> [Fri, 15 Apr 2011 16:15:32 +0200] rev 13945
copy: do not copy file if name is disallowed anyway
Fri, 15 Apr 2011 16:15:30 +0200 util: new function checkfilename
Adrian Buehlmann <adrian@cadifra.com> [Fri, 15 Apr 2011 16:15:30 +0200] rev 13944
util: new function checkfilename checkfilename checks for restrictions on filenames imposed by Mercurial itself, irrespective of on what platform it is run.
Fri, 15 Apr 2011 16:15:28 +0200 opener: use %r in format string for abort
Adrian Buehlmann <adrian@cadifra.com> [Fri, 15 Apr 2011 16:15:28 +0200] rev 13943
opener: use %r in format string for abort
Sat, 16 Apr 2011 01:05:56 +0900 wireproto: allow unbundle with hashed heads parameter (issue2126)
Shuhei Takahashi <takahashi.shuhei@gmail.com> [Sat, 16 Apr 2011 01:05:56 +0900] rev 13942
wireproto: allow unbundle with hashed heads parameter (issue2126) Current wire protocol of unbundle sends the list of all heads in the remote repository to avoid race condition. This causes "URL too long" error on HTTP server when the repository has many heads. This change allows clients to send SHA1 hash of sorted head hashes instead. Also, this introduces "unbundlehash" capability to inform them that the server accepts hashed heads parameter.
Fri, 15 Apr 2011 23:46:59 -0500 merge with stable
Matt Mackall <mpm@selenic.com> [Fri, 15 Apr 2011 23:46:59 -0500] rev 13941
merge with stable
Fri, 15 Apr 2011 23:45:41 -0500 encoding: avoid localstr when a string can be encoded losslessly (issue2763) stable
Matt Mackall <mpm@selenic.com> [Fri, 15 Apr 2011 23:45:41 -0500] rev 13940
encoding: avoid localstr when a string can be encoded losslessly (issue2763) localstr's hash method exists to prevent bogus matching on lossy local encodings. For instance, we don't want 'caf?' to match 'café' in an ASCII locale. But when café can be losslessly encoded in the local charset, we can simply use a normal string and avoid the hashing trick. This avoids using localstr's hash method, which would prevent a match between
Fri, 15 Apr 2011 20:35:59 -0500 merge with stable
Matt Mackall <mpm@selenic.com> [Fri, 15 Apr 2011 20:35:59 -0500] rev 13939
merge with stable
Fri, 15 Apr 2011 20:07:44 +0300 revset: optimize stringset when subset == entire repo
Idan Kamara <idankk86@gmail.com> [Fri, 15 Apr 2011 20:07:44 +0300] rev 13938
revset: optimize stringset when subset == entire repo if range(len(repo)) is passed to stringset and x is a valid rev (checked before) then x is guaranteed to be in subset, we can check for that by comparing the lengths of the sets
Fri, 15 Apr 2011 16:35:32 +0300 help/revset: fix grammar stable
Idan Kamara <idankk86@gmail.com> [Fri, 15 Apr 2011 16:35:32 +0300] rev 13937
help/revset: fix grammar
Thu, 14 Apr 2011 10:00:15 +0200 qrecord: provide help when mq is not enabled
timeless <timeless@mozdev.org> [Thu, 14 Apr 2011 10:00:15 +0200] rev 13936
qrecord: provide help when mq is not enabled
Thu, 14 Apr 2011 10:00:14 +0200 record: improve help test coverage
timeless <timeless@mozdev.org> [Thu, 14 Apr 2011 10:00:14 +0200] rev 13935
record: improve help test coverage
Fri, 15 Apr 2011 10:56:26 +0200 paper: preserve whitespace on description instead of adding breaks
Adrian Buehlmann <adrian@cadifra.com> [Fri, 15 Apr 2011 10:56:26 +0200] rev 13934
paper: preserve whitespace on description instead of adding breaks This preserves the indentation of text in the changeset description. This is useful for example for descriptions containing command line use case examples like: $ hg -q heads 13934:648a834cca14 13912:71ea5b2b9517 Without this patch, such space-char indented text was just left aligned.
Wed, 13 Apr 2011 13:06:35 -0500 compact style: show bookmarks in the same manner as tags
Augie Fackler <durin42@gmail.com> [Wed, 13 Apr 2011 13:06:35 -0500] rev 13933
compact style: show bookmarks in the same manner as tags
Wed, 13 Apr 2011 12:30:41 -0500 revsets: preserve ordering with the or operator
Augie Fackler <durin42@gmail.com> [Wed, 13 Apr 2011 12:30:41 -0500] rev 13932
revsets: preserve ordering with the or operator This is valuable because now revsets like 'bookmarks() or tip' will always show tip after bookmarks unless tip was itself a bookmark. This is a somewhat contrived example, but this behavior is useful for "where am I" type aliases that use log and revsets.
Wed, 13 Apr 2011 07:40:24 +0530 hgweb: set minimum number of revision to display to 1 when revcount is 0
Md. O. Shayan <mdoshayan@gmail.com> [Wed, 13 Apr 2011 07:40:24 +0530] rev 13931
hgweb: set minimum number of revision to display to 1 when revcount is 0 When revcount goes to 0 nothing is displayed in hgweb. This patch sets revcount to max(revcount, 1).
Wed, 13 Apr 2011 12:57:24 -0500 zeroconf: clean up naked exceptions
Matt Mackall <mpm@selenic.com> [Wed, 13 Apr 2011 12:57:24 -0500] rev 13930
zeroconf: clean up naked exceptions
Mon, 11 Apr 2011 21:44:22 +0300 localrepo: don't add deleted files to list of modified/added files (issue2761)
Idan Kamara <idankk86@gmail.com> [Mon, 11 Apr 2011 21:44:22 +0300] rev 13929
localrepo: don't add deleted files to list of modified/added files (issue2761) If a file is deleted (rm, not 'hg rm') from the working dir an attempt to run 'hg diff -r X', with the file being present in X will cause an abort. We didn't check if the file has been deleted from the working dir and later on tried to open it to compare with the one from X, causing the abort. This fix adds that check. Consequently, no output will be returned.
Mon, 11 Apr 2011 10:06:57 +0200 path_auditor: eliminate local function 'check' in __call__
Adrian Buehlmann <adrian@cadifra.com> [Mon, 11 Apr 2011 10:06:57 +0200] rev 13928
path_auditor: eliminate local function 'check' in __call__
Mon, 11 Apr 2011 07:34:40 -0500 subrepo: trailing whitespace cleanup
Augie Fackler <durin42@gmail.com> [Mon, 11 Apr 2011 07:34:40 -0500] rev 13927
subrepo: trailing whitespace cleanup
Sun, 10 Apr 2011 19:31:49 +0200 util: move checkosfilename call from path_auditor to opener
Adrian Buehlmann <adrian@cadifra.com> [Sun, 10 Apr 2011 19:31:49 +0200] rev 13926
util: move checkosfilename call from path_auditor to opener path_auditor is used for checking patterns too, but a pattern is not a valid filename. This patch fixes 98ee3dd5bab4, which introduced the bug: $ hg log -l3 glob:**.py abort: filename contains '*', which is reserved on Windows: mercurial\**.py
Sun, 10 Apr 2011 11:30:53 +0300 tests: add tests for non-existant branch/tag/bookmark
Idan Kamara <idankk86@gmail.com> [Sun, 10 Apr 2011 11:30:53 +0300] rev 13925
tests: add tests for non-existant branch/tag/bookmark
Sun, 10 Apr 2011 10:01:42 +0900 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org> [Sun, 10 Apr 2011 10:01:42 +0900] rev 13924
hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Sun, 10 Apr 2011 10:01:39 +0900 hgweb: remove useless notip handling from bookmarks listing
Yuya Nishihara <yuya@tcha.org> [Sun, 10 Apr 2011 10:01:39 +0900] rev 13923
hgweb: remove useless notip handling from bookmarks listing
Sun, 10 Apr 2011 10:01:37 +0900 hgweb: sort bookmarks in the same manner as console command
Yuya Nishihara <yuya@tcha.org> [Sun, 10 Apr 2011 10:01:37 +0900] rev 13922
hgweb: sort bookmarks in the same manner as console command
Sun, 10 Apr 2011 06:37:20 +0900 hgweb: add bookmarks listing to raw style with test case
Yuya Nishihara <yuya@tcha.org> [Sun, 10 Apr 2011 06:37:20 +0900] rev 13921
hgweb: add bookmarks listing to raw style with test case
Sat, 09 Apr 2011 23:13:17 +0530 grep: don't print data from binary files for matches (issue2614)
Md. O. Shayan <mdoshayan@gmail.com> [Sat, 09 Apr 2011 23:13:17 +0530] rev 13920
grep: don't print data from binary files for matches (issue2614)
Sat, 09 Apr 2011 23:53:23 +0300 color: reset win32 console color in a finally block
Idan Kamara <idankk86@gmail.com> [Sat, 09 Apr 2011 23:53:23 +0300] rev 13919
color: reset win32 console color in a finally block
Sat, 09 Apr 2011 15:52:19 -0500 tests: better output on timeouts
Matt Mackall <mpm@selenic.com> [Sat, 09 Apr 2011 15:52:19 -0500] rev 13918
tests: better output on timeouts Formerly, timeouts would generate huge scrollback-destroying diffs and weird -15 return codes in the summary. Now we simply report "timed out".
Mon, 07 Feb 2011 16:37:03 -0500 acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us> [Mon, 07 Feb 2011 16:37:03 -0500] rev 13917
acl: add branch tests for the current behavior of acl extension Adds simple tests for the acl.allow.branches and acl.deny.branches configuration options of the acl extension.
Wed, 06 Apr 2011 18:09:43 +0200 path_auditor: check filenames for basic platform validity (issue2755)
Adrian Buehlmann <adrian@cadifra.com> [Wed, 06 Apr 2011 18:09:43 +0200] rev 13916
path_auditor: check filenames for basic platform validity (issue2755) Example (on Windows): $ hg parents $ hg manifest tip con.xml $ hg update abort: filename contains 'con', which is reserved on Windows: con.xml Before this patch, update produced (as explained in issue2755): $ hg update abort: No usable temporary filename found I've added the new function checkwinfilename to util.py and not to windows.py, so that we can later call it when running on posix platforms too, for when we decide to implement a (configurable) warning message on 'hg add'. As per this patch, checkwinfilename is currently only used when running on Windwows. path_auditor calls checkosfilename, which is a NOP on posix and an alias for checkwinfilename on Windows.
Fri, 08 Apr 2011 17:47:58 +0300 revset: rearrange code so functions are sorted alphabetically
Idan Kamara <idankk86@gmail.com> [Fri, 08 Apr 2011 17:47:58 +0300] rev 13915
revset: rearrange code so functions are sorted alphabetically
Thu, 07 Apr 2011 19:24:16 +0300 revset: abort when tag or bookmark doesn't exist
Idan Kamara <idankk86@gmail.com> [Thu, 07 Apr 2011 19:24:16 +0300] rev 13914
revset: abort when tag or bookmark doesn't exist
Thu, 07 Apr 2011 15:08:15 -0500 merge with stable
Matt Mackall <mpm@selenic.com> [Thu, 07 Apr 2011 15:08:15 -0500] rev 13913
merge with stable
(0) -10000 -3000 -1000 -300 -100 -60 +60 +100 +300 +1000 +3000 +10000 +30000 tip