Fri, 16 Dec 2011 21:09:40 +0900 windows: use upper() instead of lower() or os.path.normcase() stable
FUJIWARA Katsunori <foozy@lares.dti.ne.jp> [Fri, 16 Dec 2011 21:09:40 +0900] rev 15671
windows: use upper() instead of lower() or os.path.normcase() this patch uses upper() instead of lower() or os.path.normcase() for case folding on Windows(NTFS), because lower-ing causes problems for some languages on it. see below for detail about problem of lower-ing: https://blogs.msdn.com/b/michkap/archive/2005/01/16/353873.aspx
Fri, 16 Dec 2011 21:09:40 +0900 icasefs: avoid normcase()-ing in util.fspath() for efficiency stable
FUJIWARA Katsunori <foozy@lares.dti.ne.jp> [Fri, 16 Dec 2011 21:09:40 +0900] rev 15670
icasefs: avoid normcase()-ing in util.fspath() for efficiency 'dirstate._normalize()', the only caller of 'util.fspath()', has already normcase()-ed path before invocation of it. normcase()-ed root can be cached on dirstate side, too. so, this patch changes 'util.fspath()' API specification to avoid normcase()-ing in it.
Fri, 16 Dec 2011 21:09:40 +0900 icasefs: use util.normcase() instead of lower() or os.path.normcase in fspath stable
FUJIWARA Katsunori <foozy@lares.dti.ne.jp> [Fri, 16 Dec 2011 21:09:40 +0900] rev 15669
icasefs: use util.normcase() instead of lower() or os.path.normcase in fspath this also avoids lower()-ing on each path components by reuse the path normcase()-ed at beginning of function.
Fri, 16 Dec 2011 21:09:40 +0900 dirstate: prevent useless util.fspath() invocation for '.' stable
FUJIWARA Katsunori <foozy@lares.dti.ne.jp> [Fri, 16 Dec 2011 21:09:40 +0900] rev 15668
dirstate: prevent useless util.fspath() invocation for '.' at first of dirstate.walk() on case insensitive filesystem, normalization of '.' causes util.fspath() invocation, but '.' is not cached in it. this invocation is not only useless, but also harmful: initial "hg tag" causes creation of ".hgtags" file after dirstate.walk(), and looking up ".hgtags" in cache will fail, because directory contents of root is already cached at util.fspath() invocation for '.'.
Fri, 16 Dec 2011 21:09:40 +0900 icasefs: consider as case sensitive if there is no counterevidence, for safety stable
FUJIWARA Katsunori <foozy@lares.dti.ne.jp> [Fri, 16 Dec 2011 21:09:40 +0900] rev 15667
icasefs: consider as case sensitive if there is no counterevidence, for safety for safety, this patch prevents case-less name from misleading into case insensitivity, even though such names should not be used.
Fri, 16 Dec 2011 21:09:40 +0900 pathauditor: switch normcase logic according to case sensitivity of filesystem stable
FUJIWARA Katsunori <foozy@lares.dti.ne.jp> [Fri, 16 Dec 2011 21:09:40 +0900] rev 15666
pathauditor: switch normcase logic according to case sensitivity of filesystem this patch applies 'util.normcase()' to audit path only on case insensitive filesystem.
Fri, 16 Dec 2011 21:09:40 +0900 pathauditor: preserve case in abort messages stable
FUJIWARA Katsunori <foozy@lares.dti.ne.jp> [Fri, 16 Dec 2011 21:09:40 +0900] rev 15665
pathauditor: preserve case in abort messages this patch uses both plain and normcase()-ed pathes to preserve letter case of path in abort messages.
Fri, 16 Dec 2011 21:09:40 +0900 pathauditor: use normcase()-ed path for audit result cache stable
FUJIWARA Katsunori <foozy@lares.dti.ne.jp> [Fri, 16 Dec 2011 21:09:40 +0900] rev 15664
pathauditor: use normcase()-ed path for audit result cache in current pathauditor implementation, un-normcase()-ed path is stored into and compared with audit result cache. this is not efficiency on case insensitive filesystem.
Fri, 09 Dec 2011 17:35:00 +0100 largefiles: handle merges between normal files and largefiles (issue3084) stable
Martin Geisler <mg@aragost.com> [Fri, 09 Dec 2011 17:35:00 +0100] rev 15663
largefiles: handle merges between normal files and largefiles (issue3084) The largefiles extension prevents users from adding a normal file named 'foo' if there is already a largefile with the same name. However, there was a loop-hole: when merging, it was possible to bring in a normal file named 'foo' while also having a '.hglf/foo' file. This patch fixes this by extending the manifest merge to deal with these kinds of conflicts. If there is a normal file 'foo' in the working copy, and the other parent brings in a '.hglf/foo' file, then the user will be prompted to keep the normal file or the largefile. Likewise for the symmetric case where a normal file is brought in via the second parent. The prompt looks like this: $ hg merge foo has been turned into a largefile use (l)argefile or keep as (n)ormal file? After the merge, either the '.hglf/foo' file or the 'foo' file will have been deleted. This would cause status to return output like: $ hg status M foo R foo To fix this, the lfiles_repo.status method is changed so that a removed normal file isn't shown if there is largefile with the same name, and vice versa for largefiles.
Wed, 14 Dec 2011 15:41:08 +0100 progress: check for ui.quiet and ui.debugflag before we write stable
David Soria Parra <dsp@php.net> [Wed, 14 Dec 2011 15:41:08 +0100] rev 15662
progress: check for ui.quiet and ui.debugflag before we write ui.quiet and ui.debugflag are not initialized during uisetup and reposetup. progressui is always initialized, therefore we have to check during write() if ui.quiet is set or not.
Fri, 16 Dec 2011 18:23:15 -0600 changelog: handle decoding of NULs in extra more carefully (issue3156) stable
Matt Mackall <mpm@selenic.com> [Fri, 16 Dec 2011 18:23:15 -0600] rev 15661
changelog: handle decoding of NULs in extra more carefully (issue3156) Escaped NULs adjacent to [0-7] could be decoded as octal. This hits about 0.24% of changesets with transplant, which stores binary nodes.
Thu, 15 Dec 2011 16:50:21 -0600 merge with stable
Matt Mackall <mpm@selenic.com> [Thu, 15 Dec 2011 16:50:21 -0600] rev 15660
merge with stable
Thu, 15 Dec 2011 23:08:09 +0100 phases: change publish behavior to only alter behavior when server.
Pierre-Yves David <pierre-yves.david@ens-lyon.org> [Thu, 15 Dec 2011 23:08:09 +0100] rev 15659
phases: change publish behavior to only alter behavior when server. Older publish=True was: 1) Content of Publishing server are seen as public by client. 2) Any changegroup *added* to a publish=True server is public. New definition are: 1) Content of Publishing server are seen as public by client. 2) Any changegroup *pushed* to a publish=True server is public. See mercurial/phase.py documentation for exact final behavior
Thu, 15 Dec 2011 13:19:43 -0500 largefiles: don't require a user cache (issue3088) (issue3155) stable
Kevin Gessner <kevin@fogcreek.com> [Thu, 15 Dec 2011 13:19:43 -0500] rev 15658
largefiles: don't require a user cache (issue3088) (issue3155) If the user cache path isn't specified in .hgrc, and it can't be constructed from the environment, don't try to use that cache.
Thu, 15 Dec 2011 15:27:11 -0600 util: don't mess with builtins to emulate buffer()
Matt Mackall <mpm@selenic.com> [Thu, 15 Dec 2011 15:27:11 -0600] rev 15657
util: don't mess with builtins to emulate buffer()
Thu, 15 Dec 2011 14:59:22 -0600 util: clean up function ordering
Matt Mackall <mpm@selenic.com> [Thu, 15 Dec 2011 14:59:22 -0600] rev 15656
util: clean up function ordering
Thu, 15 Dec 2011 14:37:36 -0600 merge with stable
Matt Mackall <mpm@selenic.com> [Thu, 15 Dec 2011 14:37:36 -0600] rev 15655
merge with stable
Thu, 15 Dec 2011 13:57:54 +0100 notify: change behavior of "changegroup" hook
Nikolaus Schueler <nikolaus.schueler@lantiq.com> [Thu, 15 Dec 2011 13:57:54 +0100] rev 15654
notify: change behavior of "changegroup" hook Change the behavior so that the sender (the "From" header in the notification mail) in case of the "changegroup" hook is the user that did the first commit in the changegroup. The option is configurable, if you set "notify.fromauthor" to "True" in your config, the new behavior is activated. If you do not set the option, the behavior is as before. The commit adds to an existing test to show various aspects of the changed behavior.
Thu, 15 Dec 2011 16:23:26 +0100 largefiles: optimize status when files are specified (issue3144)
Na'Tosha Bard <natosha@unity3d.com> [Thu, 15 Dec 2011 16:23:26 +0100] rev 15653
largefiles: optimize status when files are specified (issue3144) This fixes a performance issue with 'hg status' when files are specified on the command-line. Previously, a large amount of largefiles code was executed, even if files were specified on the command-line and those files were not largefiles. This patch fixes the problem by first checking if non-largefiles were specified on the command-line and, just letting the normal status function handle the case if they were. On a brand new machine, the execution time for 'hg status filename' on a repository with largefiles was: real 0m0.636s user 0m0.512s sys 0m0.120s versus the following (the same repository, with largefiles disabled): real 0m0.215s user 0m0.180s sys 0m0.032s After this patch, the performance of 'hg status filename' on the same repository, with largefiles enabled is: real 0m0.228s user 0m0.189s sys 0m0.036s This performance boost is also true when patterns (rather than specific files) are specified on the command-line. In the case where patterns are specified in addition to a file list, we just defer to the normal codepath in order to not spend extra time expanding the patterns to just risk having to expand them again later.
Mon, 12 Dec 2011 15:16:58 +0100 wireproto: handle other server output in pushkey
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 12 Dec 2011 15:16:58 +0100] rev 15652
wireproto: handle other server output in pushkey Remote side may add useful information alongside failure return code. For example "ssl is required". This patch mirror what is done for the unbundle command.
Thu, 15 Dec 2011 11:45:01 +0100 phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 15 Dec 2011 11:45:01 +0100] rev 15651
phases: exchange phase boundaries on push For now phase sync is tried even if push fails with some know pathological case. The exact behavior is to be discussed and implemented later.
Thu, 15 Dec 2011 11:28:42 +0100 phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 15 Dec 2011 11:28:42 +0100] rev 15650
phases: exchange phase boundaries on pull Add an extra argument to addchangegroup to all phase code to execute before the lock is released.
Thu, 15 Dec 2011 02:18:24 +0100 phases: add a function to compute heads from root
Pierre-Yves David <pierre-yves.david@ens-lyon.org> [Thu, 15 Dec 2011 02:18:24 +0100] rev 15649
phases: add a function to compute heads from root
Thu, 15 Dec 2011 11:24:26 +0100 phases: add basic pushkey support
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 15 Dec 2011 11:24:26 +0100] rev 15648
phases: add basic pushkey support
Wed, 26 Oct 2011 14:30:43 +0200 phases: update exchange test to include node hash.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 26 Oct 2011 14:30:43 +0200] rev 15647
phases: update exchange test to include node hash. This will be easier for exchange test.
Thu, 15 Dec 2011 11:57:33 +0100 phases: add a phases.publish option
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 15 Dec 2011 11:57:33 +0100] rev 15646
phases: add a phases.publish option What is a "publishing repository"? ================================== Setting a repository as "publishing" alter its behavior **when used as a server**: all changesets are **seen** as public changesets by clients. So, pushing to a "publishing" repository is the most common way to make changesets public: pushed changesets are seen as public on the remote side and marked as such on local side. Note: the "publishing" property have no effects for local operations. Old repository are publishing ============================= Phase is the first step of a series of features aiming at handling mutable history within mercurial. Old client do not support such feature and are unable to hold phase data. The safest solution is to consider as public any changeset going through an old client. Moreover, most hosting solution will not support phase from the beginning. Having old clients seen as public repositories will not change their usage: public repositories where you push *immutable* public changesets *shared* with others. Why is "publishing" the default? ================================ We discussed above that any changeset from a non-phase aware repository should be seen as public. This means that in the following scenario, X is pulled as public:: ~/A$ old-hg init ~/A$ echo 'babar' > jungle ~/A$ old-hg commit -mA 'X' ~/A$ cd ../B ~/B$ new-hg pull ../A # let's pretend A is served by old-hg ~/B$ new-hg log -r tip summary: X phase: public We want to keep this behavior while creating/serving the A repository with ``new-hg``. Although committing with any ``new-hg`` creates a draft changeset. To stay backward compatible, the pull must see the new commit as public. Non-publishing server will advertise them as draft. Having publishing repository the default is thus necessary to ensure this backward compatibility. This default value can also be expressed with the following sentence: "By default, without any configuration, everything you exchange with the outside is immutable.". This behaviour seems sane. Why allow draft changeset in publishing repository ===================================================== Note: The publish option is aimed at controlling the behavior of *server*. Changeset in any state on a publishing server will **always*** be seen as public by other client. "Passive" repository which are only used as server for pull and push operation are not "affected" by this section. As in the choice for default, the main reason to allow draft changeset in publishing server is backward compatibility. With an old client, the following scenario is valid:: ~/A$ old-hg init ~/A$ echo 'babar' > jungle ~/A$ old-hg commit -mA 'X' ~/A$ old-hg qimport -r . # or any other mutable operation on X If the default is publishing and new commits in such repository are "public" The following operation will be denied as X will be an **immutable** public changeset. However as other clients see X as public, any pull//push (or event pull//pull) will mark X as public in repo A. Allowing enforcement of public changeset only repository through config is probably something to do. This could be done with another "strict" option or a third value config for phase related option (mode=public, publishing(default), mutable)
Mon, 12 Dec 2011 11:54:22 -0600 zsh completion: add support for qfinish
Augie Fackler <durin42@gmail.com> [Mon, 12 Dec 2011 11:54:22 -0600] rev 15645
zsh completion: add support for qfinish
Thu, 15 Dec 2011 14:24:38 -0600 merge with crew
Matt Mackall <mpm@selenic.com> [Thu, 15 Dec 2011 14:24:38 -0600] rev 15644
merge with crew
Thu, 15 Dec 2011 14:24:29 -0600 merge with i18n
Matt Mackall <mpm@selenic.com> [Thu, 15 Dec 2011 14:24:29 -0600] rev 15643
merge with i18n
Sat, 10 Dec 2011 20:48:33 +0200 i18n-de: Error reported by Mathias Goldau and commit msg shortened
Fabian Kreutz <fabian.kreutz@qvantel.com> [Sat, 10 Dec 2011 20:48:33 +0200] rev 15642
i18n-de: Error reported by Mathias Goldau and commit msg shortened
(0) -10000 -3000 -1000 -300 -100 -50 -30 +30 +50 +100 +300 +1000 +3000 +10000 +30000 tip