Sat, 30 Apr 2011 19:36:48 +0200 store: rename the 'opener' argument to 'openertype'
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Sat, 30 Apr 2011 19:36:48 +0200] rev 14092
store: rename the 'opener' argument to 'openertype' The 'opener' argument wasn't, in fact, an actual opener instance, but rather something expected to return an opener. The normal argument, from localrepository, is the scmutil.opener type; hence 'openertype'.
Sat, 30 Apr 2011 19:41:25 +0200 statichttprepo: make the opener a subclass of abstractopener
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Sat, 30 Apr 2011 19:41:25 +0200] rev 14091
statichttprepo: make the opener a subclass of abstractopener
Sat, 30 Apr 2011 19:37:13 +0200 add filteropener abstraction for store openers
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Sat, 30 Apr 2011 19:37:13 +0200] rev 14090
add filteropener abstraction for store openers
Sat, 30 Apr 2011 19:36:48 +0200 opener: introduce an abstact superclass of it
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Sat, 30 Apr 2011 19:36:48 +0200] rev 14089
opener: introduce an abstact superclass of it Currently, this class doesn't do anything useful.
Sat, 30 Apr 2011 19:42:00 +0200 graphlog: use a set for inclusion test
Patrick Mezard <pmezard@gmail.com> [Sat, 30 Apr 2011 19:42:00 +0200] rev 14088
graphlog: use a set for inclusion test This makes a big difference in performance in the special case where all revisions are being graphed.
Sat, 30 Apr 2011 15:10:58 +0300 graphmod: restore generator nature of dagwalker
Idan Kamara <idankk86@gmail.com> [Sat, 30 Apr 2011 15:10:58 +0300] rev 14087
graphmod: restore generator nature of dagwalker 9966c95b8c4f introduced the ability to walk the DAG given arbitrary revisions, but changed the behaviour of it to return a list of all nodes (and create a changectx for each one) rather than doing it lazily. This has a pretty significant impact on performance for large repositories (tested on CPython repo, with output disabled): $ time hg glog real 0m2.642s user 0m2.560s sys 0m0.080s Before 9966c95b8c4f: $ time hg glog real 0m0.143s user 0m0.112s sys 0m0.032s And after this fix: $ time hg glog real 0m0.213s user 0m0.184s sys 0m0.028s
Sat, 30 Apr 2011 19:42:00 +0200 graphlog: log -G --follow file does not work, forbid it
Patrick Mezard <pmezard@gmail.com> [Sat, 30 Apr 2011 19:42:00 +0200] rev 14086
graphlog: log -G --follow file does not work, forbid it We do not have revsets to follow file history.
Sat, 30 Apr 2011 19:42:00 +0200 graphlog: unify log -G revset translation
Patrick Mezard <pmezard@gmail.com> [Sat, 30 Apr 2011 19:42:00 +0200] rev 14085
graphlog: unify log -G revset translation
Sat, 30 Apr 2011 19:42:00 +0200 graphlog: fix log -G --prune
Patrick Mezard <pmezard@gmail.com> [Sat, 30 Apr 2011 19:42:00 +0200] rev 14084
graphlog: fix log -G --prune follow() revset really means '::.' while we want something based on the passed argument. Also, ancestors() revset does not include the parent revisions.
Sat, 30 Apr 2011 19:42:00 +0200 graphlog: escape log -G single value option arguments
Patrick Mezard <pmezard@gmail.com> [Sat, 30 Apr 2011 19:42:00 +0200] rev 14083
graphlog: escape log -G single value option arguments
Sat, 30 Apr 2011 19:42:00 +0200 graphlog: fix log -G --removed
Patrick Mezard <pmezard@gmail.com> [Sat, 30 Apr 2011 19:42:00 +0200] rev 14082
graphlog: fix log -G --removed Current version was mispelled and processed like a valued argument.
Sat, 30 Apr 2011 19:42:00 +0200 graphlog: fix log -G option types when translating to revset
Patrick Mezard <pmezard@gmail.com> [Sat, 30 Apr 2011 19:42:00 +0200] rev 14081
graphlog: fix log -G option types when translating to revset For instance, --keyword is a multiple value option while it was processed as a single value option.
Sat, 30 Apr 2011 18:53:56 +0200 revset: add tests for multiple and mixed ^ and ~ operators
Kevin Gessner <kevin@kevingessner.com> [Sat, 30 Apr 2011 18:53:56 +0200] rev 14080
revset: add tests for multiple and mixed ^ and ~ operators
Sat, 30 Apr 2011 18:27:39 +0200 extensions: obsolete and remove parentrevspec extension
Kevin Gessner <kevin@kevingessner.com> [Sat, 30 Apr 2011 18:27:39 +0200] rev 14079
extensions: obsolete and remove parentrevspec extension As of 305c97670d7a, revsets implements the ^ and ~ operators that this extension provides, so it's no longer necessary.
Sat, 30 Apr 2011 11:53:57 -0500 wix: a new mercurial.js has replaced graph.js
Steve Borho <steve@borho.org> [Sat, 30 Apr 2011 11:53:57 -0500] rev 14078
wix: a new mercurial.js has replaced graph.js
Sat, 30 Apr 2011 09:43:23 -0700 util.url: copy urllib.unquote() into util to improve startup times
Brodie Rao <brodie@bitheap.org> [Sat, 30 Apr 2011 09:43:23 -0700] rev 14077
util.url: copy urllib.unquote() into util to improve startup times The ui class uses util.hasscheme() in a couple of places, causing hg to import urllib even when it doesn't need to. This copies urllib.unquote() to avoid that import. perfstartup time before the URL refactoring (8796fb6af67e): ! wall 0.050692 comb 0.000000 user 0.000000 sys 0.000000 (best of 100) before this change: ! wall 0.064742 comb 0.000000 user 0.000000 sys 0.000000 (best of 100) after this change: ! wall 0.052126 comb 0.000000 user 0.000000 sys 0.000000 (best of 100
Sat, 30 Apr 2011 09:43:20 -0700 url: move URL parsing functions into util to improve startup time
Brodie Rao <brodie@bitheap.org> [Sat, 30 Apr 2011 09:43:20 -0700] rev 14076
url: move URL parsing functions into util to improve startup time The introduction of the new URL parsing code has created a startup time regression. This is mainly due to the use of url.hasscheme() in the ui class. It ends up importing many libraries that the url module requires. This fix helps marginally, but if we can get rid of the urllib import in the URL parser all together, startup time will go back to normal. perfstartup time before the URL refactoring (8796fb6af67e): ! wall 0.050692 comb 0.000000 user 0.000000 sys 0.000000 (best of 100) current startup time (139fb11210bb): ! wall 0.070685 comb 0.000000 user 0.000000 sys 0.000000 (best of 100) after this change: ! wall 0.064667 comb 0.000000 user 0.000000 sys 0.000000 (best of 100)
Sat, 30 Apr 2011 16:33:47 +0200 revlog: introduce _chunkbase to allow filelog to override
Sune Foldager <cryo@cyanite.org> [Sat, 30 Apr 2011 16:33:47 +0200] rev 14075
revlog: introduce _chunkbase to allow filelog to override Used by revlog.revision to retrieve the base-chunk in a delta chain.
Sat, 30 Apr 2011 16:32:50 +0200 filelog: extract metadata parsing and packing
Sune Foldager <cryo@cyanite.org> [Sat, 30 Apr 2011 16:32:50 +0200] rev 14074
filelog: extract metadata parsing and packing _parsemeta returns the dictionary and a list of keys in the order they appear in metadata. This can be used to repack the dictionary in the same order. _packmeta creates metadata from a dictionary and an optional key-order list. In _parsemeta, we use slices and re.search indead of str.index so we can accept both buffers and strings.
Sat, 30 Apr 2011 17:21:37 +0200 discovery: drop findoutgoing and simplify findcommonincoming's api
Peter Arrenbrecht <peter.arrenbrecht@gmail.com> [Sat, 30 Apr 2011 17:21:37 +0200] rev 14073
discovery: drop findoutgoing and simplify findcommonincoming's api This is a long desired cleanup and paves the way for new discovery. To specify subsets for bundling changes, all code should use the heads of the desired subset ("heads") and the heads of the common subset ("common") to be excluded from the bundled set. These can be used revlog.findmissing instead of revlog.nodesbetween. This fixes an actual bug exposed by the change in test-bundle-r.t where we try to bundle a changeset while specifying that said changeset is to be assumed already present in the target. This used to still bundle the changeset. It no longer does. This is similar to the bugs fixed by the recent switch to heads/common for incoming/pull.
Sat, 30 Apr 2011 18:25:45 +0200 revset: add missing whitespace
Kevin Gessner <kevin@kevingessner.com> [Sat, 30 Apr 2011 18:25:45 +0200] rev 14072
revset: add missing whitespace
Sat, 30 Apr 2011 07:00:13 -0700 url: remove unused/obsolete functions
Brodie Rao <brodie@bitheap.org> [Sat, 30 Apr 2011 07:00:13 -0700] rev 14071
url: remove unused/obsolete functions
Sat, 30 Apr 2011 17:43:04 +0200 revset: add ^ and ~ operators from parentrevspec extension
Kevin Gessner <kevin@kevingessner.com> [Sat, 30 Apr 2011 17:43:04 +0200] rev 14070
revset: add ^ and ~ operators from parentrevspec extension ^ (Nth parent) and ~ (Nth first ancestor) are infix operators that match certain ancestors of the set: set^0 the set set^1 (also available as set^) the first parent of every changeset in set set^2 the second parent of every changeset in set set~0 the set set~1 the first ancestor (i.e. the first parent) of every changeset in set set~2 the second ancestor (i.e. first parent of first parent) of every changeset in set set~N the Nth ancestor (following first parents only) of every changeset in set; set~N is equivalent to set^1^1..., with ^1 repeated N times.
Sat, 30 Apr 2011 10:57:13 -0500 encoding: add an encoding-aware lower function
Matt Mackall <mpm@selenic.com> [Sat, 30 Apr 2011 10:57:13 -0500] rev 14069
encoding: add an encoding-aware lower function
Sat, 30 Apr 2011 12:39:46 +0200 add: notify when adding a file that would cause a case-folding collision
Kevin Gessner <kevin@kevingessner.com> [Sat, 30 Apr 2011 12:39:46 +0200] rev 14068
add: notify when adding a file that would cause a case-folding collision On a case-sensitive file system, files can be added with names that differ only in case (a "case collision"). This would cause an error on case-insensitive filesystems. A warning or error is now given for such collisions, depending on the value of ui.portablefilenames ('warn', 'abort', or 'ignore'): $ touch file File $ hg add --config ui.portablefilenames=abort File abort: possible case-folding collision for File $ hg add File warning: possible case-folding collision for File
Sat, 30 Apr 2011 11:08:24 +0200 scmutil: refactor ui.portablefilenames processing
Kevin Gessner <kevin@kevingessner.com> [Sat, 30 Apr 2011 11:08:24 +0200] rev 14067
scmutil: refactor ui.portablefilenames processing The ui.portablefilenames config handling is generally useful for notifying the user of various portability problems.
Sat, 30 Apr 2011 15:05:36 +0200 pure bdiff: don't use a generator
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Sat, 30 Apr 2011 15:05:36 +0200] rev 14066
pure bdiff: don't use a generator Generators are slow, and currently defeat the PyPy JIT.
Sat, 30 Apr 2011 15:05:34 +0200 pure mpatch: avoid using list.insert(0, ...)
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Sat, 30 Apr 2011 15:05:34 +0200] rev 14065
pure mpatch: avoid using list.insert(0, ...) In Python lists are implemented as arrays with overallocation. As a result, list.insert(0, ...) is O(n), whereas list.append() has an amortised running time of O(1). Reversing the internal representation of the list should cause a slight speedup for pure Python builds.
Sat, 30 Apr 2011 13:59:14 +0200 remove unused imports and variables
Alexander Solovyov <alexander@solovyov.net> [Sat, 30 Apr 2011 13:59:14 +0200] rev 14064
remove unused imports and variables
Sat, 30 Apr 2011 07:30:38 -0500 Zeroconf: catch both ValueError and KeyError in get()
Augie Fackler <durin42@gmail.com> [Sat, 30 Apr 2011 07:30:38 -0500] rev 14063
Zeroconf: catch both ValueError and KeyError in get() This prevents a traceback during discovery of available hosts.
Sat, 30 Apr 2011 15:20:27 +0300 run-tests: print a new line before writing the diff
Idan Kamara <idankk86@gmail.com> [Sat, 30 Apr 2011 15:20:27 +0300] rev 14062
run-tests: print a new line before writing the diff
Sat, 30 Apr 2011 10:56:43 -0500 revsets: add a last function
Matt Mackall <mpm@selenic.com> [Sat, 30 Apr 2011 10:56:43 -0500] rev 14061
revsets: add a last function last(set, n) = reverser(limit(reverse(set), n))
Sat, 30 Apr 2011 14:22:03 +0200 bundle: more comments about the different header types, remove useless if
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 30 Apr 2011 14:22:03 +0200] rev 14060
bundle: more comments about the different header types, remove useless if
Sat, 30 Apr 2011 15:30:51 +0200 merge with mpm
Martin Geisler <mg@lazybytes.net> [Sat, 30 Apr 2011 15:30:51 +0200] rev 14059
merge with mpm
Sat, 30 Apr 2011 13:47:22 +0200 hgweb: initialize permhooks at definition time
Martin Geisler <mg@lazybytes.net> [Sat, 30 Apr 2011 13:47:22 +0200] rev 14058
hgweb: initialize permhooks at definition time This is simpler than creating it empty and then appending the default checkauthz hook 50 lines below.
Sat, 30 Apr 2011 06:58:22 -0700 revset: fix undefined name ParseError
Brodie Rao <brodie@bitheap.org> [Sat, 30 Apr 2011 06:58:22 -0700] rev 14057
revset: fix undefined name ParseError
Sat, 30 Apr 2011 12:56:28 +0200 branchcache: improve speed relative to the amount of heads
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Sat, 30 Apr 2011 12:56:28 +0200] rev 14056
branchcache: improve speed relative to the amount of heads Updating the branch cache is quadratic to the amount of heads in the repository. One consequence of this was that cloning a pathological repository with 10,000 heads (and nothing else) took hours of CPU time. This patch makes one of the inner loop much faster, by removing a changectx instantiation, and removes another entirely in cases where there are no candidate branch heads which descend from other branch heads.
Sat, 30 Apr 2011 12:55:07 +0200 drop {short,hex}(ctx.node()) calls in favor of ctx methods
Alexander Solovyov <alexander@solovyov.net> [Sat, 30 Apr 2011 12:55:07 +0200] rev 14055
drop {short,hex}(ctx.node()) calls in favor of ctx methods
Fri, 29 Apr 2011 22:21:13 +0300 mq: be more explicit on invalid patch name message
Idan Kamara <idankk86@gmail.com> [Fri, 29 Apr 2011 22:21:13 +0300] rev 14054
mq: be more explicit on invalid patch name message
Sat, 30 Apr 2011 11:16:52 +0200 fix broken tests
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 30 Apr 2011 11:16:52 +0200] rev 14053
fix broken tests test-debugcomplete.t broken by 58e58406ed19 test-highlight.t broken by b24e5a708fad
Sat, 30 Apr 2011 03:44:31 -0500 merge with stable
Matt Mackall <mpm@selenic.com> [Sat, 30 Apr 2011 03:44:31 -0500] rev 14052
merge with stable
Fri, 29 Apr 2011 22:21:13 +0300 mq: add '.' and '..' to list of forbidden patch names stable
Idan Kamara <idankk86@gmail.com> [Fri, 29 Apr 2011 22:21:13 +0300] rev 14051
mq: add '.' and '..' to list of forbidden patch names When an empty string is being passed to normname it would return '.' causing checkfile() to always return that a patch with that name exists.
Fri, 04 Mar 2011 14:00:49 +0100 subrepo: handle svn tracked/unknown directory collisions stable
Patrick Mezard <pmezard@gmail.com> [Fri, 04 Mar 2011 14:00:49 +0100] rev 14050
subrepo: handle svn tracked/unknown directory collisions This happens more often than expected. Say you have an svn subrepository with python code. Python would have generated unknown .pyc files. Now, you rebase this setup on a revision where a directory containing python code does not exist. Subversion is first asked to remove this directory when updating, but will not because it contains untracked items. Then it will have to bring back the directory after the merge but will fail because it now collides with an untracked directory. Using --force is not very elegant and only works with svn >= 1.5 but the only alternative I can think of is to write our own purge command for subversion.
Sat, 30 Apr 2011 03:00:38 -0500 subrepo: backout bcc6ed0f6c3b
Matt Mackall <mpm@selenic.com> [Sat, 30 Apr 2011 03:00:38 -0500] rev 14049
subrepo: backout bcc6ed0f6c3b
Fri, 29 Apr 2011 14:54:01 +0200 wireproto: add test for new optional arg missing on server
Peter Arrenbrecht <peter.arrenbrecht@gmail.com> [Fri, 29 Apr 2011 14:54:01 +0200] rev 14048
wireproto: add test for new optional arg missing on server New argument is silently ignored by both HTTP and SSH servers. This means we can, for instance, add new flags to getbundle() to request advanced features (like lightweight-copy-aware bundles), and older servers will silently ignore this request and send back a plain bundle.
Sat, 30 Apr 2011 02:42:05 -0500 merge with stable
Matt Mackall <mpm@selenic.com> [Sat, 30 Apr 2011 02:42:05 -0500] rev 14047
merge with stable
Thu, 28 Apr 2011 17:02:39 +0200 web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl> [Thu, 28 Apr 2011 17:02:39 +0200] rev 14046
web: Made elapsed time calculation dynamic (javascript). This allow safe caching of the pages by the browser and still display the right amount of elapsed time upon page refresh. If javascript is disabled, absolute time is displayed, leaving it readable. All the templates have been updated.
Wed, 27 Apr 2011 21:55:46 -0400 extdiff: add repository root as a variable
Steven Stallion <sstallion@gmail.com> [Wed, 27 Apr 2011 21:55:46 -0400] rev 14045
extdiff: add repository root as a variable Some external diff tools (notably Plan 9 diff(1)) require the absolute path to the file being diffed for proper function. A root variable was added to inform an external tool of the repository root (the tool is invoked with the cwd set to tmproot).
Sun, 17 Apr 2011 23:08:35 +0800 help: move hgignore man page into built-in help (issue2769)
Yun Lee <yun.lee.bj@gmail.com> [Sun, 17 Apr 2011 23:08:35 +0800] rev 14044
help: move hgignore man page into built-in help (issue2769)
Sat, 23 Apr 2011 15:04:15 +0200 graphlog: make use of graphmod's revset support
Alexander Solovyov <alexander@solovyov.net> [Sat, 23 Apr 2011 15:04:15 +0200] rev 14043
graphlog: make use of graphmod's revset support
Sun, 13 Mar 2011 15:53:38 +0100 graphmod: use revsets internally
Alexander Solovyov <alexander@solovyov.net> [Sun, 13 Mar 2011 15:53:38 +0100] rev 14042
graphmod: use revsets internally Thanks for the idea and most of the implementation to Klaus Koch Backs revisions() and filerevs() with DAG walker which can iterate through arbitrary list of revisions instead of strict one by one iteration from start to stop. When a gap occurs in a revisions (i.e. in file log), the next topological parent within the revset is searched and the connection to it is printed in the ascii graph. File graph can draw sometimes more connections than previous version, because graph is produced according to the revset, not according to a file's filelog. In case the graph contains several branches where the left parent is null, the graphs for each are printed sequentially, not in parallel as it was a case earlier (see for example the graph for README in hg-dev).
Fri, 29 Apr 2011 03:34:18 -0500 svn subrepo: attempt work around obstructed checkouts (issue2752)
Augie Fackler <durin42@gmail.com> [Fri, 29 Apr 2011 03:34:18 -0500] rev 14041
svn subrepo: attempt work around obstructed checkouts (issue2752) It should be possible to do better than this with 'svn switch', but the logic required woud be significantly more complex. Until someone needs the performance improvements of using switch, we'll just use the same strategy for everything.
Fri, 29 Apr 2011 16:34:52 +0200 churn: strip key earlier to avoid false negative seach in aliases
Alexander Solovyov <alexander@solovyov.net> [Fri, 29 Apr 2011 16:34:52 +0200] rev 14040
churn: strip key earlier to avoid false negative seach in aliases
Fri, 29 Apr 2011 18:43:36 +0300 bookmarks: further restrict IOError on write
Idan Kamara <idankk86@gmail.com> [Fri, 29 Apr 2011 18:43:36 +0300] rev 14039
bookmarks: further restrict IOError on write This won't risk losing the undo file when the error was something other than file not found
Fri, 29 Apr 2011 18:44:56 +0300 tags: loosen IOError filtering when reading localtags
Idan Kamara <idankk86@gmail.com> [Fri, 29 Apr 2011 18:44:56 +0300] rev 14038
tags: loosen IOError filtering when reading localtags
Fri, 29 Apr 2011 20:29:22 +0300 run-tests: don't count test as succeeded if it failed
Idan Kamara <idankk86@gmail.com> [Fri, 29 Apr 2011 20:29:22 +0300] rev 14037
run-tests: don't count test as succeeded if it failed regressed around ec4ae5727f07
Sun, 24 Apr 2011 20:11:05 +0200 changegroup: do not count closed new heads (issue2697)
Adrian Buehlmann <adrian@cadifra.com> [Sun, 24 Apr 2011 20:11:05 +0200] rev 14036
changegroup: do not count closed new heads (issue2697) If a closed head gets pulled, we currently see (example): $ hg pull pulling from $TESTTMP/repo2 searching for changes adding changesets adding manifests adding file changes added 2 changesets with 1 changes to 1 files (+1 heads) (run 'hg heads' to see heads, 'hg merge' to merge) A subsequent 'hg heads' doesn't show that head because it is closed. This patch improves the UI response texts for that same use case to: $ hg pull pulling from $TESTTMP/repo2 searching for changes adding changesets adding manifests adding file changes added 2 changesets with 1 changes to 1 files (run 'hg update' to get a working copy) That is, the part "(+1 heads)" is not shown in that case any longer.
Fri, 29 Apr 2011 20:02:46 +0200 merge with crew
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Fri, 29 Apr 2011 20:02:46 +0200] rev 14035
merge with crew
Fri, 29 Apr 2011 09:28:45 -0500 shrink-revlog: defend against null first parents
Augie Fackler <durin42@gmail.com> [Fri, 29 Apr 2011 09:28:45 -0500] rev 14034
shrink-revlog: defend against null first parents
Fri, 29 Apr 2011 12:46:56 -0500 test-contrib: add a test for shrink-revlog
Augie Fackler <durin42@gmail.com> [Fri, 29 Apr 2011 12:46:56 -0500] rev 14033
test-contrib: add a test for shrink-revlog We only verify the extension runs and that verify passes at the end as constructing a test repository that would result in a shrink would be nontrivial.
Fri, 29 Apr 2011 08:46:21 -0500 test-simplemerge-cmd.t: move all tests into test-contrib.t
Augie Fackler <durin42@gmail.com> [Fri, 29 Apr 2011 08:46:21 -0500] rev 14032
test-simplemerge-cmd.t: move all tests into test-contrib.t
Fri, 29 Apr 2011 08:43:05 -0500 Move test-dumprevlog to test-contrib in anticipation of more contrib tests
Augie Fackler <durin42@gmail.com> [Fri, 29 Apr 2011 08:43:05 -0500] rev 14031
Move test-dumprevlog to test-contrib in anticipation of more contrib tests
Fri, 29 Apr 2011 08:04:54 -0500 shrink-revlog: use a bundler object (see d69c9510d648)
Augie Fackler <durin42@gmail.com> [Fri, 29 Apr 2011 08:04:54 -0500] rev 14030
shrink-revlog: use a bundler object (see d69c9510d648)
Fri, 29 Apr 2011 08:01:10 -0500 shrink-revlog: update util.opener to scmutil.opener after d13913355390
Augie Fackler <durin42@gmail.com> [Fri, 29 Apr 2011 08:01:10 -0500] rev 14029
shrink-revlog: update util.opener to scmutil.opener after d13913355390
Fri, 29 Apr 2011 07:38:12 -0500 shrink-revlog: remove \ from docstring
Augie Fackler <durin42@gmail.com> [Fri, 29 Apr 2011 07:38:12 -0500] rev 14028
shrink-revlog: remove \ from docstring
Sun, 13 Mar 2011 15:02:49 +0100 bookmarks: be more restrictive in our Exception catching
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 13 Mar 2011 15:02:49 +0100] rev 14027
bookmarks: be more restrictive in our Exception catching
Fri, 29 Apr 2011 14:56:23 +0200 strip: make it clear that --force discards changes (issue310)
Patrick Mezard <pmezard@gmail.com> [Fri, 29 Apr 2011 14:56:23 +0200] rev 14026
strip: make it clear that --force discards changes (issue310)
Fri, 29 Apr 2011 03:05:48 -0500 subrepo: tell Subversion when we are non-interactive (issue2759) stable
Augie Fackler <durin42@gmail.com> [Fri, 29 Apr 2011 03:05:48 -0500] rev 14025
subrepo: tell Subversion when we are non-interactive (issue2759) $ hg clone repo repo-clone -v updating to branch default resolving manifests getting .hgsub getting .hgsubstate abort: svn: OPTIONS of 'https://subversion.srv/project': Server certificate verification failed: issuer is not trusted (https://subversion.srv)
Fri, 29 Apr 2011 11:10:11 +0200 merge with stable
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 29 Apr 2011 11:10:11 +0200] rev 14024
merge with stable
Fri, 29 Apr 2011 11:04:39 +0200 tests: check for (*/sec) instead of (*B/sec) to match (X bytes/sec) stable
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 29 Apr 2011 11:04:39 +0200] rev 14023
tests: check for (*/sec) instead of (*B/sec) to match (X bytes/sec) I just had: transferred 606 bytes in 2.9 seconds (211 bytes/sec)
Fri, 29 Apr 2011 09:43:21 +0200 test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com> [Fri, 29 Apr 2011 09:43:21 +0200] rev 14022
test-repair-strip: turn into new style test
Fri, 29 Apr 2011 08:04:46 +0200 extdiff: fix broken symlinks handling (issue1909) stable
Patrick Mezard <pmezard@gmail.com> [Fri, 29 Apr 2011 08:04:46 +0200] rev 14021
extdiff: fix broken symlinks handling (issue1909)
Tue, 26 Apr 2011 10:51:19 -0500 tags: catch more corruption during cache parsing (issue2779)
Matt Mackall <mpm@selenic.com> [Tue, 26 Apr 2011 10:51:19 -0500] rev 14020
tags: catch more corruption during cache parsing (issue2779)
Mon, 25 Apr 2011 17:01:34 -0500 run-tests: do chdir for tests under a lock for thread safety
Matt Mackall <mpm@selenic.com> [Mon, 25 Apr 2011 17:01:34 -0500] rev 14019
run-tests: do chdir for tests under a lock for thread safety
Mon, 25 Apr 2011 16:17:08 -0500 run-tests: add iolock to vlog
Matt Mackall <mpm@selenic.com> [Mon, 25 Apr 2011 16:17:08 -0500] rev 14018
run-tests: add iolock to vlog
Tue, 26 Apr 2011 21:22:14 +0200 patch: remove redundant variable in iterhunks()
Patrick Mezard <pmezard@gmail.com> [Tue, 26 Apr 2011 21:22:14 +0200] rev 14017
patch: remove redundant variable in iterhunks()
Tue, 26 Apr 2011 13:13:35 +0200 merge with stable
Martin Geisler <mg@aragost.com> [Tue, 26 Apr 2011 13:13:35 +0200] rev 14016
merge with stable
Tue, 26 Apr 2011 12:56:56 +0200 merge default heads
Martin Geisler <mg@aragost.com> [Tue, 26 Apr 2011 12:56:56 +0200] rev 14015
merge default heads
Tue, 26 Apr 2011 12:55:26 +0200 commit: improve --date help text stable
Martin Geisler <mg@aragost.com> [Tue, 26 Apr 2011 12:55:26 +0200] rev 14014
commit: improve --date help text
Mon, 25 Apr 2011 21:20:44 +0200 merge with stable
Patrick Mezard <pmezard@gmail.com> [Mon, 25 Apr 2011 21:20:44 +0200] rev 14013
merge with stable
Mon, 25 Apr 2011 21:11:28 +0200 test-transplant: fix missing file addition stable
Patrick Mezard <pmezard@gmail.com> [Mon, 25 Apr 2011 21:11:28 +0200] rev 14012
test-transplant: fix missing file addition
Mon, 25 Apr 2011 18:00:30 +0800 tests: add script to disable a selected wire protocol capability
Steven Brown <StevenGBrown@gmail.com> [Mon, 25 Apr 2011 18:00:30 +0800] rev 14011
tests: add script to disable a selected wire protocol capability This can be used to test that the client and server both fall back to the previous wire protocol when the capability is not supported. It is currently used by test-push-http.t and I plan to use it for the HTTP long argument support tests.
Mon, 25 Apr 2011 14:03:12 +0200 mq: prevent traceback when qfinish patches not in series.
Pierre-Yves David <pierre-yves.david@ens-lyon.org> [Mon, 25 Apr 2011 14:03:12 +0200] rev 14010
mq: prevent traceback when qfinish patches not in series. When mq status entry referencing a patches that is not in series `hg qfinish -a` used to issue a traceback. This states is inconsistent but might happen regularly when people misuse hg up -mq. This changeset prevent hg from crashing. The faulty entry is finished anyway and a warning is issued.
Mon, 25 Apr 2011 13:03:26 +0300 check-code: separate warnings to avoid repetitive str.startswith
Idan Kamara <idankk86@gmail.com> [Mon, 25 Apr 2011 13:03:26 +0300] rev 14009
check-code: separate warnings to avoid repetitive str.startswith
Sun, 24 Apr 2011 17:30:50 -0400 atomictempfile: rewrite docstring to clarify rename() vs. close().
Greg Ward <greg@gerg.ca> [Sun, 24 Apr 2011 17:30:50 -0400] rev 14008
atomictempfile: rewrite docstring to clarify rename() vs. close().
Sun, 24 Apr 2011 19:25:10 -0400 atomictempfile: avoid infinite recursion in __del__().
Greg Ward <greg@gerg.ca> [Sun, 24 Apr 2011 19:25:10 -0400] rev 14007
atomictempfile: avoid infinite recursion in __del__(). The problem is that a programmer using atomictempfile directly can make an innocent everyday mistake -- not enough args to the constructor -- which escalates badly. You would expect a simple TypeError crash in that case, but you actually get an infinite recursion that is surprisingly difficult to kill: it happens between __del__() and __getattr__(), and Python does not handle infinite recursion from __del__() well. The fix is to not implement __getattr__(), but instead assign instance attributes for the methods we wish to delegate to the builtin file type: write() and fileno(). I've audited mercurial.* and hgext.* and found no users of atomictempfile using methods other than write() and rename(). I audited third-party extensions and found one (snap) passing an atomictempfile to util.fstat(), so I also threw in fileno(). The last time I submitted a similar patch, Matt proposed that we make atomictempfile a subclass of file instead of wrapping it. Rejected on grounds of unnecessary complexity: for one thing, it would make the Windows implementation of posixfile quite a bit more complex. It would have to become a subclass of file rather than a simple function -- but since it's written in C, this is non-obvious and non-trivial. Furthermore, there's nothing wrong with wrapping objects and delegating methods: it's a well-established pattern that works just fine in many cases. Subclassing is not the answer to all of life's problems.
Mon, 25 Apr 2011 18:42:31 +0200 run-tests: display diff before prompting with --interactive
Patrick Mezard <pmezard@gmail.com> [Mon, 25 Apr 2011 18:42:31 +0200] rev 14006
run-tests: display diff before prompting with --interactive
Sat, 23 Apr 2011 00:52:21 +0300 check-code: warn about naked except clauses
Idan Kamara <idankk86@gmail.com> [Sat, 23 Apr 2011 00:52:21 +0300] rev 14005
check-code: warn about naked except clauses
Sat, 23 Apr 2011 00:51:25 +0300 eliminate various naked except clauses
Idan Kamara <idankk86@gmail.com> [Sat, 23 Apr 2011 00:51:25 +0300] rev 14004
eliminate various naked except clauses
Sun, 24 Apr 2011 17:52:46 -0500 run-tests: fix some missing i/o locks
Matt Mackall <mpm@selenic.com> [Sun, 24 Apr 2011 17:52:46 -0500] rev 14003
run-tests: fix some missing i/o locks
Sun, 24 Apr 2011 16:46:37 -0500 run-tests: add a lock for console I/O
Matt Mackall <mpm@selenic.com> [Sun, 24 Apr 2011 16:46:37 -0500] rev 14002
run-tests: add a lock for console I/O
Sun, 24 Apr 2011 16:42:15 -0500 run-tests: switch timeout handling from alarm to helper thread
Matt Mackall <mpm@selenic.com> [Sun, 24 Apr 2011 16:42:15 -0500] rev 14001
run-tests: switch timeout handling from alarm to helper thread This should be slightly more portable than signals and be compatible with threaded dispatch.
Sun, 24 Apr 2011 16:42:11 -0500 run-tests: add locking on results struct
Matt Mackall <mpm@selenic.com> [Sun, 24 Apr 2011 16:42:11 -0500] rev 14000
run-tests: add locking on results struct
Sun, 24 Apr 2011 23:33:48 +0200 run-tests: fix --interactive (after 994ad067ac6e)
Patrick Mezard <pmezard@gmail.com> [Sun, 24 Apr 2011 23:33:48 +0200] rev 13999
run-tests: fix --interactive (after 994ad067ac6e) - Do not prompt if there is no .err file - Fix source and target paths
Sun, 24 Apr 2011 23:06:19 +0200 color: code simplification
Patrick Mezard <pmezard@gmail.com> [Sun, 24 Apr 2011 23:06:19 +0200] rev 13998
color: code simplification
Sun, 24 Apr 2011 23:06:18 +0200 test-status-color: fix terminfo code compatibility problem
Patrick Mezard <pmezard@gmail.com> [Sun, 24 Apr 2011 23:06:18 +0200] rev 13997
test-status-color: fix terminfo code compatibility problem On a linux host in xterm mode, 'none' is translated to: \x1b[m\x1b(B While it is the following on osx: \x1b(B\x1b[m Take advantage of the new color.color.X option to force it to a common value.
Fri, 22 Apr 2011 16:43:06 +0200 hg-ssh: fix duplicate word in docstring
Andreas Freimuth <andreas.freimuth@united-bits.de> [Fri, 22 Apr 2011 16:43:06 +0200] rev 13996
hg-ssh: fix duplicate word in docstring
Fri, 22 Apr 2011 14:04:34 -0500 run-tests: move test loop into a helper function
Matt Mackall <mpm@selenic.com> [Fri, 22 Apr 2011 14:04:34 -0500] rev 13995
run-tests: move test loop into a helper function
Fri, 22 Apr 2011 12:24:22 -0500 run-tests: use a results dict
Matt Mackall <mpm@selenic.com> [Fri, 22 Apr 2011 12:24:22 -0500] rev 13994
run-tests: use a results dict
Fri, 22 Apr 2011 11:36:40 -0500 run-tests: move blacklist and retest filtering to runone
Matt Mackall <mpm@selenic.com> [Fri, 22 Apr 2011 11:36:40 -0500] rev 13993
run-tests: move blacklist and retest filtering to runone
Fri, 22 Apr 2011 11:32:05 -0500 run-tests: keep a list of passed tests
Matt Mackall <mpm@selenic.com> [Fri, 22 Apr 2011 11:32:05 -0500] rev 13992
run-tests: keep a list of passed tests
Fri, 22 Apr 2011 11:24:27 -0500 run-tests: move keyword checking into runone
Matt Mackall <mpm@selenic.com> [Fri, 22 Apr 2011 11:24:27 -0500] rev 13991
run-tests: move keyword checking into runone
Fri, 22 Apr 2011 11:22:02 -0500 run-tests: add ignores list
Matt Mackall <mpm@selenic.com> [Fri, 22 Apr 2011 11:22:02 -0500] rev 13990
run-tests: add ignores list
Thu, 21 Apr 2011 18:38:30 -0500 run-tests: move existence/name format check into runone
Matt Mackall <mpm@selenic.com> [Thu, 21 Apr 2011 18:38:30 -0500] rev 13989
run-tests: move existence/name format check into runone
Thu, 21 Apr 2011 18:19:45 -0500 run-tests: move interactive handling into runone
Matt Mackall <mpm@selenic.com> [Thu, 21 Apr 2011 18:19:45 -0500] rev 13988
run-tests: move interactive handling into runone
Thu, 21 Apr 2011 13:47:45 -0700 color: add support for terminfo-based attributes and color
Danek Duvall <duvall@comfychair.org> [Thu, 21 Apr 2011 13:47:45 -0700] rev 13987
color: add support for terminfo-based attributes and color Using terminfo instead of hard-coding ECMA-48 control sequences provides a greater assurance that the terminal codes are correct for the current terminal type; not everything supports the ANSI escape codes. It also allows us to use a wider range of colors when a terminal emulator supports it (such as 16- or 256-color xterm), and a few more non-color attributes, such as the ever-popular blink.
Thu, 21 Apr 2011 21:16:54 +0200 move system_rcpath and user_rcpath to scmutil
Adrian Buehlmann <adrian@cadifra.com> [Thu, 21 Apr 2011 21:16:54 +0200] rev 13986
move system_rcpath and user_rcpath to scmutil
Thu, 21 Apr 2011 20:54:45 +0200 move os_rcpath from util to scmutil
Adrian Buehlmann <adrian@cadifra.com> [Thu, 21 Apr 2011 20:54:45 +0200] rev 13985
move os_rcpath from util to scmutil
Thu, 21 Apr 2011 20:14:29 +0200 move rcpath from util to scmutil
Adrian Buehlmann <adrian@cadifra.com> [Thu, 21 Apr 2011 20:14:29 +0200] rev 13984
move rcpath from util to scmutil
Thu, 21 Apr 2011 15:11:28 -0500 merge with stable
Matt Mackall <mpm@selenic.com> [Thu, 21 Apr 2011 15:11:28 -0500] rev 13983
merge with stable
Thu, 21 Apr 2011 15:11:19 -0500 merge with i18n
Matt Mackall <mpm@selenic.com> [Thu, 21 Apr 2011 15:11:19 -0500] rev 13982
merge with i18n
Thu, 21 Apr 2011 15:10:59 -0500 merge with i18n stable
Matt Mackall <mpm@selenic.com> [Thu, 21 Apr 2011 15:10:59 -0500] rev 13981
merge with i18n
Tue, 19 Apr 2011 12:00:22 -0300 i18n-pt_BR: synchronized with 1416b9118540 stable
Wagner Bruna <wbruna@softwareexpress.com.br> [Tue, 19 Apr 2011 12:00:22 -0300] rev 13980
i18n-pt_BR: synchronized with 1416b9118540
Tue, 19 Apr 2011 09:46:45 +0200 i18n: merge with stable
Martin Geisler <mg@lazybytes.net> [Tue, 19 Apr 2011 09:46:45 +0200] rev 13979
i18n: merge with stable
Tue, 19 Apr 2011 09:46:24 +0200 i18n-da: synchronize with 1184bb274cb3
Martin Geisler <mg@lazybytes.net> [Tue, 19 Apr 2011 09:46:24 +0200] rev 13978
i18n-da: synchronize with 1184bb274cb3
Tue, 19 Apr 2011 09:30:42 +0200 i18n-de: improve grammar stable
Martin Krüger <martin.krueger@gmx.com> [Tue, 19 Apr 2011 09:30:42 +0200] rev 13977
i18n-de: improve grammar
Thu, 21 Apr 2011 15:08:48 -0500 win32: Wine doesn't know about hardlinks
Matt Mackall <mpm@selenic.com> [Thu, 21 Apr 2011 15:08:48 -0500] rev 13976
win32: Wine doesn't know about hardlinks
Thu, 21 Apr 2011 16:06:19 +0200 move walkrepos from util to scmutil
Adrian Buehlmann <adrian@cadifra.com> [Thu, 21 Apr 2011 16:06:19 +0200] rev 13975
move walkrepos from util to scmutil
Thu, 21 Apr 2011 13:18:52 +0200 move checkfilename from util to scmutil
Adrian Buehlmann <adrian@cadifra.com> [Thu, 21 Apr 2011 13:18:52 +0200] rev 13974
move checkfilename from util to scmutil checkfilename is specific to Mercurial, since it contains the knowledege that Mercurial can't track files with \n or \r in the name.
Thu, 21 Apr 2011 12:10:03 +0200 scmutil: fix erroneous Abort call
Adrian Buehlmann <adrian@cadifra.com> [Thu, 21 Apr 2011 12:10:03 +0200] rev 13973
scmutil: fix erroneous Abort call This fixes d13913355390 (affected Windows only).
(0) -10000 -3000 -1000 -120 +120 +1000 +3000 +10000 +30000 tip