Mon, 16 Jan 2012 01:21:22 -0600 revset: optimize building large lists in formatrevspec
Matt Mackall <mpm@selenic.com> [Mon, 16 Jan 2012 01:21:22 -0600] rev 15898
revset: optimize building large lists in formatrevspec The large or-expressions we used to build required a substantial amount of subset filtering in orset() which was inefficient. Instead we build a single string which we process in one go with a special internal predicate.
Thu, 08 Dec 2011 16:28:18 +0100 hg-ssh: use shlex for shell-like parsing of SSH_ORIGINAL_COMMAND
Mads Kiilerich <mads@kiilerich.com> [Thu, 08 Dec 2011 16:28:18 +0100] rev 15897
hg-ssh: use shlex for shell-like parsing of SSH_ORIGINAL_COMMAND The Mercurial ssh protocol is defined as if it was ssh-ing to a shell account on an ordinary ssh server, and where hg was available in $PATH and it executed the command "hg -R REPOPATH serve --stdio". The Mercurial ssh client can in most cases just pass REPOPATH to the shell, but if it contains unsafe characters the client will have to quote it so the shell will pass the right -R value to hg. Correct quoting of repopaths was introduced in d8fa35c28335 and tweaked in 86fc364ca5f8. hg-ssh doesn't create the command via a shell and used a simple parser instead. It worked fine for simple paths without any quoting, but if any kind of quoting was used it failed to parse the command like the shell would do it. This makes hg-ssh behave more like a normal shell with hg in the path would do.
Sun, 15 Jan 2012 13:50:12 -0700 hooks: prioritize run order of hooks
Matt Zuba <matt.zuba@goodwillaz.org> [Sun, 15 Jan 2012 13:50:12 -0700] rev 15896
hooks: prioritize run order of hooks As of Mercurial 1.3, hooks are sorted in the order they are read into Mercurial. There are many instances when someone may want the hooks sorted in a specific order; this patch allows prioritizing hooks, while maintaining the existing enumeration for hooks without a priority.
Sun, 15 Jan 2012 18:00:01 -0600 merge with stable
Matt Mackall <mpm@selenic.com> [Sun, 15 Jan 2012 18:00:01 -0600] rev 15895
merge with stable
Wed, 11 Jan 2012 15:53:42 -0500 merge: report all files in _checkunknown
Jordi Gutiérrez Hermoso <jordigh@octave.org> [Wed, 11 Jan 2012 15:53:42 -0500] rev 15894
merge: report all files in _checkunknown When doing hg up, if there is a file conflict with untracked files, currently only the first such conflict is reported. With this patch, all of them are listed. With this patch error message is now reported as a: untracked file differs b: untracked file differs abort: untracked files in working directory conflict with files in requested revision instead of abort: untracked file in working directory differs from file in requested revision: 'a' This is a follow up to an old attempt to do this here: http://selenic.com/pipermail/mercurial-devel/2011-August/033625.html
Fri, 13 Jan 2012 22:16:01 +0100 discovery: fix prepush documentation
Pierre-Yves David <pierre-yves.david@ens-lyon.org> [Fri, 13 Jan 2012 22:16:01 +0100] rev 15893
discovery: fix prepush documentation The prepush documentation claim that when we refuse to push, the second element of the returng tuple is an "outgoing" integer. value should be 0 when no outgoing changeset and 1 otherwise. In pratice if there are no outgoing changeset, "outgoing" value is alway 1 and util.Abort is raised on other error. the stable branch also include this error so it wasn't introduced by a recent refactoring.
Fri, 13 Jan 2012 02:04:16 +0100 phases: simplify phase exchange and movement over pushkey
Pierre-Yves David <pierre-yves.david@ens-lyon.org> [Fri, 13 Jan 2012 02:04:16 +0100] rev 15892
phases: simplify phase exchange and movement over pushkey The code now only exchange draft root and only care about movement related to public//draft boundary. There is multiple reason to simplify this code: * Secret are never discovered anymore * We decided to not support more the three existing phase Removing phase index from pushkey (if ever decided) will be made in another commit.
Fri, 13 Jan 2012 01:42:47 +0100 phases: move phase according what was pushed not only what was added added
Pierre-Yves David <pierre-yves.david@ens-lyon.org> [Fri, 13 Jan 2012 01:42:47 +0100] rev 15891
phases: move phase according what was pushed not only what was added added This fix the lack phase movement when a locally secret changeset without added children was pushed to the repository. In such case, this changeset would be present in the bundle source, but not in the ``added`` variable.
Fri, 13 Jan 2012 01:29:03 +0100 revlog: make addgroup returns a list of node contained in the added source
Pierre-Yves David <pierre-yves.david@ens-lyon.org> [Fri, 13 Jan 2012 01:29:03 +0100] rev 15890
revlog: make addgroup returns a list of node contained in the added source This list will contains any node see in the source, not only the added one. This is intended to allow phase to be move according what was pushed by client not only what was added.
Thu, 12 Jan 2012 01:25:57 +0100 phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org> [Thu, 12 Jan 2012 01:25:57 +0100] rev 15889
phases: make secret changeset undiscoverable in all case This apply the redefined stronger semantic of secret. Secret changeset can still leak in various way. Those leak will need to be fixed individualy
Wed, 11 Jan 2012 17:26:27 +0100 phases: exclude secret when doing a local clone
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 11 Jan 2012 17:26:27 +0100] rev 15888
phases: exclude secret when doing a local clone This is achieved by denying copy clone when any secret changeset exist.
Fri, 13 Jan 2012 02:30:43 +0100 bookmarks: primarily use repo lock, not wlock
Mads Kiilerich <mads@kiilerich.com> [Fri, 13 Jan 2012 02:30:43 +0100] rev 15887
bookmarks: primarily use repo lock, not wlock Bookmarks are repository data, not working directory data. Only the current bookmark is working directory data. Some lock shuffling is required to avoid lockout between the initial mock lock and locking of the localrepo instance that is created after copying.
Fri, 13 Jan 2012 02:29:38 +0100 localrepo: update branchcache in a more reliable way
Mads Kiilerich <mads@kiilerich.com> [Fri, 13 Jan 2012 02:29:38 +0100] rev 15886
localrepo: update branchcache in a more reliable way test-mq-cache.t did apparently look at stale cache content. Testing with different locking mechanism happened to update the cache more frequently and thus caused a test failure.
Fri, 13 Jan 2012 01:19:08 +0100 tests: make qnew in test-mq-caches.t stable
Mads Kiilerich <mads@kiilerich.com> [Fri, 13 Jan 2012 01:19:08 +0100] rev 15885
tests: make qnew in test-mq-caches.t stable The unstable hashes did for other reasons not show up in the test output.
Fri, 13 Jan 2012 01:19:08 +0100 localrepo: remove spurious updatebranchcache return value
Mads Kiilerich <mads@kiilerich.com> [Fri, 13 Jan 2012 01:19:08 +0100] rev 15884
localrepo: remove spurious updatebranchcache return value - it was left over from the refactoring in d01e28657429.
Wed, 11 Jan 2012 02:29:56 +0100 mq: only save dirty files once when savedirty is called multiple times
Mads Kiilerich <mads@kiilerich.com> [Wed, 11 Jan 2012 02:29:56 +0100] rev 15883
mq: only save dirty files once when savedirty is called multiple times
Wed, 11 Jan 2012 02:29:56 +0100 mq: remove early wlock release in qnew
Mads Kiilerich <mads@kiilerich.com> [Wed, 11 Jan 2012 02:29:56 +0100] rev 15882
mq: remove early wlock release in qnew It seems like something that missed the refactoring in 97b734fb9c6f.
Wed, 11 Jan 2012 02:29:55 +0100 mq: use .invalidate to cancel dirty mq state when cancelling transaction
Mads Kiilerich <mads@kiilerich.com> [Wed, 11 Jan 2012 02:29:55 +0100] rev 15881
mq: use .invalidate to cancel dirty mq state when cancelling transaction Before the code optimistically relied on savedirty not being called a cancelled transaction. If it was called it could save incorrect data. Instead we now start using the invalidate method introduced in b169ba60eebe.
Wed, 11 Jan 2012 02:29:55 +0100 mq: make qsave implementation more explicit
Mads Kiilerich <mads@kiilerich.com> [Wed, 11 Jan 2012 02:29:55 +0100] rev 15880
mq: make qsave implementation more explicit It wasn't obvious from the code how qsave mocked around with .hg/patches and .hg/patches.? and what was going on. This makes it more explicit so it will survive future refactorings.
Wed, 11 Jan 2012 02:28:36 +0100 mq: consistently use boolean values for dirty flags
Mads Kiilerich <mads@kiilerich.com> [Wed, 11 Jan 2012 02:28:36 +0100] rev 15879
mq: consistently use boolean values for dirty flags
Wed, 11 Jan 2012 02:28:12 +0100 mq: minor cleanup
Mads Kiilerich <mads@kiilerich.com> [Wed, 11 Jan 2012 02:28:12 +0100] rev 15878
mq: minor cleanup
Fri, 13 Jan 2012 01:19:07 +0100 tag: lock before tagging
Mads Kiilerich <mads@kiilerich.com> [Fri, 13 Jan 2012 01:19:07 +0100] rev 15877
tag: lock before tagging
Fri, 13 Jan 2012 01:19:07 +0100 tests: lock before creating transaction in test-filelog
Mads Kiilerich <mads@kiilerich.com> [Fri, 13 Jan 2012 01:19:07 +0100] rev 15876
tests: lock before creating transaction in test-filelog
Fri, 13 Jan 2012 01:19:07 +0100 debugbuilddag: lock repo before starting transaction
Mads Kiilerich <mads@kiilerich.com> [Fri, 13 Jan 2012 01:19:07 +0100] rev 15875
debugbuilddag: lock repo before starting transaction
Fri, 13 Jan 2012 01:19:07 +0100 rebase: take locks in the right order
Mads Kiilerich <mads@kiilerich.com> [Fri, 13 Jan 2012 01:19:07 +0100] rev 15874
rebase: take locks in the right order repo.lock was taken before repo.wlock - that could in principle cause a deadlock.
Wed, 11 Jan 2012 01:56:05 +0100 tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com> [Wed, 11 Jan 2012 01:56:05 +0100] rev 15873
tests: keep track of all check-code.py warnings
Sun, 15 Jan 2012 13:39:09 +0100 filectx: typo in comment stable
Christian Ebert <blacktrash@gmx.net> [Sun, 15 Jan 2012 13:39:09 +0100] rev 15872
filectx: typo in comment
Sun, 15 Jan 2012 13:37:33 +0100 keyword: update filectx.cmp monkeypatch to handle '\1\n' at start of file stable
Christian Ebert <blacktrash@gmx.net> [Sun, 15 Jan 2012 13:37:33 +0100] rev 15871
keyword: update filectx.cmp monkeypatch to handle '\1\n' at start of file Analogous to 012b285cf643.
Wed, 11 Jan 2012 16:54:29 +0000 bugzilla: make XMLRPC interface support http and https access stable
Jim Hague <jim.hague@acm.org> [Wed, 11 Jan 2012 16:54:29 +0000] rev 15870
bugzilla: make XMLRPC interface support http and https access Inadvertently support is currently only for https. For some reason I thought xmlrpclib.SafeTransport did http and https, but it is https only. So create http and https XMLRPC transports that retain cookies. Decide which to use by inspecting the Bugzilla URL.
Fri, 13 Jan 2012 11:29:53 -0600 merge with stable
Matt Mackall <mpm@selenic.com> [Fri, 13 Jan 2012 11:29:53 -0600] rev 15869
merge with stable
Fri, 13 Jan 2012 11:29:40 -0600 merge with i18n
Matt Mackall <mpm@selenic.com> [Fri, 13 Jan 2012 11:29:40 -0600] rev 15868
merge with i18n
Thu, 12 Jan 2012 17:50:48 +0700 i18n-ru: editorial for 'abort' and 'pipe'
Andrei Polushin <polushin@gmail.com> [Thu, 12 Jan 2012 17:50:48 +0700] rev 15867
i18n-ru: editorial for 'abort' and 'pipe'
Thu, 12 Jan 2012 02:12:00 +0700 i18n-ru: editorial for 'diff'
Andrei Polushin <polushin@gmail.com> [Thu, 12 Jan 2012 02:12:00 +0700] rev 15866
i18n-ru: editorial for 'diff' * * * i18n-ru: editorial for 'diff'
Thu, 12 Jan 2012 02:02:11 +0700 i18n-ru: editorial for 'guard'
Andrei Polushin <polushin@gmail.com> [Thu, 12 Jan 2012 02:02:11 +0700] rev 15865
i18n-ru: editorial for 'guard'
Wed, 11 Jan 2012 04:32:48 +0700 i18n-ru: vocabulary edited, minor corrections in translations.
Andrei Polushin <polushin@gmail.com> [Wed, 11 Jan 2012 04:32:48 +0700] rev 15864
i18n-ru: vocabulary edited, minor corrections in translations.
Wed, 11 Jan 2012 04:12:11 +0700 i18n-ru: using correct abbreviated units for megabytes.
Andrei Polushin <polushin@gmail.com> [Wed, 11 Jan 2012 04:12:11 +0700] rev 15863
i18n-ru: using correct abbreviated units for megabytes. See http://ru.wikipedia.org/wiki/МБ
Wed, 11 Jan 2012 18:14:55 +0100 help: fix column alignment in "hg help" output
Olav Reinert <seroton10@gmail.com> [Wed, 11 Jan 2012 18:14:55 +0100] rev 15862
help: fix column alignment in "hg help" output The output of "hg help" is changed to ensure that the column containing descriptions of commands, extensions, and other topics is correctly alignmened.
Wed, 11 Jan 2012 18:08:25 +0100 minirst: simplify and standardize field list formatting
Olav Reinert <seroton10@gmail.com> [Wed, 11 Jan 2012 18:08:25 +0100] rev 15861
minirst: simplify and standardize field list formatting The default width of field lists is changed from 12 to 14 to align minirst with the rst2html tool. Shrinking the width of the left column to fit the content is removed, to keep formatting simple and uniform.
Wed, 11 Jan 2012 16:53:51 +0100 largefiles: correctly download new largefiles when merging
Na'Tosha Bard <natosha@unity3d.com> [Wed, 11 Jan 2012 16:53:51 +0100] rev 15860
largefiles: correctly download new largefiles when merging There is a bug in the merge process where, if a new largefile is introduced in a merge and the user does not have that largefile in his repo's local store nor in his system cache, the working copy will retain the old largefile. Upon the commit of the merge, the standin is re-written to contain the hash of the old largefile, and the lfdirstate retains a "Modified" status for the file. The end result is that the largefile can show up in the merge commit as "Modified", but the standin has no diff. This is wrong in two ways: 1) Such a "wedged" history with a nonsense change in a commit should not be possible 2) It effectively reverts a largefile to an old version when doing a merge This is caused by the fact that the updatelfiles() command always checks the current largefile's hash against the hash stored in the current node's standin. This is correct behavior in every case except for a merge. When merging, we must assume that the standin in the working copy contains the correct hash, because the original hg.merge() has already updated it for us. This patch fixes the issue by patching the repo object to carry a "_ismerging" attribute, that the updatelfiles() command checks for. When this attribute is found, it checks against the working copy's standin, rather than the standin in the current node.
Wed, 11 Jan 2012 15:38:31 +0100 tests: add htmlcov option
Markus Zapke-Gründemann <info@keimlink.de> [Wed, 11 Jan 2012 15:38:31 +0100] rev 15859
tests: add htmlcov option
Thu, 12 Jan 2012 14:39:02 -0600 run-tests: use a list comprehension instead of map
Matt Mackall <mpm@selenic.com> [Thu, 12 Jan 2012 14:39:02 -0600] rev 15858
run-tests: use a list comprehension instead of map
Wed, 11 Jan 2012 15:37:25 +0100 tests: fix omit path list
Markus Zapke-Gründemann <info@keimlink.de> [Wed, 11 Jan 2012 15:37:25 +0100] rev 15857
tests: fix omit path list All directories need a trailing asterisk. Otherwise the files are not excluded from coverage.
Fri, 13 Jan 2012 14:52:47 +0100 commands: partial backout of fbb68b382040
Martin Geisler <mg@aragost.com> [Fri, 13 Jan 2012 14:52:47 +0100] rev 15856
commands: partial backout of fbb68b382040
Fri, 13 Jan 2012 11:53:51 +0100 phase: add metavar to -r help text
Martin Geisler <mg@aragost.com> [Fri, 13 Jan 2012 11:53:51 +0100] rev 15855
phase: add metavar to -r help text
Fri, 13 Jan 2012 11:50:06 +0100 phase: the REV argument can be repeated
Martin Geisler <mg@aragost.com> [Fri, 13 Jan 2012 11:50:06 +0100] rev 15854
phase: the REV argument can be repeated
Fri, 13 Jan 2012 11:38:49 +0100 commands: no need to rename merge and phases on import
Martin Geisler <mg@aragost.com> [Fri, 13 Jan 2012 11:38:49 +0100] rev 15853
commands: no need to rename merge and phases on import
Fri, 13 Jan 2012 11:34:09 +0100 phase: there is actually no -C option
Martin Geisler <mg@aragost.com> [Fri, 13 Jan 2012 11:34:09 +0100] rev 15852
phase: there is actually no -C option
Fri, 13 Jan 2012 11:29:47 +0100 phase: use standard syntax for command line flags
Martin Geisler <mg@aragost.com> [Fri, 13 Jan 2012 11:29:47 +0100] rev 15851
phase: use standard syntax for command line flags We don't mark them as literal text and we mention the short option the first time we talk about a given flag.
Fri, 13 Jan 2012 11:26:24 +0100 phase: fix RST markup (use ``...`` for literal text)
Martin Geisler <mg@aragost.com> [Fri, 13 Jan 2012 11:26:24 +0100] rev 15850
phase: fix RST markup (use ``...`` for literal text)
Fri, 13 Jan 2012 11:23:45 +0100 phase: lowercase option help, rephrase slightly
Martin Geisler <mg@aragost.com> [Fri, 13 Jan 2012 11:23:45 +0100] rev 15849
phase: lowercase option help, rephrase slightly
Thu, 12 Jan 2012 00:49:45 +0900 filectx: fix cmp() of file starting with '\1\n' stable
Yuya Nishihara <yuya@tcha.org> [Thu, 12 Jan 2012 00:49:45 +0900] rev 15848
filectx: fix cmp() of file starting with '\1\n' If file data starts with '\1\n', it will be escaped in the revlog to create an empty metadata block, thus adding four bytes to the size in the revlog size index. There's no way to detect that this has happened in filelog.size() faster than decompressing each revision [1]. For filectx.cmp(), we have the size of the file in the working directory available. If it differs by exactly four bytes, it may be this case, so do a full comparison. [1]: http://markmail.org/message/5akdbmmqx7vq2fsg
Wed, 11 Jan 2012 09:27:53 -0600 merge with stable
Matt Mackall <mpm@selenic.com> [Wed, 11 Jan 2012 09:27:53 -0600] rev 15847
merge with stable
Wed, 11 Jan 2012 09:27:37 -0600 merge with i18n
Matt Mackall <mpm@selenic.com> [Wed, 11 Jan 2012 09:27:37 -0600] rev 15846
merge with i18n
Wed, 11 Jan 2012 09:26:47 -0600 merge with i18n stable
Matt Mackall <mpm@selenic.com> [Wed, 11 Jan 2012 09:26:47 -0600] rev 15845
merge with i18n
Tue, 10 Jan 2012 15:56:33 -0200 i18n-pt_BR: synchronized with e6c44dbe902f stable
Wagner Bruna <wbruna@softwareexpress.com.br> [Tue, 10 Jan 2012 15:56:33 -0200] rev 15844
i18n-pt_BR: synchronized with e6c44dbe902f
Tue, 10 Jan 2012 15:48:16 -0200 merge with i18n
Wagner Bruna <wbruna@softwareexpress.com.br> [Tue, 10 Jan 2012 15:48:16 -0200] rev 15843
merge with i18n
Mon, 09 Jan 2012 02:32:01 +0700 i18n-ru: spellcheck
Andrei Polushin <polushin@gmail.com> [Mon, 09 Jan 2012 02:32:01 +0700] rev 15842
i18n-ru: spellcheck
Mon, 09 Jan 2012 01:12:54 +0700 i18n-ru: editorial for vocabulary words.
Andrei Polushin <polushin@gmail.com> [Mon, 09 Jan 2012 01:12:54 +0700] rev 15841
i18n-ru: editorial for vocabulary words. Edited for: backup, bundle, repository, checkout
Sun, 08 Jan 2012 19:16:22 +0700 i18n-ru: editorial for hg help hgignore
Andrei Polushin <polushin@gmail.com> [Sun, 08 Jan 2012 19:16:22 +0700] rev 15840
i18n-ru: editorial for hg help hgignore
Wed, 11 Jan 2012 22:18:20 +0800 tests: make {date|age} template output independent of the current date
Steven Brown <StevenGBrown@gmail.com> [Wed, 11 Jan 2012 22:18:20 +0800] rev 15839
tests: make {date|age} template output independent of the current date
(0) -10000 -3000 -1000 -300 -100 -60 +60 +100 +300 +1000 +3000 +10000 +30000 tip