Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 13 Jul 2009 16:49:05 +0200] rev 9116
inotify: fix issue1375, add a test.
The biggest problem was the data structure, which did not allow changing
a file into a directory or vice versa. This problem is fixed by b55d44719b47.
The walk() method also had an issue in this case:
- we know 'path' as a directory. inotify server sleeps.
- 'path' is deleted
- 'path' is recreated as a file
- the server catches up here, and see the deletion. it instantiates a scan(),
which in its turn calls for walk(repo, path).
- walk() then assumes that 'path' is a directory and calls os.listdir on it,
which raises an OSError(errno.ENOTDIR)
Catch the error, and yield the file instead of the directory contents.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Tue, 26 May 2009 23:00:35 +0900] rev 9115
inotify: server: new data structure to keep track of changes.
== Rationale for the new structure ==
Current structure was a dictionary tree. One directory was tracked
as a dictionary:
- keys: file/subdir name
- values:
- for a file, the status (a/r/m/...)
- for a subdir, the directory representing the subdir
It allowed efficient lookups, no matter of the type of the terminal leaf:
for part in path.split('/'): tree = tree[part]
However, there is no way to represent a directory and a file with the same name
because keys are conflicting in the dictionary. Concrete example:
Initial state:
root dir
|- foo (file)
|- bar (file)
# data state is: {'foo': 'n', 'bar': 'n'}
Remove foo:
root dir
|- bar (file)
# Data becomes {'foo': 'r'} until next commit.
Add foo, as a directory, and foo/barbar file:
root dir
|- bar (file)
|-> foo (dir)
|- barbar (file)
# New state should be represented as:
{'foo': {'barbar': 'a'}, 'bar': 'n'}
however, the key "foo" is already used and represents the old file.
The dirstate:
D foo
A foo/barbar
cannot be represented, hence the need for a new structure.
== The new structure ==
'directory' class. Represents one directory level.
* Notable attributes:
Two dictionaries:
- 'files' Maps filename -> status for the current dir.
- 'dirs' Maps subdir's name -> directory object representing the subdir
* methods
- walk(), formerly server.walk
- lookup(), old server.lookup
- dir(), old server.dir
This new class allows embedding all the tree walks/lookups in its own class,
instead of having everything mixed together in server.
Incidently, since files and directories are not stored in the same
dictionaries, we are solving the previous key conflict problem.
The small drawback is that lookup operation is a bit more complex:
for a path a/b/c/d/e we have to check twice the leaf, if e is a directory or a
file.
Martin Geisler <mg@lazybytes.net> [Sun, 12 Jul 2009 21:41:12 +0200] rev 9114
merge with crew-stable
Martin Geisler <mg@lazybytes.net> [Sun, 12 Jul 2009 21:37:24 +0200] rev 9113
gitweb, monoblue: fix double-spacing in file view (issue1733)
The error was introduced in 338412820a57.
Simon Heimberg <simohe@besonet.ch> [Fri, 10 Jul 2009 17:54:04 +0200] rev 9112
util: use propertycache in opener instead of __getattr__
Martin Geisler <mg@lazybytes.net> [Fri, 10 Jul 2009 23:24:35 +0200] rev 9111
mq: use ui.status when pushing and popping patches
Mads Kiilerich <mads@kiilerich.com> [Thu, 09 Jul 2009 23:59:03 +0200] rev 9110
mq: qpop now tells which patches are popped
When navigating through a patch series by qpushing and qpopping it was easy to
get lost because qpop was silent. I found myself often running qnext after qpop
to see which patch I just dropped - especially if I was about to qrm it. This
patch makes qpop more symmetric to qpush by showing which patches are
applied/"unapplied".
I think it is a good change even though it changes output by adding a new line
of output.
Martin Geisler <mg@lazybytes.net> [Fri, 10 Jul 2009 12:49:29 +0200] rev 9109
merge with crew-stable
Henrik Stuart <hg@hstuart.dk> [Wed, 08 Jul 2009 18:35:13 +0200] rev 9108
url: fix use of non-int port in https connections (issue1725)
Versions of Python before 2.6 cannot automatically convert a given
port number to an integer, so we add a conversion to coerce the given
input to an int.
Martin Geisler <mg@lazybytes.net> [Fri, 10 Jul 2009 01:23:07 +0200] rev 9107
doc/Makefile: let hg1.gendoc.txt depend on gendoc.py
Martin Geisler <mg@lazybytes.net> [Thu, 09 Jul 2009 22:52:39 +0200] rev 9106
keyword: use all caps for 'note:' in help string
The diff, export, log, and status commands write it as 'NOTE:'.
Martin Geisler <mg@lazybytes.net> [Thu, 09 Jul 2009 22:43:24 +0200] rev 9105
notify: fix indentation in module docstring
Martin Geisler <mg@lazybytes.net> [Thu, 09 Jul 2009 22:42:43 +0200] rev 9104
notify: cleanup module docstring
Martin Geisler <mg@lazybytes.net> [Thu, 09 Jul 2009 20:15:15 +0200] rev 9103
convert: fix inconsistent indentation in help text
The sort modes flags and convert.cvsps options were indented while the
convert.hg, convert.svn, and convert.p4 options were not. I've now
un-indented all of them.
Matt Mackall <mpm@selenic.com> [Thu, 09 Jul 2009 19:49:02 -0500] rev 9102
Merge with stable
Matt Mackall <mpm@selenic.com> [Mon, 06 Jul 2009 14:52:44 -0500] rev 9101
filectx: add a hex method
Shun-ichi GOTO <shunichi.goto@gmail.com> [Thu, 09 Jul 2009 22:06:30 +0900] rev 9100
win32mbcs: also wrap windows.pconvert()
Shun-ichi GOTO <shunichi.goto@gmail.com> [Thu, 09 Jul 2009 21:39:19 +0900] rev 9099
Use os.path.split() for MBCS with win32mbcs extension.
Brodie Rao <me+hg@dackz.net> [Wed, 08 Jul 2009 09:48:48 -0400] rev 9098
win32mbcs: look up modules using sys.modules (issue1729)
globals()[module] doesn't work for modules inside of packages, such as
os.path.
Matt Mackall <mpm@selenic.com> [Thu, 09 Jul 2009 17:10:07 -0500] rev 9097
fix memory usage of revlog caches by limiting cache size [issue1639]
Christian Ebert <blacktrash@gmx.net> [Thu, 09 Jul 2009 11:59:12 +0200] rev 9096
keyword: eliminate potential reference cycles from kwrepo
- delete kwrepo.commitctx after using the tweaked version
- prefer self.hook over repo.hook to avoid nesting
Also pass arguments to commit as arbitrary list.
Thanks to Simon Heimberg and Matt Mackall for guidance.
Greg Ward <greg-hg@gerg.ca> [Wed, 08 Jul 2009 22:08:45 -0400] rev 9095
convert/cvs: improve error message on unexpected server output.
Henrik Stuart <henrik.stuart@edlund.dk> [Tue, 07 Jul 2009 19:24:52 +0200] rev 9094
transaction: fix uncaught ENOENT (issue1724)
The opener raises an IOError on errors where transaction expects an
OSError.
Henrik Stuart <hg@hstuart.dk> [Thu, 09 Jul 2009 20:49:02 +0200] rev 9093
branch heads: fix regression introduced in e67e5b60e55f (issue1726)
For merge nodes it is not adequate to only check a single possible
branch head for whether it is an ancestor of the latest head, but it
needs to be done for each possible branch head.
Abderrahim Kitouni <a.kitouni@gmail.com> [Sat, 04 Jul 2009 14:18:15 +0100] rev 9092
subrepo: use hg.repository instead of creating localrepo directly
this way, extensions' reposetup will be called, which allows for git
subrepos to be handled by hg-git (and I believe the same goes for
svn and hgsubversion)
Brendan Cully <brendan@kublai.com> [Thu, 09 Jul 2009 15:14:42 -0700] rev 9091
ignore: separate pattern extraction from match compilation
hgignore files have slightly different syntax from match objects,
e.g. syntax: foo headers, regexp: forms, and re being relre. Put
conversion from hgignore syntax into match syntax into a standalone
function so that it is easier to validate hgignore hunks externally.
Martin Geisler <mg@lazybytes.net> [Thu, 09 Jul 2009 11:59:56 +0200] rev 9090
merge with crew-stable
Martin Geisler <mg@lazybytes.net> [Thu, 09 Jul 2009 11:59:18 +0200] rev 9089
util: remove unused bufsize argument
Removed it correctly this time: the subprocess default is 0, not -1
and so we must pass -1 explicitly. Added a comment to that effect.
Greg Ward <greg-hg@gerg.ca> [Wed, 08 Jul 2009 22:08:45 -0400] rev 9088
convert/cvs: improve error message on unexpected server output.
Martin Geisler <mg@lazybytes.net> [Wed, 08 Jul 2009 23:17:10 +0200] rev 9087
typos: "it's" -> "its"
Martin Geisler <mg@lazybytes.net> [Wed, 08 Jul 2009 23:12:40 +0200] rev 9086
convert: fixed typo in docstring
Bryan O'Sullivan <bos@serpentine.com> [Wed, 08 Jul 2009 17:03:50 -0700] rev 9085
Merge OS X performance regression fix
Bryan O'Sullivan <bos@serpentine.com> [Wed, 08 Jul 2009 17:03:16 -0700] rev 9084
Merge backed out change
Bryan O'Sullivan <bos@serpentine.com> [Wed, 08 Jul 2009 17:01:18 -0700] rev 9083
Backed out changeset fce065538bcf: it caused a 5x performance regression on OS X
Martin Geisler <mg@lazybytes.net> [Wed, 08 Jul 2009 17:14:24 +0200] rev 9082
help: wrapped help strings at 78 characters
Christian Ebert <blacktrash@gmx.net> [Tue, 07 Jul 2009 23:30:53 +0200] rev 9081
keyword: collect kwmaps using a generator expression
Allowed for Python 2.4.
Martin Geisler <mg@lazybytes.net> [Wed, 08 Jul 2009 00:30:21 +0200] rev 9080
commands: avoid bad linebreak in addremove docstring
Martin Geisler <mg@lazybytes.net> [Tue, 07 Jul 2009 23:54:42 +0200] rev 9079
Makefile: wrap hg.pot strings at 82 chars
By default, xgettext will wrap strings at 79 characters. This width
includes the two double-quotes and the '\n' added. Our strings are now
wrapped at 78 characters and a line can therefore be up to 82
characters wide in the .po file.
Setting the width to 82 characters ensures that xgettext does no silly
wrapping on our already-wrapped strings while still wrapping long
one-liners at 82 characters.
Martin Geisler <mg@lazybytes.net> [Tue, 07 Jul 2009 23:54:42 +0200] rev 9078
zeroconf: wrapped docstrings at 78 characters
Martin Geisler <mg@lazybytes.net> [Tue, 07 Jul 2009 23:54:42 +0200] rev 9077
win32mbcs: wrapped docstrings at 78 characters
Martin Geisler <mg@lazybytes.net> [Tue, 07 Jul 2009 23:54:42 +0200] rev 9076
transplant: wrapped docstrings at 78 characters
Martin Geisler <mg@lazybytes.net> [Tue, 07 Jul 2009 23:54:42 +0200] rev 9075
share: wrapped docstrings at 78 characters
Martin Geisler <mg@lazybytes.net> [Tue, 07 Jul 2009 23:54:42 +0200] rev 9074
record: wrapped docstrings at 78 characters
Martin Geisler <mg@lazybytes.net> [Tue, 07 Jul 2009 23:54:42 +0200] rev 9073
rebase: wrapped docstrings at 78 characters
Martin Geisler <mg@lazybytes.net> [Tue, 07 Jul 2009 23:54:42 +0200] rev 9072
purge: wrapped docstrings at 78 characters
Martin Geisler <mg@lazybytes.net> [Tue, 07 Jul 2009 23:54:42 +0200] rev 9071
patchbomb: wrapped docstrings at 78 characters
Martin Geisler <mg@lazybytes.net> [Tue, 07 Jul 2009 23:54:42 +0200] rev 9070
parentrevspec: wrapped docstrings at 78 characters
Martin Geisler <mg@lazybytes.net> [Tue, 07 Jul 2009 23:54:42 +0200] rev 9069
pager: wrapped docstrings at 78 characters
Martin Geisler <mg@lazybytes.net> [Tue, 07 Jul 2009 23:54:42 +0200] rev 9068
notify: wrapped docstrings at 78 characters
Martin Geisler <mg@lazybytes.net> [Tue, 07 Jul 2009 23:54:42 +0200] rev 9067
mq: wrapped docstrings at 78 characters
Martin Geisler <mg@lazybytes.net> [Tue, 07 Jul 2009 23:54:42 +0200] rev 9066
keyword: wrapped docstrings at 78 characters
Martin Geisler <mg@lazybytes.net> [Tue, 07 Jul 2009 23:54:42 +0200] rev 9065
interhg: wrapped docstrings at 78 characters
Martin Geisler <mg@lazybytes.net> [Tue, 07 Jul 2009 23:54:42 +0200] rev 9064
highlight: wrapped docstrings at 78 characters
Martin Geisler <mg@lazybytes.net> [Tue, 07 Jul 2009 23:54:42 +0200] rev 9063
hgk: wrapped docstrings at 78 characters
Martin Geisler <mg@lazybytes.net> [Tue, 07 Jul 2009 23:54:42 +0200] rev 9062
hgcia: wrapped docstrings at 78 characters
Martin Geisler <mg@lazybytes.net> [Tue, 07 Jul 2009 23:54:42 +0200] rev 9061
graphlog: wrapped docstrings at 78 characters
Martin Geisler <mg@lazybytes.net> [Tue, 07 Jul 2009 23:54:42 +0200] rev 9060
fetch: wrapped docstrings at 78 characters
Martin Geisler <mg@lazybytes.net> [Tue, 07 Jul 2009 23:54:42 +0200] rev 9059
extdiff: wrapped docstrings at 78 characters
Martin Geisler <mg@lazybytes.net> [Tue, 07 Jul 2009 23:54:42 +0200] rev 9058
convert: wrapped docstrings at 78 characters
Martin Geisler <mg@lazybytes.net> [Tue, 07 Jul 2009 23:54:42 +0200] rev 9057
color: wrapped docstrings at 78 characters
Martin Geisler <mg@lazybytes.net> [Tue, 07 Jul 2009 23:54:42 +0200] rev 9056
churn: wrapped docstrings at 78 characters
Martin Geisler <mg@lazybytes.net> [Tue, 07 Jul 2009 23:54:42 +0200] rev 9055
children: wrapped docstrings at 78 characters
Martin Geisler <mg@lazybytes.net> [Tue, 07 Jul 2009 23:54:42 +0200] rev 9054
bugzilla: wrapped docstrings at 78 characters
Martin Geisler <mg@lazybytes.net> [Tue, 07 Jul 2009 23:54:42 +0200] rev 9053
bookmarks: wrapped docstrings at 78 characters
Martin Geisler <mg@lazybytes.net> [Tue, 07 Jul 2009 23:54:42 +0200] rev 9052
acl: wrapped docstrings at 78 characters
Martin Geisler <mg@lazybytes.net> [Tue, 07 Jul 2009 23:54:30 +0200] rev 9051
commands: wrapped docstrings at 78 characters
We have always had a left margin of 4 characters -- probably just
because that's how docstrings for top-level functions turn out by
default, but it also looks nice in the built-in help.
The docstrings were wrapped at 70 characters, which is the default for
Emacs. However, this gives a right margin of 10 characters in a
standard 80 character terminal.
I've now wrapped the relevant docstrings at 78 characters, effectively
killing the right margin. The asymmetric margins looked a bit odd and
some of the text looked cramped with a right margin, so Dirkjan and I
felt that it was best to remove it entirely. The two character gap was
kept to have some space between the border of the terminal -- it will
also make diffs involving the docstrings fit in a 80 character line.
Martin Geisler <mg@lazybytes.net> [Tue, 07 Jul 2009 23:30:48 +0200] rev 9050
extdiff: fix indentation and use gettext
Martin Geisler <mg@lazybytes.net> [Tue, 07 Jul 2009 17:26:20 +0200] rev 9049
filemerge, subrepo: correct indention
Simon Heimberg <simohe@besonet.ch> [Sun, 21 Jun 2009 01:13:19 +0200] rev 9048
ui: extract choice from prompt
avoid translating single characters (as l for _local or sym_link)
Cédric Duval <cedricduval@free.fr> [Sun, 05 Jul 2009 17:09:01 +0200] rev 9047
patchbomb: use local time for the Date: header
Cédric Duval <cedricduval@free.fr> [Sun, 05 Jul 2009 16:42:10 +0200] rev 9046
patchbomb: fix From_ in the message's envelope
Localized date in the From_ prevents MUAs like mutt from parsing mbox files
generated by patchbomb. Using a 24 characters date in asctime format instead.
Martin Geisler <mg@lazybytes.net> [Tue, 07 Jul 2009 14:20:58 +0200] rev 9045
merge with crew-stable
David Champion <dgc@uchicago.edu> [Tue, 07 Jul 2009 01:25:44 +0200] rev 9044
Bourne shells do not maintain $PWD; update tests accordingly
Brodie Rao <me+hg@dackz.net> [Sun, 05 Jul 2009 18:52:55 -0400] rev 9043
tests: remove more instances of export FOO=bar bashism
Brodie Rao <me+hg@dackz.net> [Sun, 05 Jul 2009 18:52:55 -0400] rev 9042
tests: remove more instances of export FOO=bar bashism
David Champion <dgc@uchicago.edu> [Sun, 05 Jul 2009 13:59:25 -0500] rev 9041
test-gpg: suppress secure memory warning
Some platforms (Solaris for one) does not support secure memory and
would give a warning.
David Champion <dgc@uchicago.edu> [Sun, 05 Jul 2009 13:58:37 -0500] rev 9040
test: fix for compatibilty with true Bourne /bin/sh
'export foo=bar' is an extension, replaced with 'foo=bar; export foo'
Martin Geisler <mg@lazybytes.net> [Sun, 05 Jul 2009 12:50:14 +0200] rev 9039
p4: simplify sort key
Martin Geisler <mg@lazybytes.net> [Sun, 05 Jul 2009 12:43:40 +0200] rev 9038
localrepo: removed unnecessary revkey sort helper
Alejandro Santos <alejolp@alejolp.com> [Sun, 05 Jul 2009 11:06:41 +0200] rev 9037
compat: remove unnecessary diamond-shaped multiple inheritance
Alejandro Santos <alejolp@alejolp.com> [Sun, 05 Jul 2009 11:06:09 +0200] rev 9036
split local and stdlib module imports (eases migration issues)
Alejandro Santos <alejolp@alejolp.com> [Sun, 05 Jul 2009 11:05:31 +0200] rev 9035
compat: don't reference an exception var inside a lambda
Alejandro Santos <alejolp@alejolp.com> [Sun, 05 Jul 2009 11:04:55 +0200] rev 9034
compat: use email in favor of mimetools
Alejandro Santos <alejolp@alejolp.com> [Sun, 05 Jul 2009 11:04:31 +0200] rev 9033
verify: fix scope issues with del statement
Alejandro Santos <alejolp@alejolp.com> [Sun, 05 Jul 2009 11:02:00 +0200] rev 9032
compat: use 'key' argument instead of 'cmp' when sorting a list
Alejandro Santos <alejolp@alejolp.com> [Sun, 05 Jul 2009 11:01:30 +0200] rev 9031
compat: use open() instead of file() everywhere
Alejandro Santos <alejolp@alejolp.com> [Sun, 05 Jul 2009 11:01:01 +0200] rev 9030
compat: can't compare two values of unequal datatypes
Alejandro Santos <alejolp@alejolp.com> [Sun, 05 Jul 2009 11:00:44 +0200] rev 9029
compat: use // for integer division
Alejandro Santos <alejolp@alejolp.com> [Sun, 05 Jul 2009 10:59:54 +0200] rev 9028
tests: add -3 switch to run-tests.py
Christian Ebert <blacktrash@gmx.net> [Sat, 04 Jul 2009 15:26:14 +0200] rev 9027
keyword: remove unused import
Martin Geisler <mg@lazybytes.net> [Sat, 04 Jul 2009 13:31:36 +0200] rev 9026
merge with crew-stable
David Wolever <wolever@cs.toronto.edu> [Sat, 04 Jul 2009 12:40:34 +0200] rev 9025
help: add #revision syntax to the example valid URLs.
Greg Ward <greg@gerg.ca> [Fri, 03 Jul 2009 10:43:46 -0400] rev 9024
context: improve arg-checking assert.
David Wolever <wolever@cs.toronto.edu> [Sat, 04 Jul 2009 12:40:34 +0200] rev 9023
help: add #revision syntax to the example valid URLs.
Martin Geisler <mg@lazybytes.net> [Sat, 04 Jul 2009 12:25:10 +0200] rev 9022
merge wtih crew-stable
Cédric Duval <cedricduval@free.fr> [Sat, 04 Jul 2009 12:12:36 +0200] rev 9021
gendoc: fix localization of help topic
When a topic provides a callable method for its text, most likely
this text will be generated from different parts, so it does not
make sense to apply gettext on the whole result, rather the method
should provide translation by itself.
This is the case with the extensions topic, which triggers a double
gettext call, making the ASCII codec fail when it encounters 8 bit
characters, and prevents the documentation from being built.
Cédric Duval <cedricduval@free.fr> [Sat, 04 Jul 2009 12:06:33 +0200] rev 9020
extensions: remove dead code
enabled used to be a boolean, and somehow that bit of code inadvertently
slipped through during a refactoring. Effectively dead code, as the
condition can never be triggered.
Martin Geisler <mg@lazybytes.net> [Thu, 02 Jul 2009 20:03:58 +0200] rev 9019
merge with crew-stable
Henrik Stuart <hg@hstuart.dk> [Thu, 02 Jul 2009 19:53:20 +0200] rev 9018
acl: read correct index into url for username (issue298)
The index was inadvertedly off-by-one causing the username to be the
remote host rather than the remote user when hosted in a http(s)
session.
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Sat, 27 Jun 2009 13:09:11 +0200] rev 9017
color: don't highlight the summary part of the qseries command
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Sat, 27 Jun 2009 15:28:44 +0200] rev 9016
mq: align columns in verbose qseries output.
Brodie Rao <me+hg@dackz.net> [Wed, 01 Jul 2009 10:19:40 -0400] rev 9015
extensions: remove unused imports
Henri Wiechers <hwiechers@gmail.com> [Fri, 26 Jun 2009 14:42:05 +0200] rev 9014
test python hook configured with python:[file]:[hook] syntax
Adds a test for python hooks configured with python:[file]:[hook] syntax
in .hgrc. Increases the test coverage for mercurial/hook from 92% (79/85)
to 96% (82/85).
Christian Ebert <blacktrash@gmx.net> [Mon, 29 Jun 2009 23:46:28 +0200] rev 9013
keyword: break overlong line
Cédric Duval <cedricduval@free.fr> [Wed, 01 Jul 2009 23:15:26 +0200] rev 9012
bisect: fix format specifiers for integers
Matt Mackall <mpm@selenic.com> [Wed, 01 Jul 2009 16:47:46 -0500] rev 9011
Added signature for changeset 196d40e7c885
Matt Mackall <mpm@selenic.com> [Wed, 01 Jul 2009 16:47:42 -0500] rev 9010
Added tag 1.3 for changeset 196d40e7c885
Matt Mackall <mpm@selenic.com> [Wed, 01 Jul 2009 13:57:01 -0500] rev 9009
Merge with i18n
Wagner Bruna <wbruna@softwareexpress.com.br> [Wed, 01 Jul 2009 08:51:22 -0300] rev 9008
i18n-pt_BR: synchronized with 59bb11a97fe5
FUJIWARA Katsunori <foozy@lares.dti.ne.jp> [Wed, 01 Jul 2009 18:08:37 +0900] rev 9007
i18n-jp: translation update for 09c6735e3880
Cédric Duval <cedricduval@free.fr> [Wed, 01 Jul 2009 08:45:12 +0200] rev 9006
i18n-fr: translation of part of the mq extension
Cédric Duval <cedricduval@free.fr> [Wed, 01 Jul 2009 07:29:39 +0200] rev 9005
i18n-fr: translation of the zeroconf extension
Cédric Duval <cedricduval@free.fr> [Wed, 01 Jul 2009 07:21:10 +0200] rev 9004
i18n-fr: translation of the purge extension
Cédric Duval <cedricduval@free.fr> [Wed, 01 Jul 2009 07:15:28 +0200] rev 9003
i18n-fr: translation of the parentrevspec extension
Cédric Duval <cedricduval@free.fr> [Wed, 01 Jul 2009 07:09:44 +0200] rev 9002
i18n-fr: synchronized with 7d39c76be4ee
Martin Geisler <mg@lazybytes.net> [Tue, 30 Jun 2009 23:30:52 +0200] rev 9001
i18n-da: synchronized with 09c6735e3880
Martin Geisler <mg@lazybytes.net> [Tue, 30 Jun 2009 23:17:57 +0200] rev 9000
Merge with mpm
Martin Geisler <mg@lazybytes.net> [Tue, 30 Jun 2009 23:16:38 +0200] rev 8999
i18n-da: use "lap" instead of "rettelse"
Martin Geisler <mg@lazybytes.net> [Tue, 30 Jun 2009 20:25:21 +0200] rev 8998
i18n-da: translated many one-liners
Matt Mackall <mpm@selenic.com> [Wed, 01 Jul 2009 13:55:24 -0500] rev 8997
subrepo: audit subrepo paths
Christian Ebert <blacktrash@gmx.net> [Tue, 30 Jun 2009 11:30:03 +0200] rev 8996
keyword: make repo.commit use a custom commitctx wrapper
This avoids forcing the dirstate of overwritten files to normal
during a commit.
Thanks to Dan Villiom Podlaski Christiansen for the idea of a
"double wrapper", so other extensions can still wrap
repo.commitctx safely.
Matt Mackall <mpm@selenic.com> [Wed, 01 Jul 2009 01:16:19 -0500] rev 8995
commit: lose some pointless 'nothing changed' messages
Move message from localrepo to commands. This drops confusing messages
in subrepo, import, and rebase.
Matt Mackall <mpm@selenic.com> [Wed, 01 Jul 2009 01:05:24 -0500] rev 8994
commit: report modified subrepos in commit editor
Matt Mackall <mpm@selenic.com> [Wed, 01 Jul 2009 00:41:14 -0500] rev 8993
verify: demote warning about nullid in copy to note
Matt Mackall <mpm@selenic.com> [Wed, 01 Jul 2009 00:35:59 -0500] rev 8992
help: add more pointers to commit --close-branch
Matt Mackall <mpm@selenic.com> [Wed, 01 Jul 2009 00:31:59 -0500] rev 8991
branches: add --closed flag for consistency with heads
Matt Mackall <mpm@selenic.com> [Tue, 30 Jun 2009 23:25:53 -0500] rev 8990
addremove: build lists of already added and removed files too (issue1696)
Matt Mackall <mpm@selenic.com> [Tue, 30 Jun 2009 16:11:42 -0500] rev 8989
addremove: pass unknown and deleted to findrenames directly again
Matt Mackall <mpm@selenic.com> [Tue, 30 Jun 2009 15:56:08 -0500] rev 8988
addremove: normalize some variable names
Matt Mackall <mpm@selenic.com> [Mon, 29 Jun 2009 15:34:17 -0500] rev 8987
findrenames: drop unused argument defaults
Brendan Cully <brendan@kublai.com> [Tue, 30 Jun 2009 19:23:50 -0700] rev 8986
zsh completion: update bisect for builtin syntax
Brendan Cully <brendan@kublai.com> [Tue, 30 Jun 2009 18:47:16 -0700] rev 8985
zsh completion: add hg branch
Brendan Cully <brendan@kublai.com> [Tue, 30 Jun 2009 18:45:09 -0700] rev 8984
zsh completion: add hg branches
Brendan Cully <brendan@kublai.com> [Tue, 30 Jun 2009 18:41:43 -0700] rev 8983
zsh completion: basic merge support
Brodie Rao <me+hg@dackz.net> [Tue, 30 Jun 2009 17:58:17 -0400] rev 8982
zsh completion: disable defaults and verbose output when completing
If ui.verbose is set to True in hgrc, commands used to provide completions
would yield bad results. For example, qpush completion would include the
patch numbers and statuses as returned by qunapplied -v, instead of just
the patch names.
Defaults are also disabled when completing to prevent similar issues when
an option is set that changes a command's output.
Martin Geisler <mg@lazybytes.net> [Tue, 30 Jun 2009 23:40:03 +0200] rev 8981
Merge with mpm
Brendan Cully <brendan@kublai.com> [Tue, 30 Jun 2009 14:31:16 -0700] rev 8980
zsh completion: include guarded patches in qdelete
Matt Mackall <mpm@selenic.com> [Tue, 30 Jun 2009 12:32:30 -0500] rev 8979
Merge with i18n
Wagner Bruna <wbruna@yahoo.com> [Fri, 26 Jun 2009 09:44:35 -0300] rev 8978
i18n-pt_BR: synchronized with eac360045ba4
Cédric Duval <cedricduval@free.fr> [Sun, 28 Jun 2009 23:44:24 +0200] rev 8977
i18n-fr: translation of the extensions help topic
Cédric Duval <cedricduval@free.fr> [Sun, 28 Jun 2009 22:58:58 +0200] rev 8976
i18n-fr: translation of help screen strings
Cédric Duval <cedricduval@free.fr> [Sun, 28 Jun 2009 21:31:49 +0200] rev 8975
i18n-fr: translation of the patchbomb extension
Cédric Duval <cedricduval@free.fr> [Sun, 28 Jun 2009 20:35:38 +0200] rev 8974
i18n-fr: add a glossary and recommendations
Cédric Duval <cedricduval@free.fr> [Tue, 26 May 2009 23:46:15 +0200] rev 8973
i18n: add French translation file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp> [Sun, 28 Jun 2009 22:24:33 +0900] rev 8972
i18n-jp: translation update for 288ba6d6c5c7
this revision consists of contribution by:
Muraoka Yusuke<yusuke.muraoka@gmail.com>
Tadashi Jokagi <elf@elf.no-ip.org>
UENISHI Kota <kuenishi@gmail.com>
Yuki KODAMA <endflow.net@gmail.com>
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
Martin Geisler <mg@lazybytes.net> [Sat, 27 Jun 2009 13:42:40 +0200] rev 8971
i18n-da: translated 50%
This change translates many of the strings from the convert, inotify,
fetch, gpg, and transplant extensions.
Martin Geisler <mg@lazybytes.net> [Sat, 27 Jun 2009 12:31:41 +0200] rev 8970
convert: do not ask for translation of "%s %s"
Martin Geisler <mg@lazybytes.net> [Sat, 27 Jun 2009 12:21:26 +0200] rev 8969
i18n-da: translated cmdline help strings
Martin Geisler <mg@lazybytes.net> [Wed, 24 Jun 2009 20:57:39 +0200] rev 8968
i18n-da: translated log and some mq commands
Martin Geisler <mg@lazybytes.net> [Wed, 24 Jun 2009 18:31:46 +0200] rev 8967
i18n-da: change "arkiv" to "depot"
Martin Geisler <mg@lazybytes.net> [Wed, 24 Jun 2009 17:45:43 +0200] rev 8966
i18n-da: sync with 288ba6d6c5c7
Dongsheng Song <songdongsheng@live.cn> [Wed, 24 Jun 2009 10:21:59 +0800] rev 8965
i18n-zh: sync with 288ba6d6c5c7(2009-06-24 04:43:09+08:00)
Cédric Duval <cedricduval@free.fr> [Mon, 29 Jun 2009 19:28:54 +0200] rev 8964
extensions: catch OSError when hgext is not accessible (issue1708)
Temporary workaround for issue1708: on win32 with py2exe, hgext is distributed
inside a zipped file (which anyway does not contain the py files from which we
ought to extract the documentation strings), which raises a WindowsError
(subclasses OSError).
This means that on such platforms the list of disabled extensions won't be
available. Real fix postponed for after Mercurial 1.3.
Brodie Rao <me+hg@dackz.net> [Wed, 06 May 2009 16:27:50 -0400] rev 8963
color: wrap qdiff/qseries after all extensions are loaded
Brodie Rao <me+hg@dackz.net> [Sun, 28 Jun 2009 16:03:10 -0400] rev 8962
atom: use urlescape in filelog's file link
Brendan Cully <brendan@kublai.com> [Mon, 29 Jun 2009 09:32:06 -0700] rev 8961
Relicense zsh completion script under zsh license.
Steve agreed some time ago.
Brendan Cully <brendan@kublai.com> [Mon, 29 Jun 2009 09:00:37 -0700] rev 8960
Merge with crew
Brendan Cully <brendan@kublai.com> [Mon, 29 Jun 2009 09:00:26 -0700] rev 8959
Update test output for e67e5b60e55f
Stefano Mioli <jstevie@gmail.com> [Sun, 28 Jun 2009 13:56:34 +0200] rev 8958
commands: improve bundle compression methods description
Christian Ebert <blacktrash@gmx.net> [Sun, 28 Jun 2009 16:23:23 +0200] rev 8957
keyword: improve help for kwfiles
- just use "files" instead of "filenames" (analogous to "hg status -h")
- reference the extension help wrt pattern configuration
Kudos to timeless for helpful suggestions.
Christian Ebert <blacktrash@gmx.net> [Sun, 28 Jun 2009 16:11:27 +0200] rev 8956
keyword: lowercase status flags of untracked files in kwfile output
Document the flags and their meanings in the command help
(thanks to timeless for bringing this to my attention).
Brendan Cully <brendan@kublai.com> [Mon, 29 Jun 2009 08:48:05 -0700] rev 8955
help: branch heads have no descendants, not no children
Brendan Cully <brendan@kublai.com> [Mon, 29 Jun 2009 00:54:23 -0700] rev 8954
Branch heads should not include "heads" that are ancestors of other heads.
For example, given 1 (branch a) -> 2 (branch b) -> 3 (branch a)
I expect "hg heads a" to show only 3.
Discovered by running hg heads HEAD on the mutt repo, where older clients
committed default on top of HEAD.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sun, 28 Jun 2009 19:31:16 +0900] rev 8953
inotify: server: remove wpath method
Only called once. And can be simplified to an easy oneliner.
Simon Heimberg <simohe@besonet.ch> [Sun, 21 Jun 2009 18:11:19 +0200] rev 8952
inotify: return version to client even when not matching
Old clients are expecting a version string even in case of mismatch, otherwise
they get stuck.
Henrik Stuart <hg@hstuart.dk> [Thu, 25 Jun 2009 22:43:58 +0200] rev 8951
windows: fix use of undefined exception (issue1707)
This fixes the implied reliance on pywin32 and the win32 module. This
also fixes a regression in ae275ad46bd0 that made Mercurial unusable
without pywin32.
Christian Ebert <blacktrash@gmx.net> [Sat, 27 Jun 2009 13:05:25 +0200] rev 8950
keyword: improve help for kwfiles
Martin Geisler <mg@lazybytes.net> [Sat, 27 Jun 2009 13:08:07 +0200] rev 8949
highlight: remove author name from docstring
I don't feel this should be part of the documentation. The name of the
original author can of course still be found with 'hg log'.
Martin Geisler <mg@lazybytes.net> [Sat, 27 Jun 2009 12:13:40 +0200] rev 8948
mq: standardize qfinish cmdline help string
Martin Geisler <mg@lazybytes.net> [Sat, 27 Jun 2009 12:05:01 +0200] rev 8947
inotify: OPT -> OPTION in cmdline help string
Martin Geisler <mg@lazybytes.net> [Sat, 27 Jun 2009 12:03:48 +0200] rev 8946
hgk: standardize cmdline help strings
Greg Ward <greg-hg@gerg.ca> [Thu, 25 Jun 2009 09:23:33 -0400] rev 8945
color: don't blow up if configured with unknown color (just warn).
Isaac Jurado <diptongo@gmail.com> [Wed, 24 Jun 2009 19:20:59 +0200] rev 8944
bookmarks: Change references to "repo" by references to "self" (issue1611)
Using "repo" instead of "self" inside bookmark_repo methods was causing a
circular reference and, thus, a memory leak. It has been detected because the
method bundlerepository.__del__ is never called, therefore leaving dangling
uncompressed bundles inside .hg subdirectory.
Greg Ward <greg-hg@gerg.ca> [Tue, 23 Jun 2009 22:20:54 -0400] rev 8943
run-tests: use os.path.realpath() to find hg's setup.py.
Needed for running out-of-tree test suites without --with-hg/--local.
Mads Kiilerich <mads@kiilerich.com> [Wed, 24 Jun 2009 03:05:01 +0200] rev 8942
Make RPM spec in contrib more aligned with the one from Fedora
This is mostly syntactical changes which make the real differences more obvious
when looking at a diff.
contrib/mergetools.rc is now also installed and enabled by default.
Matt Mackall <mpm@selenic.com> [Tue, 23 Jun 2009 17:51:51 -0500] rev 8941
addremove: drop some silly variable assignments
Mads Kiilerich <mads@kiilerich.com> [Sun, 21 Jun 2009 03:13:38 +0200] rev 8940
ui.prompt: Show prompt and selection in non-interactive mode
ui.prompt was completely silent in non-interactive mode, unless in verbose
mode. It is fine that it chooses the default automatically, but it is confusing
that the message and prompt shown interactively can't be found in scripted
tests.
The prompt and selection is now .write'ed instead of .note'ed.
Christian Ebert <blacktrash@gmx.net> [Thu, 25 Jun 2009 09:53:47 +0200] rev 8939
keyword: make kwdemo more translation friendly
Martin Geisler <mg@lazybytes.net> [Wed, 24 Jun 2009 19:15:58 +0200] rev 8938
commands: wrap short descriptions in 'hg help'
The code for wrapping a single line of text with a hanging indent was
duplicated in commands and help -- it's now moved to a new function
called wrap in util.
The function defaults to a line width is 78 chars, and this un-wraps
some command line flag descriptions, hence the test output changes.
Martin Geisler <mg@lazybytes.net> [Wed, 24 Jun 2009 18:40:13 +0200] rev 8937
commands: add "--" to command line flag in branches docstring
Dirkjan Ochtman <dirkjan@ochtman.nl> [Wed, 24 Jun 2009 15:32:37 +0200] rev 8936
change wiki/bts URLs to point to new hostname
Dirkjan Ochtman <dirkjan@ochtman.nl> [Wed, 24 Jun 2009 13:42:34 +0200] rev 8935
extensions: change descriptions for hook-providing extensions
Thanks to timeless and Dave Townsend for advice!
Dirkjan Ochtman <dirkjan@ochtman.nl> [Wed, 24 Jun 2009 13:42:02 +0200] rev 8934
extensions: change descriptions for extensions providing a few commands
Dirkjan Ochtman <dirkjan@ochtman.nl> [Wed, 24 Jun 2009 13:10:05 +0200] rev 8933
help: rewrap extension description line length at 78 instead of 70
Dirkjan Ochtman <dirkjan@ochtman.nl> [Wed, 24 Jun 2009 12:25:56 +0200] rev 8932
extensions: fix up description lines some more
Dirkjan Ochtman <dirkjan@ochtman.nl> [Wed, 24 Jun 2009 12:04:19 +0200] rev 8931
commands: add note about import retrieving patches from URLs
Dirkjan Ochtman <dirkjan@ochtman.nl> [Wed, 24 Jun 2009 12:03:53 +0200] rev 8930
windows: import WinIOError from win32 module (issue1707)
Quick fix pending further refactoring of windows error handling.
Dirkjan Ochtman <dirkjan@ochtman.nl> [Wed, 24 Jun 2009 12:03:13 +0200] rev 8929
mq: compact & rewrap documentation for qdelete command
Martin Geisler <mg@lazybytes.net> [Tue, 23 Jun 2009 23:05:51 +0200] rev 8928
test-globalopts: broken by output change in 62e3b9466700
Matt Mackall <mpm@selenic.com> [Tue, 23 Jun 2009 15:43:09 -0500] rev 8927
Merge with i18n
Wagner Bruna <wbruna@softwareexpress.com.br> [Mon, 22 Jun 2009 15:58:22 -0300] rev 8926
i18n-pt_BR: synchronized with 3ad0b5ddae58
Martin Geisler <mg@lazybytes.net> [Mon, 22 Jun 2009 22:22:48 +0200] rev 8925
merged with crew
Wagner Bruna <wbruna@softwareexpress.com.br> [Mon, 22 Jun 2009 15:58:21 -0300] rev 8924
i18n-pt_BR: minor rewording and formatting fixes
Wagner Bruna <wbruna@softwareexpress.com.br> [Mon, 22 Jun 2009 15:58:12 -0300] rev 8923
i18n-pt_BR: synchronized with d9f4c182aeca
Wagner Bruna <wbruna@softwareexpress.com.br> [Fri, 19 Jun 2009 12:38:04 -0300] rev 8922
i18n-pt_BR: synchronized with 708938509732
Wagner Bruna <wbruna@softwareexpress.com.br> [Fri, 19 Jun 2009 12:34:12 -0300] rev 8921
i18n-pt_BR: synchronized with fccdf5ca5065
Martin Geisler <mg@lazybytes.net> [Sun, 21 Jun 2009 20:09:03 +0200] rev 8920
merged Greek translation
Giorgos Keramidas <keramida@ceid.upatras.gr> [Sun, 25 Jan 2009 17:35:38 +0200] rev 8919
Add the start of a new translation of Mercurial to Greek (UTF-8)
Martin Geisler <mg@lazybytes.net> [Sun, 21 Jun 2009 19:27:09 +0200] rev 8918
i18n-da: sync with hg.pot
- translated fuzzy strings
- removed old unused strings
Martin Geisler <mg@lazybytes.net> [Sun, 21 Jun 2009 19:12:03 +0200] rev 8917
commands: removed redundant line from push docstring
Martin Geisler <mg@lazybytes.net> [Sun, 21 Jun 2009 19:06:57 +0200] rev 8916
merged with crew
Martin Geisler <mg@lazybytes.net> [Sat, 20 Jun 2009 18:58:34 +0200] rev 8915
i18n-da: merged translation with TortoiseHg
Martin Geisler <mg@lazybytes.net> [Sun, 21 Jun 2009 12:39:38 +0200] rev 8914
i18n-da: translate fuzzy strings
Martin Geisler <mg@lazybytes.net> [Sun, 21 Jun 2009 01:12:16 +0200] rev 8913
i18n-da: sync with hg.pot
Martin Geisler <mg@lazybytes.net> [Sun, 21 Jun 2009 01:06:24 +0200] rev 8912
i18n-da: add missing newline
Sune Foldager <cryo@cyanite.org> [Sat, 20 Jun 2009 19:46:01 +0200] rev 8911
translated a bunch of strings to danish
Martin Geisler <mg@lazybytes.net> [Fri, 19 Jun 2009 10:30:18 +0200] rev 8910
interhg: escape backslashes in docstring
Martin Geisler <mg@lazybytes.net> [Fri, 19 Jun 2009 10:24:34 +0200] rev 8909
interhg: remove unnecessary escaping
Dongsheng Song <dongsheng.song@gmail.com> [Fri, 19 Jun 2009 14:28:29 +0800] rev 8908
Fix warning: Seen unexpected token "%"
Fred Wulff <frew@cs.stanford.edu> [Fri, 17 Apr 2009 16:34:43 -0700] rev 8907
Add (pre)outgoing hooks for local clones.
Stefano Tortarolo <stefano.tortarolo@gmail.com> [Tue, 23 Jun 2009 14:14:48 +0200] rev 8906
contrib/buildrpm: force en_US locale during changelog's creation
Running this script using a different locale (i.e., Italian) returns
an error:
$ ./contrib/buildrpm
sto aggiornando la directory di lavoro
1060 file aggiornati, 0 file merge, 0 file rimossi, 0 file non risolti
errore: data errata in %changelog: mar giu 23 2009 Stefano Tortarolo <stefano.tortarolo@gmail.com> 1.2.1-1034
Stefano Tortarolo <stefano.tortarolo@gmail.com> [Tue, 23 Jun 2009 14:12:17 +0200] rev 8905
contrib/buildrpm: set python requirement to 2.4
Cédric Duval <cedricduval@free.fr> [Tue, 23 Jun 2009 22:20:25 +0200] rev 8904
mq: no longer mention the deprecated qdelete's --revision option
The option will no longer show up in the list, unless --verbose is used.
'qdel -r' has been deprecated in favor of qfinish since the 1.1 release.
It is still fully functional, but new users need not learn about it.
Henrik Stuart <hg@hstuart.dk> [Tue, 23 Jun 2009 21:49:49 +0200] rev 8903
help: describe bundle compression methods (issue1523)
Steve Losh <steve@stevelosh.com> [Sun, 31 May 2009 03:09:00 -0400] rev 8902
Add a forget command for easily untracking files.
This command does exactly what 'hg remove -Af [FILES]' does.
The reason for creating a new command is that the options for 'hg remove'
are confusing (-A removes only deleted files, -f forces deletion, and using
both means *the exact opposite of both*).
[mpm: simplified help text, code, and updated tests]
Mads Kiilerich <mads@kiilerich.com> [Sun, 21 Jun 2009 03:11:52 +0200] rev 8901
test merge-tools internal:dump and internal:prompt
Martin Geisler <mg@lazybytes.net> [Tue, 23 Jun 2009 15:51:27 +0200] rev 8900
hgrc.5: remove reference to DEFAULT section
Martin Geisler <mg@lazybytes.net> [Tue, 23 Jun 2009 15:50:32 +0200] rev 8899
hgrc.5: mark more literal strings
Martin Geisler <mg@lazybytes.net> [Tue, 23 Jun 2009 15:16:19 +0200] rev 8898
hgrc.5: markup compromis compatible with 7.1.2 and 8.4.5
Martin Geisler <mg@lazybytes.net> [Tue, 23 Jun 2009 14:41:16 +0200] rev 8897
test-grep: fixed comment
Cédric Duval <cedricduval@free.fr> [Sun, 21 Jun 2009 20:34:58 +0200] rev 8896
extensions: remove import rendered unnecessary by e4e22a310b62
Cédric Duval <cedricduval@free.fr> [Sun, 21 Jun 2009 20:35:20 +0200] rev 8895
help: fixing non-matching example texts
Cédric Duval <cedricduval@free.fr> [Mon, 22 Jun 2009 15:48:08 +0200] rev 8894
extensions: improve the consistency of synopses
Trying as much as possible to consistently:
- use a present tense predicate followed by a direct object
- verb referring directly to the functionality provided
(ie. not "add command that does this" but simple "do that")
- keep simple and to the point, leaving details for the long help
(width is tight, possibly even more so for translations)
Thanks to timeless, Martin Geisler, Rafael Villar Burke, Dan Villiom
Podlaski Christiansen and others for the helpful suggestions.
Cédric Duval <cedricduval@free.fr> [Mon, 22 Jun 2009 14:49:07 +0200] rev 8893
acl: help improvements
Thanks to timeless for the review.
Cédric Duval <cedricduval@free.fr> [Mon, 22 Jun 2009 14:08:49 +0200] rev 8892
bookmarks: help improvements
- bookmarks are obviously Mercurial's, no need to specify it
- more explicit about the behavior without track.current
- typos
Note: the extension's help is shadowed by that of the command
of the same name and as such will never appear to the user.
Thanks to timeless for the fixes.
Simon Heimberg <simohe@besonet.ch> [Mon, 22 Jun 2009 12:05:11 +0200] rev 8891
patch: use new style class in linereader
Rocco Rutte <pdmef@gmx.net> [Sun, 14 Jun 2009 20:24:18 +0200] rev 8890
convert: fix builtin cvsps when no branchpoints are present
Martin Geisler <mg@lazybytes.net> [Mon, 22 Jun 2009 00:02:31 +0200] rev 8889
help: wrap extension descriptions
Patrick Mezard <pmezard@gmail.com> [Sun, 21 Jun 2009 23:17:05 +0200] rev 8888
convert/svn: drop undocumented and untested revision 'blacklist'
Patrick Mezard <pmezard@gmail.com> [Sun, 21 Jun 2009 23:17:05 +0200] rev 8887
convert/svn: test svn tags encoding
Patrick Mezard <pmezard@gmail.com> [Sun, 21 Jun 2009 23:17:02 +0200] rev 8886
convert/svn: stop returning unicode revision identifiers
Patrick Mezard <pmezard@gmail.com> [Sun, 21 Jun 2009 23:04:02 +0200] rev 8885
convert/svn: remove confusing unicode variable
Patrick Mezard <pmezard@gmail.com> [Sun, 21 Jun 2009 23:04:02 +0200] rev 8884
convert/svn: remove dead code from entry deletion code path
It was made obsolete when multi-branches commit were split into multiple
Mercurial commits.
Patrick Mezard <pmezard@gmail.com> [Sun, 21 Jun 2009 23:04:02 +0200] rev 8883
convert/svn: remove a useless recode() call in deletion path
Patrick Mezard <pmezard@gmail.com> [Sun, 21 Jun 2009 23:04:02 +0200] rev 8882
convert/svn: remove useless encoding/decoding calls (issue1676)
Patrick Mezard <pmezard@gmail.com> [Sun, 21 Jun 2009 23:04:01 +0200] rev 8881
convert/svn: remove dead code and obsolete comments
Greg Ward <greg-hg@gerg.ca> [Sun, 21 Jun 2009 11:23:16 -0400] rev 8880
help: improve grammar/wording of 'extensions' topic
Cédric Duval <cedricduval@free.fr> [Sun, 21 Jun 2009 17:52:30 +0200] rev 8879
help: more improvements for the extensions topic
- improve help text English (thanks to timeless for corrections)
- rename and simplify functions a little bit, improved comments
Cédric Duval <cedricduval@free.fr> [Sun, 21 Jun 2009 17:19:34 +0200] rev 8878
extensions: use _order to determine if an extension is enabled
Cédric Duval <cedricduval@free.fr> [Sun, 21 Jun 2009 17:18:48 +0200] rev 8877
extensions: check for path existence only when necessary
Dirkjan Ochtman <dirkjan@ochtman.nl> [Sun, 21 Jun 2009 17:35:04 +0200] rev 8876
extensions: remove now-useless pathdirs() function
Dirkjan Ochtman <dirkjan@ochtman.nl> [Sun, 21 Jun 2009 17:34:33 +0200] rev 8875
mq: fix error message for qpush inexistent-patch (issue1702)
Dirkjan Ochtman <dirkjan@ochtman.nl> [Sun, 21 Jun 2009 16:54:57 +0200] rev 8874
highlight: was broken since 580a79dde2a3 (encoding)
Dirkjan Ochtman <dirkjan@ochtman.nl> [Sun, 21 Jun 2009 16:45:47 +0200] rev 8873
help: add/fix docstrings for a bunch of extensions
Dirkjan Ochtman <dirkjan@ochtman.nl> [Sun, 21 Jun 2009 16:35:44 +0200] rev 8872
extensions: simplify by selecting primary hgext
Cédric Duval <cedricduval@free.fr> [Sun, 21 Jun 2009 16:32:00 +0200] rev 8871
extensions: move extensions listing functions from mercurial.help
Includes some small fix-ups to comments in enabled() and disabled().
Dirkjan Ochtman <dirkjan@ochtman.nl> [Sun, 21 Jun 2009 16:27:07 +0200] rev 8870
serve: obey the --encoding option
Mads Kiilerich <mads@kiilerich.com> [Sat, 20 Jun 2009 16:06:55 +0200] rev 8869
contrib/buildrpm: Don't require installed hg, use local hg with pure extensions
Mads Kiilerich <mads@kiilerich.com> [Sat, 20 Jun 2009 16:06:55 +0200] rev 8868
contrib/buildrpm: Don't use perl
Mads Kiilerich <mads@kiilerich.com> [Sat, 20 Jun 2009 16:06:54 +0200] rev 8867
contrib/buildrpm: Support python 2.4 and 2.6
Cédric Duval <cedricduval@free.fr> [Sat, 20 Jun 2009 20:57:13 +0200] rev 8866
help: remove per-extension paragraph on how to enable it
The central place to find this information is the "extensions" help topic.
Cédric Duval <cedricduval@free.fr> [Sat, 20 Jun 2009 20:55:50 +0200] rev 8865
help: expand the extensions topic
Cédric Duval <cedricduval@free.fr> [Sat, 20 Jun 2009 20:55:49 +0200] rev 8864
help: refactor extensions listing, and show enabled ones in the dedicated topic
Cédric Duval <cedricduval@free.fr> [Sat, 20 Jun 2009 20:55:43 +0200] rev 8863
help: adding a new help topic about extensions
Currently listing non-enabled extensions and a short introductory text.
Thanks to Dan Villiom Podlaski Christiansen for the preliminary
proof-of-concept code for listing available extensions.
Matt Mackall <mpm@selenic.com> [Sat, 20 Jun 2009 16:42:51 -0500] rev 8862
bookmarks: add appropriate locking (issue1691)
- make updates of bookmark state locked and atomic
- wrap commit so that commit and bookmarks happen under the same lock
Matt Mackall <mpm@selenic.com> [Sat, 20 Jun 2009 16:42:51 -0500] rev 8861
filemerge: fix internal:dump
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 20 Jun 2009 16:42:51 -0500] rev 8860
hgweb: deny cloning a subpath of a repo
Matt Mackall <mpm@selenic.com> [Sat, 20 Jun 2009 13:00:25 -0500] rev 8859
hgweb: web.encoding should override encoding.encoding (issue1183)
Matt Mackall <mpm@selenic.com> [Sat, 20 Jun 2009 11:50:51 -0500] rev 8858
bdiff: fix compile with GCC -ansi (issue1690)
Matt Mackall <mpm@selenic.com> [Sat, 20 Jun 2009 10:53:47 -0500] rev 8857
tags: silence warning about unknown tags
This is mostly a nuisance and can happen legitimately with pull -r, etc.
Matt Mackall <mpm@selenic.com> [Sat, 20 Jun 2009 09:00:02 -0500] rev 8856
rollback: minor clarification (issue828)
Matt Mackall <mpm@selenic.com> [Sat, 20 Jun 2009 08:29:41 -0500] rev 8855
update: add --check option
Matt Mackall <mpm@selenic.com> [Thu, 18 Jun 2009 23:08:33 -0500] rev 8854
tags: drop nested function
Matt Mackall <mpm@selenic.com> [Thu, 18 Jun 2009 23:04:54 -0500] rev 8853
tags: generate contexts directly
Matt Mackall <mpm@selenic.com> [Thu, 18 Jun 2009 20:50:35 -0500] rev 8852
tags: reverse and simplify head-walking
Matt Mackall <mpm@selenic.com> [Thu, 18 Jun 2009 20:50:33 -0500] rev 8851
tags: simplify rev handling
Matt Mackall <mpm@selenic.com> [Thu, 18 Jun 2009 20:49:50 -0500] rev 8850
tags: fold in _hgtagsnodes
FUJIWARA Katsunori <foozy@lares.dti.ne.jp> [Tue, 19 May 2009 16:49:54 +0900] rev 8849
compare grep result between target and its parent
I found that typical case is that grep target is added at (*) revision
in the tree shown below.
+--- 1(*) --- 3
0
+--- 2 ------ 4
Now, I expect 'hg grep --all' to show only rev:1 which is first
appearance of target line.
But 'hg grep --all' will tell:
target line dis-appeared at 3 => 4
target line appeared at 2 => 3
target line dis-appeared at 1 => 2
target line appeared at 0 => 1
because current 'hg grep' implementation compares not between target
revision and its parent, but between neighbor revisions in walkthrough
order.
I checked performance of this patch by "hg grep --follow --all
walkchangerevs" on whole Mercurial repo, and patched version could
complete as fast as un-patched one.
Henrik Stuart <hg@hstuart.dk> [Sat, 20 Jun 2009 17:09:49 +0200] rev 8848
url: let host port take precedence when connecting to HTTPS
Fixes use of HTTPS connections on non-standard ports.
Henrik Stuart <hg@hstuart.dk> [Sat, 20 Jun 2009 10:58:57 +0200] rev 8847
url: support client certificate files over HTTPS (issue643)
This extends the httpshandler with the means to utilise the auth
section to provide it with a PEM encoded certificate key file and
certificate chain file. This works also with sites that both require
client certificate authentication and basic or digest password
authentication, although the latter situation may require the user to
enter the PEM password multiple times.
Henrik Stuart <hg@hstuart.dk> [Sun, 07 Jun 2009 20:31:38 +0200] rev 8846
acl: support for getting authenticated user from web server (issue298)
Previously, the acl extension just read the current system user, which
is fine for direct file system access and SSH, but will not work for
HTTP(S) as that would return the web server process user identity
rather than the authenticated user. An empty user is returned if the
user is not authenticated.
Henrik Stuart <hg@hstuart.dk> [Sun, 07 Jun 2009 20:15:37 +0200] rev 8845
hgweb: escape REMOTE_HOST when passing url for addchangegroup
If DNS lookups are turned off on the web server, REMOTE_HOST may be
populated with REMOTE_ADDR, which, if the remote is an IPv6 hosts will
contain colons, thus interfering with the separator character. This is
solved by URL quoting the REMOTE_HOST string.
Dirkjan Ochtman <dirkjan@ochtman.nl> [Fri, 19 Jun 2009 14:00:41 +0200] rev 8844
tests: fix test for convert detection of p4 repos
Dirkjan Ochtman <dirkjan@ochtman.nl> [Fri, 19 Jun 2009 13:47:50 +0200] rev 8843
kill trailing whitespace
Peter Arrenbrecht <peter.arrenbrecht@gmail.com> [Fri, 19 Jun 2009 13:44:23 +0200] rev 8842
graphmod/webcommands: use generic DAG walks
Changes graph() to colorededges(), which operates on the new
generic DAG walks and adds color and edge information needed
by the web graph.
This is in preparation of adding DAG walk filters, like the
linear run collapser in the next patch. The idea is to have
a bunch of changelog walkers that return basic data. Then we
can filter this data. Finally we add edge and formatting info
suitable for the output media we want to target (glog, hgweb).
Peter Arrenbrecht <peter.arrenbrecht@gmail.com> [Sat, 16 May 2009 07:12:12 +0200] rev 8841
graphmod: rename a bunch of vars in graph()
Peter Arrenbrecht <peter.arrenbrecht@gmail.com> [Fri, 19 Jun 2009 13:22:32 +0200] rev 8840
graphmod/graphlog: make dag walks carry data as type, payload
Peter Arrenbrecht <peter.arrenbrecht@gmail.com> [Sat, 16 May 2009 07:12:12 +0200] rev 8839
graphlog: rename grapher to asciiedges
Peter Arrenbrecht <peter.arrenbrecht@gmail.com> [Sat, 16 May 2009 07:11:41 +0200] rev 8838
graphlog: move and rename graphabledag to asciiformat
Peter Arrenbrecht <peter.arrenbrecht@gmail.com> [Fri, 19 Jun 2009 13:14:45 +0200] rev 8837
graphmod/graphlog: extract nodelistwalk
Peter Arrenbrecht <peter.arrenbrecht@gmail.com> [Fri, 19 Jun 2009 13:14:01 +0200] rev 8836
graphmod/graphlog: move log walks to graphmod
Peter Arrenbrecht <peter.arrenbrecht@gmail.com> [Thu, 14 May 2009 17:32:31 +0200] rev 8835
graphmod: code cleanup and doc fix
Dirkjan Ochtman <dirkjan@ochtman.nl> [Fri, 19 Jun 2009 13:58:48 +0200] rev 8834
merge: rename -S/--show option to -P/--preview
Dirkjan Ochtman <dirkjan@ochtman.nl> [Fri, 19 Jun 2009 13:58:22 +0200] rev 8833
mq: unify code for qdel -r and qfin
Dirkjan Ochtman <dirkjan@ochtman.nl> [Fri, 19 Jun 2009 12:37:29 +0200] rev 8832
mq: warn about finalizing patches without cset message
Matt Mackall <mpm@selenic.com> [Thu, 18 Jun 2009 16:56:03 -0500] rev 8831
filemerge: add internal:dump
This create foo.{local,other,base} files for people to manually merge
files while littering their working directory.
Matt Mackall <mpm@selenic.com> [Thu, 18 Jun 2009 16:56:02 -0500] rev 8830
filemerge: add internal:prompt target
Frank Kingswood <frank@kingswood-consulting.co.uk> [Thu, 18 Jun 2009 10:39:04 +0100] rev 8829
convert: Make P4 conversion cope with keywords, binary files and symbolic links.
Convert now handles errors from p4 during conversion more gracefully.
If keyword expansion is enabled in a P4 file then keywords will be
unexpanded in hg.
Added testcase for p4 filetypes and keyword (un)expansion.
This testcase ignores UTF and Apple files to avoid binary data.
Edited by pmezard: fixed collation issue on OSX
Chia-Huan Wu <willie.tw@gmail.com> [Thu, 18 Jun 2009 21:13:56 +0200] rev 8828
i18n-zh_TW: Traditional Chinese translation
Martin Geisler <mg@lazybytes.net> [Thu, 18 Jun 2009 15:04:20 +0200] rev 8827
patchbomb: update test output to match 2aff285b902f
Cédric Duval <cedricduval@free.fr> [Wed, 17 Jun 2009 20:54:26 +0200] rev 8826
patchbomb: do not assume the presence of angle brackets around msg-id
RFC 5322 states:
"Semantically, the angle bracket characters are not part of the
msg-id; the msg-id is what is contained between the two angle bracket
characters."
Hence it should be correct to pass a message Id with no angle brackets
to --in-reply-to. Adding them if missing.
Christian Ebert <blacktrash@gmx.net> [Thu, 18 Jun 2009 01:21:26 +0100] rev 8825
keyword: concise help title
Cédric Duval <cedricduval@free.fr> [Thu, 18 Jun 2009 08:18:52 +0200] rev 8824
interhg: upgrade comments to online help and improve them
Some inspiration taken from the wiki page of the extension.
Cédric Duval <cedricduval@free.fr> [Tue, 16 Jun 2009 22:24:46 +0200] rev 8823
churn: improve description
Thanks to Martin Geisler and timeless for the suggested improvements.
Cédric Duval <cedricduval@free.fr> [Wed, 10 Jun 2009 19:59:44 +0200] rev 8822
doc: fix regexp for determining the man page section
Preceding a .* pattern with an other dot serves little purpose,
better anchor the regexp to the start of the file name.
Greg Ward <greg-hg@gerg.ca> [Mon, 15 Jun 2009 20:35:19 -0400] rev 8821
Fix test-convert-cvsnt-mergepoints so it works reliably.
Specifically, always run 'cvs commit' with -f option to force commit;
add one strategic sleep which seems to be necessary for post-merge
clobber-and-commit (-f doesn't force a commit there?).
Greg Ward <greg-hg@gerg.ca> [Mon, 15 Jun 2009 20:35:19 -0400] rev 8820
test-convert-cvsnt-mergepoints: make it work on OS X.
- don't create file 'cvs' where directory 'CVS' already exists
Greg Ward <greg-hg@gerg.ca> [Mon, 15 Jun 2009 20:35:19 -0400] rev 8819
test-convert-cvsnt-mergepoints: ignore differences between CVS 1.11 and 1.12.
- factor out cvsci function (similar to other test-convert-cvs* scripts)
- add filterpath function (also similar to other scripts)
- generally munge the output of CVS
- add lots of output to make it easier to follow when things go wrong
This doesn't make the test pass reliably under CVS 1.11; it just makes
it behave the same as under CVS 1.12, i.e. sometimes it passes and
sometimes it fails. Failure is more frequent with faster hardware.
Greg Ward <greg-hg@gerg.ca> [Mon, 15 Jun 2009 20:35:19 -0400] rev 8818
Rename CVSNT "mergepoints" test and make it executable.
- rename test-convert-cvs-builtincvsps-cvsnt-mergepoints
(and related files) to test-convert-cvsnt-mergepoints
- this ensures that the test will be run, but does NOT make
it pass: in particularly, it fails regularly for me due
to the inconsistent behaviour of CVS itself
- expect "Branchpoints:" in debugcvsps output
Colin Caughie <c.caughie@indigovision.com> [Tue, 16 Jun 2009 16:22:42 +0100] rev 8817
Fixed patch.eol bug that truncated all patched lines to one character
Also updated the import-eol test to test with lines longer than one character,
and also empty lines.
Matt Mackall <mpm@selenic.com> [Mon, 15 Jun 2009 02:51:10 -0500] rev 8816
subrepo: add a test
Matt Mackall <mpm@selenic.com> [Mon, 15 Jun 2009 02:46:20 -0500] rev 8815
subrepo: basic push support
Matt Mackall <mpm@selenic.com> [Mon, 15 Jun 2009 02:45:38 -0500] rev 8814
subrepo: add update/merge logic
Matt Mackall <mpm@selenic.com> [Mon, 15 Jun 2009 02:45:38 -0500] rev 8813
commit: recurse into subrepositories
Matt Mackall <mpm@selenic.com> [Mon, 15 Jun 2009 02:45:38 -0500] rev 8812
subrepo: introduce basic state parsing
Patrick Mezard <pmezard@gmail.com> [Mon, 15 Jun 2009 00:03:27 +0200] rev 8811
Make mq, record and transplant honor patch.eol
Patrick Mezard <pmezard@gmail.com> [Mon, 15 Jun 2009 00:03:26 +0200] rev 8810
Add patch.eol to ignore EOLs when patching (issue1019)
The intent is to fix many issues involving patching when win32ext is enabled.
With win32ext, the working directory and repository files EOLs are not the same
which means that patches made on a non-win32ext host do not apply cleanly
because of EOLs discrepancies. A theorically correct approach would be
transform either the patched file or the patch content with the
encoding/decoding filters used by win32ext. This solution is tricky to
implement and invasive, instead we prefer to address the win32ext case, by
offering a way to ignore input EOLs when patching and rewriting them when
saving the patched result.
Brendan Cully <brendan@kublai.com> [Sun, 14 Jun 2009 13:32:19 -0700] rev 8809
gpg: add test
Brendan Cully <brendan@kublai.com> [Sun, 14 Jun 2009 12:18:46 -0700] rev 8808
gpg: unbreak 02a12835b17e. We need a test.
Matt Mackall <mpm@selenic.com> [Sat, 13 Jun 2009 18:16:44 -0500] rev 8807
share: allow dest to default to the basename of source
Matt Mackall <mpm@selenic.com> [Sat, 13 Jun 2009 18:08:51 -0500] rev 8806
Merge with crew
Patrick Mezard <pmezard@gmail.com> [Sat, 13 Jun 2009 23:02:51 +0200] rev 8805
bisect: improve --command output
- Display tested revisions without --verbose
- Display revision number
Patrick Mezard <pmezard@gmail.com> [Sat, 13 Jun 2009 22:42:16 +0200] rev 8804
dirstate: fix typo introduced by 3507f6c7715c
Patrick Mezard <pmezard@gmail.com> [Sat, 13 Jun 2009 22:42:15 +0200] rev 8803
test-bisect: test --command option
Patrick Mezard <pmezard@gmail.com> [Sat, 13 Jun 2009 22:42:13 +0200] rev 8802
bisect: fix traceback when command executable is not found
Matt Mackall <mpm@selenic.com> [Sat, 13 Jun 2009 18:01:48 -0500] rev 8801
share: add experimental share extension
Matt Mackall <mpm@selenic.com> [Sat, 13 Jun 2009 18:01:47 -0500] rev 8800
add helper function to create shared repos
Matt Mackall <mpm@selenic.com> [Sat, 13 Jun 2009 18:01:46 -0500] rev 8799
repo: add internal support for sharing store directories
set .hg/sharedpath to point to the .hg to share with
Matt Mackall <mpm@selenic.com> [Fri, 12 Jun 2009 02:19:51 -0500] rev 8798
remoteui: properly create dst with copy()
Matt Mackall <mpm@selenic.com> [Sat, 13 Jun 2009 14:44:59 -0500] rev 8797
repo: set up ui and extensions earlier
John Mulligan <phlogistonjohn@asynchrono.us> [Wed, 10 Jun 2009 19:11:49 -0400] rev 8796
localrepo: remove 'closed' argument to heads(...) function
- repository heads are not associated with the closed attribute, so
remove it making the code in line with the concept.
- Fix functions that were calling heads with the parameter.
- Adjust webcommands.branches to include the concept of inactive
as well as open and closed branches
- Fix code and docstrings in commands to make the correct use of
closed branches & branch heads clearer
- Improve grammar of 'hg heads' help text (2nd submission)
this does not alter the cli for hg branches, that work is
still to be done
Adrian Buehlmann <adrian@cadifra.com> [Mon, 08 Jun 2009 20:02:44 +0200] rev 8795
mq: eliminate warning on qpush with empty series
Warning was "DeprecationWarning: use lock.release instead of del lock"
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sat, 23 May 2009 20:38:08 +0900] rev 8794
inotify: repowatcher: don't use a watches attribute to count watches
The encapsulated watcher alread has a __len__ method for this purpose.
Also, repowatcher.watches was never decremented on watch deletions.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 21 May 2009 23:51:54 +0900] rev 8793
inotify: put the "while True: poll()" loop in pollable class
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 21 May 2009 20:15:00 +0900] rev 8792
inotify: refactor (un)register methods into pollable object
repowatcher.master becomes unnecessary
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 13 Jun 2009 18:41:28 +0200] rev 8791
inotify.server: the decorator eventaction() shouldn't be a method of repowatcher
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sat, 13 Jun 2009 18:14:50 +0200] rev 8790
inotify: add log config option redirect inotify server output to a file
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 25 May 2009 18:14:32 +0900] rev 8789
cmdutil: service: logfile option to redirect stdout & stderr in a file
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sat, 13 Jun 2009 17:39:01 +0200] rev 8788
inotify: raise QueryFailed when the server crash
When the server crashes, it does not write back on the socket. The message
which is then read from the socket is '', which raises a TypeError.
Catching TypeError to raise QueryFailed instead.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Wed, 27 May 2009 00:29:11 +0900] rev 8787
inotify: server: move split() out of server
split() has nothing to do with the server logic, it does not need to be
in the class. Move it on top, next to join() which does the opposite.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 13 Jun 2009 17:23:08 +0200] rev 8786
inotify: remove unused variables
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 13 Jun 2009 13:14:02 +0200] rev 8785
atomictempfile: fix exception in __del__ if mktempcopy fails (self._fp is None)
Make what is going on more obvious by explicitely getting the 'closed'
attribute from _fp, instead of from the gettatr proxy.
Brendan Cully <brendan@kublai.com> [Thu, 11 Jun 2009 12:23:08 -0700] rev 8784
Merge with crew-stable
Brendan Cully <brendan@kublai.com> [Thu, 11 Jun 2009 12:18:40 -0700] rev 8783
bzr convert: restore paths to source encoding. Closes issue1692.
Martin Geisler <mg@lazybytes.net> [Thu, 11 Jun 2009 17:29:14 +0200] rev 8782
doc: wrap man pages after fixing quoting
Martin Geisler <mg@lazybytes.net> [Thu, 11 Jun 2009 17:19:48 +0200] rev 8781
hgrc.5: fix quoting of literal strings
The quotes would go wrong in many places due to differences between
asciidoc version 8.2.7 used by Benoit and 8.4.5 used by me. Between
those versions asciidoc stopped interpreting the content of `quoted
strings`, and so `*` would start bold text in the old version, but do
nothing in the new version.
To complicate things further, `\*` would escape the bold tag in the
old version, but in the new version the backslash was inserted
literally into the output (because the backtick quotes it).
I've now replaced backticks with non-quoting plusses and escaped
backslashes as appropriate.
Martin Geisler <mg@lazybytes.net> [Thu, 11 Jun 2009 17:16:04 +0200] rev 8780
hgignore.5: remove extra quotes
The so-called "unconstrained quotes" didn't really work, so I reverted
them to normal quotes. Tested with asciidoc version 8.2.7 and 8.4.5.
timeless <timeless@gmail.com> [Tue, 09 Jun 2009 21:51:34 -0400] rev 8779
Improve English for help text of many core hg commands.
co-author: Greg Ward <greg-hg@gerg.ca>
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Wed, 10 Jun 2009 15:10:21 +0200] rev 8778
use new style classes
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Wed, 10 Jun 2009 03:20:20 +0200] rev 8777
doc: correctly escape *
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Wed, 10 Jun 2009 03:10:46 +0200] rev 8776
doc: correctly escape *
Martin Geisler <mg@lazybytes.net> [Wed, 10 Jun 2009 01:14:16 +0200] rev 8775
hg.1: highlight references to commands and man pages
Martin Geisler <mg@lazybytes.net> [Wed, 10 Jun 2009 01:09:21 +0200] rev 8774
hg.1: simplify synopsis
Now that arguments can be mixed with options we can simplify the
synopsis considerably. Also, highlighting the command name in bold
(instead of italics) seem to be the standard convention.
Martin Geisler <mg@lazybytes.net> [Wed, 10 Jun 2009 00:55:57 +0200] rev 8773
hgrc.5: spell check
Martin Geisler <mg@lazybytes.net> [Wed, 10 Jun 2009 00:46:30 +0200] rev 8772
man pages: add meta data
This removes the fixme's that were otherwise inserted.
Martin Geisler <mg@lazybytes.net> [Wed, 10 Jun 2009 00:13:08 +0200] rev 8771
man pages: updated copyright years
Martin Geisler <mg@lazybytes.net> [Wed, 10 Jun 2009 00:11:24 +0200] rev 8770
hgrc.5: use NOTE admonition paragraph
Martin Geisler <mg@lazybytes.net> [Wed, 10 Jun 2009 00:06:20 +0200] rev 8769
hgrc.5: reformatted to avoid big chunks of monospaced text
The man page used to have lines longer than 80 characters, even though
all lines in the hgrc.5.txt file were wrapped nicely. The problem
turned out to be that the indented paragraphs started literal blocks
instead of normal paragraphs. The literal blocks were of course not
wrapped when displayed by man.
In short, the asciidoc rules require lists to be formatted like this:
foo::
Some description of foo.
+
Another paragraph in the description of foo. It *must* start flush
left and the plus is necessary to indicate that this is a list item
continuation.
Lists with nested lists can be formatted correctly using something
called "open blocks". These blocks are used to group the list items
and are marked by a line above and below with two dashes. See the
asciidoc user guide for the gory details...
Martin Geisler <mg@lazybytes.net> [Tue, 09 Jun 2009 23:26:16 +0200] rev 8768
hgrc.5: mark filename patterns as monospaced text
Martin Geisler <mg@lazybytes.net> [Tue, 09 Jun 2009 23:24:43 +0200] rev 8767
hgrc.5: single quotes means italic in asciidoc
Use double quotes instead and mark the * as monospaced text.
Martin Geisler <mg@lazybytes.net> [Tue, 09 Jun 2009 23:08:55 +0200] rev 8766
man pages: mark filenames and env vars as fixed text
Patrick Mezard <pmezard@gmail.com> [Tue, 09 Jun 2009 21:50:42 +0200] rev 8765
test-convert-svn-*: no longer need the url building code
Edouard Gomez <ed.gomez@free.fr> [Sat, 06 Jun 2009 00:08:37 +0200] rev 8764
convert: default to file protocol when no :// found for svn repo url
Edited by pmezard: add path separator normalization
timeless <timeless@gmail.com> [Tue, 09 Jun 2009 09:25:34 -0400] rev 8763
keyword: improve English
timeless <timeless@gmail.com> [Tue, 09 Jun 2009 09:25:25 -0400] rev 8762
bookmarks: improve English
timeless <timeless@gmail.com> [Tue, 09 Jun 2009 09:25:17 -0400] rev 8761
Generally replace "file name" with "filename" in help and comments.
timeless <timeless@gmail.com> [Tue, 09 Jun 2009 09:25:31 -0400] rev 8760
Spell Mercurial as a proper noun
Matt Mackall <mpm@selenic.com> [Tue, 09 Jun 2009 11:55:32 -0500] rev 8759
win32text: drop disabling portion of test
disabling extension leaves dirstate confused about whether affected
files are clean or not, not much point testing it.
Tobias Bell <tobias.bell@gmail.com> [Mon, 08 Jun 2009 20:09:48 +0200] rev 8758
i18n-de: Synchronised with hg.pot
translated by Fabian Kreutz <fabian.kreutz@qvantel.com>
Tobias Bell <tobias.bell@gmail.com>
Wagner Bruna <wbruna@softwareexpress.com.br> [Tue, 09 Jun 2009 11:49:16 -0300] rev 8757
i18n-pt_BR: synchronized and updated
- synchronized with hg 6019e6517f95
- translated remaining messages
- many spelling and formatting fixes
Henrik Stuart <hg@hstuart.dk> [Tue, 09 Jun 2009 08:59:49 +0200] rev 8756
convert: better support for CVS branchpoints (issue1447)
This records the branches starting at individual CVS file revisions,
using the symbolic names map rather than just the branches
information. This information is used to generate Mercurial
changesets. Despite the changes, the CVS conversion still suffers
heavily from cvsps' deficiencies in generating a correct
representation of the CVS repository history.
Matt Mackall <mpm@selenic.com> [Mon, 08 Jun 2009 18:21:13 -0500] rev 8755
Merge with stable
Matt Mackall <mpm@selenic.com> [Mon, 08 Jun 2009 18:16:32 -0500] rev 8754
Merge with crew
Matt Mackall <mpm@selenic.com> [Mon, 08 Jun 2009 18:14:44 -0500] rev 8753
merge: refactor manifestmerge init to better report effective ancestor
Matt Mackall <mpm@selenic.com> [Mon, 08 Jun 2009 18:14:44 -0500] rev 8752
merge: simplify file revision comparison logic
Matt Mackall <mpm@selenic.com> [Mon, 08 Jun 2009 18:14:44 -0500] rev 8751
merge: make locally-added file test more correct
Matt Mackall <mpm@selenic.com> [Mon, 08 Jun 2009 18:14:44 -0500] rev 8750
merge: drop unused diverge initialization
Matt Mackall <mpm@selenic.com> [Mon, 08 Jun 2009 18:14:44 -0500] rev 8749
merge: refactor some initialization, drop backwards var
Matt Mackall <mpm@selenic.com> [Mon, 08 Jun 2009 18:14:44 -0500] rev 8748
merge: combine a copy and move case
Matt Mackall <mpm@selenic.com> [Mon, 08 Jun 2009 18:14:44 -0500] rev 8747
merge: drop a flag update case
Matt Mackall <mpm@selenic.com> [Mon, 08 Jun 2009 18:14:44 -0500] rev 8746
merge: combine three identical 'remote is newer' cases
Matt Mackall <mpm@selenic.com> [Mon, 08 Jun 2009 18:14:44 -0500] rev 8745
merge: drop 'remote deleted' case
Matt Mackall <mpm@selenic.com> [Mon, 08 Jun 2009 18:14:44 -0500] rev 8744
merge: simplify 'other deleted' case
Matt Mackall <mpm@selenic.com> [Mon, 08 Jun 2009 18:14:44 -0500] rev 8743
merge: simplify backwards revert test, ready to combine with other cases
Matt Mackall <mpm@selenic.com> [Mon, 08 Jun 2009 18:14:44 -0500] rev 8742
merge: allow merging going backwards
New behavior is generally superior and more correct, except possibly
with regards to missing files. hg up . is now effectively a no-op,
which is probably the desired behavior for people expecting to move to
tip, but may surprise people who were expecting deleted files to
reappear.
case 1: update to .
a-w -> a-w
classic: ancestor a
missing recreated right?
rmed recreated WRONG
added forgotten WRONG
changed preserved RIGHT
conflicted can't happen
backward merge: ancestor a (NO EFFECT)
missing missing wrong?
rm'ed rm'ed RIGHT
added preserved RIGHT
changed preserved RIGHT
conflicted can't happen
case 2: update to ancestor of .
a-b-w -> b-w
\
a
classic: ancestor a
missing recreated right?
rmed recreated wrong?
added forgotten wrong?
changed preserved RIGHT
conflicted preserved wrong?
backwards merge: ancestor b
missing missing or conflict right?
rm'ed missing or conflict right?
changed preserved RIGHT
conflicted merge RIGHT
added preserved right?
Matt Mackall <mpm@selenic.com> [Mon, 08 Jun 2009 18:14:44 -0500] rev 8741
merge: reorder remote creation tests
Matt Mackall <mpm@selenic.com> [Mon, 08 Jun 2009 18:14:44 -0500] rev 8740
merge: drop recreating case
Matt Mackall <mpm@selenic.com> [Mon, 08 Jun 2009 18:14:44 -0500] rev 8739
merge: drop an overwrite test
Matt Mackall <mpm@selenic.com> [Mon, 08 Jun 2009 18:14:44 -0500] rev 8738
merge: simplify a delete case
Matt Mackall <mpm@selenic.com> [Mon, 08 Jun 2009 18:14:44 -0500] rev 8737
merge: reorder get cases for future simplification
Matt Mackall <mpm@selenic.com> [Mon, 08 Jun 2009 18:14:44 -0500] rev 8736
merge: fix prompt keep
Matt Mackall <mpm@selenic.com> [Mon, 08 Jun 2009 18:14:44 -0500] rev 8735
merge: remove a flags case
Matt Mackall <mpm@selenic.com> [Mon, 08 Jun 2009 18:14:44 -0500] rev 8734
merge: pretend ancestor is local to simplify backwards and overwrite
Matt Mackall <mpm@selenic.com> [Mon, 08 Jun 2009 18:14:44 -0500] rev 8733
merge: simplify flag merging code slightly
Matt Mackall <mpm@selenic.com> [Mon, 08 Jun 2009 18:14:44 -0500] rev 8732
dirstate: eliminate reference cycle from normalize
Bound methods hold a reference to self, so assigning a bound method to
an instance unavoidably creates a cycle. Work around this by choosing
a normalize method at walk time instead. Eliminate default arg while
we're at it.
Henri Wiechers <hwiechers@gmail.com> [Sun, 07 Jun 2009 21:16:05 +0200] rev 8731
cleanup: removed unused imports
Martin Geisler <mg@lazybytes.net> [Mon, 08 Jun 2009 00:14:24 +0200] rev 8730
hgrc.5: wrap lines at 70 chars (whitespace cleanup)
Martin Geisler <mg@lazybytes.net> [Mon, 08 Jun 2009 00:13:58 +0200] rev 8729
hgignore.5: wrap lines at 70 chars (whitespace cleanup)
Martin Geisler <mg@lazybytes.net> [Mon, 08 Jun 2009 00:13:35 +0200] rev 8728
hg.1: wrap lines at 70 chars (whitespace cleanup)
timeless <timeless@gmail.com> [Sun, 07 Jun 2009 17:34:12 +0200] rev 8727
hgrc.5: language fixes
Christian Ebert <blacktrash@gmx.net> [Mon, 01 Jun 2009 02:17:57 +0200] rev 8726
hgrc.5: wrap manpage at 80 chars
Checked with asciidoc 8.4.5
Abderrahim Kitouni <a.kitouni@gmail.com> [Thu, 04 Jun 2009 21:24:29 +0100] rev 8725
bookmarks: update docstring
Brendan Cully <brendan@kublai.com> [Sat, 06 Jun 2009 15:38:03 -0700] rev 8724
Unbreak run-tests support for out-of-tree extensions
Brendan Cully <brendan@kublai.com> [Sat, 06 Jun 2009 13:37:41 -0700] rev 8723
Merge with crew-stable
Arne Babenhauserheide <bab@draketo.de> [Fri, 05 Jun 2009 15:08:45 +0200] rev 8722
Some platforms lack the PATH_MAX definition (eg. GNU/Hurd).
Thanks to ronny for making it cleaner.
Will Maier <willmaier@ml1.net> [Thu, 04 Jun 2009 18:11:11 -0600] rev 8721
test-fncache: Use find instead of ls -R.
Different platforms implement -R differently (and it produces
unneccessarily verbose output in this case). find is just as
good and more consistent. Unbreaks test on OpenBSD.
Edited by pmezard: added 'sort' call
Will Maier <willmaier@ml1.net> [Thu, 04 Jun 2009 17:33:30 -0600] rev 8720
Make test-verify SUSv3 compatible.
'head -c' isn't supported on (at least) OpenBSD and is not
part of SUSv3. Instead, use dd.
See also:
http://www.opengroup.org/onlinepubs/009695399/utilities/head.html
Steve Losh <steve@stevelosh.com> [Wed, 03 Jun 2009 22:58:43 -0400] rev 8719
Support branch names in contrib/bash_completion
Anywhere a revision is needed a branch name can be used to specify
the tip of that branch, so branch names should be tab completed.
Steve Losh <steve@stevelosh.com> [Wed, 03 Jun 2009 22:54:53 -0400] rev 8718
Support merge in contrib/bash_completion
Matt Mackall <mpm@selenic.com> [Thu, 04 Jun 2009 16:21:55 -0500] rev 8717
context: add a dirty method to detect modified contexts
Matt Mackall <mpm@selenic.com> [Thu, 04 Jun 2009 16:21:09 -0500] rev 8716
dirstate: don't complain about 0-length files
Matt Mackall <mpm@selenic.com> [Thu, 04 Jun 2009 16:21:03 -0500] rev 8715
commit: move some setup outside the lock
Shun-ichi GOTO <shunichi.goto@gmail.com> [Thu, 04 Jun 2009 21:23:31 +0900] rev 8714
Add cp950 as problematic encoding which is used in chinese windows.
Dirkjan Ochtman <dirkjan@ochtman.nl> [Thu, 04 Jun 2009 18:05:50 +0200] rev 8713
hgweb: allow distinction between open/closed branches on branches page
Matt Mackall <mpm@selenic.com> [Wed, 03 Jun 2009 17:12:48 -0500] rev 8712
commit: rename wctx to cctx
Matt Mackall <mpm@selenic.com> [Wed, 03 Jun 2009 17:07:41 -0500] rev 8711
mq: fix commit prototype
Matt Mackall <mpm@selenic.com> [Mon, 01 Jun 2009 22:13:08 -0500] rev 8710
commit: trade O(n^2) file checks for O(n^2) dir checks
Matt Mackall <mpm@selenic.com> [Mon, 01 Jun 2009 21:51:00 -0500] rev 8709
commit: move explicit file checking into repo.commit
Matt Mackall <mpm@selenic.com> [Mon, 01 Jun 2009 20:25:01 -0500] rev 8708
dirstate: more accurate use of match.dir callback
Matt Mackall <mpm@selenic.com> [Mon, 01 Jun 2009 14:51:47 -0500] rev 8707
commit: editor reads file lists from provided context
Matt Mackall <mpm@selenic.com> [Mon, 01 Jun 2009 14:11:32 -0500] rev 8706
commit: drop the now-unused files parameter
Matt Mackall <mpm@selenic.com> [Mon, 01 Jun 2009 14:11:19 -0500] rev 8705
tag: use match.exact for commit
Matt Mackall <mpm@selenic.com> [Mon, 01 Jun 2009 13:51:21 -0500] rev 8704
commands: drop files arg for commit calls
Matt Mackall <mpm@selenic.com> [Mon, 01 Jun 2009 13:51:21 -0500] rev 8703
transplant: use match object rather than files for commit
Matt Mackall <mpm@selenic.com> [Mon, 01 Jun 2009 13:51:21 -0500] rev 8702
rebase: remove unneeded status call before commit
Matt Mackall <mpm@selenic.com> [Mon, 01 Jun 2009 13:51:21 -0500] rev 8701
gpg: use match.exact rather than files for commit
Matt Mackall <mpm@selenic.com> [Mon, 01 Jun 2009 13:51:21 -0500] rev 8700
mq: drop unneeded files args for commit
Matt Mackall <mpm@selenic.com> [Mon, 01 Jun 2009 13:51:21 -0500] rev 8699
commit: apply force flag without files
Matt Mackall <mpm@selenic.com> [Mon, 01 Jun 2009 13:51:21 -0500] rev 8698
fetch: no need to pass files list to commit
Marco Beck <mbeck@miamod.de> [Wed, 03 Jun 2009 14:50:03 +0200] rev 8697
templater: retain author's full name if no email is supplied (issue1685)
Dirkjan Ochtman <dirkjan@ochtman.nl> [Wed, 03 Jun 2009 14:10:36 +0200] rev 8696
tests: delete parallel coverage files after combining
John Mulligan <phlogistonjohn@asynchrono.us> [Wed, 03 Jun 2009 13:59:38 +0200] rev 8695
heads: show closed heads only when --closed is passed
Add a --closed (-c) option to 'hg heads' to show all heads and change the
default behavior to refrain from showing fully closed branches.
Enhance 'hg heads <branch>' so that:
* default: displays normal & inactive heads, not closed heads
* --closed: displays normal, inactive & closed heads
* --active: displays only normal heads
* both --closed and --active: displays normal & closed heads only
John Mulligan <phlogistonjohn@asynchrono.us> [Wed, 03 Jun 2009 13:42:55 +0200] rev 8694
localrepo: set heads and branchheads to be closed=False by default
The heads(...) and branchheads(...) functions will now only return closed
heads when explicitly asked for them. This will cause 'hg merge' to have
better behavior in the presence of a branch that has closed heads when no
explicit rev is passed.
Patrick Mezard <pmezard@gmail.com> [Mon, 01 Jun 2009 17:12:42 +0200] rev 8693
convert: rewrite tags when converting from hg to hg
Patrick Mezard <pmezard@gmail.com> [Mon, 01 Jun 2009 17:12:41 +0200] rev 8692
convert: default revisions order depends on source
When converting Mercurial repositories you expect the revision numbers to be
preserved, while other sources conversions focus on efficiency.
Patrick Mezard <pmezard@gmail.com> [Mon, 01 Jun 2009 17:12:39 +0200] rev 8691
convert: fail fast if source does not support --sourcesort
Patrick Mezard <pmezard@gmail.com> [Mon, 01 Jun 2009 17:12:39 +0200] rev 8690
convert: add --sourcesort option for source specific sort
Only supported by Mercurial source for now.
Patrick Mezard <pmezard@gmail.com> [Mon, 01 Jun 2009 17:12:38 +0200] rev 8689
convert: parse sort mode sooner
Patrick Mezard <pmezard@gmail.com> [Mon, 01 Jun 2009 17:12:37 +0200] rev 8688
convert: split toposort() into subfunctions for readability
Greg Ward <greg-hg@gerg.ca> [Mon, 01 Jun 2009 09:18:35 -0400] rev 8687
run-tests: don't replace PYTHONPATH, just augment it.
(Needed at least for Subversion bindings on OS X, which are in
/opt/subversion. Useful for other external libraries installed in
non-standard places too.)
Martin Geisler <mg@lazybytes.net> [Mon, 01 Jun 2009 01:24:01 +0200] rev 8686
merge with mpm
Martin Geisler <mg@lazybytes.net> [Mon, 01 Jun 2009 00:56:29 +0200] rev 8685
color: yet another typo
Matt Mackall <mpm@selenic.com> [Sun, 31 May 2009 17:54:18 -0500] rev 8684
match: fold plan cases down to two special cases
- merge always and match with patterns
- make always and match with patterns the default
- invert dostep3 to skipstep3
- move dirignore test inside exact case
Matt Mackall <mpm@selenic.com> [Sun, 31 May 2009 17:54:18 -0500] rev 8683
walk: refactor walk plan
- never is gone
- reorder tests more cleanly
- rename nomatches to exact for clearer semantics
Matt Mackall <mpm@selenic.com> [Sun, 31 May 2009 17:54:18 -0500] rev 8682
match: remove match.never
Only one user, can be translated to match.exact()
Matt Mackall <mpm@selenic.com> [Sun, 31 May 2009 17:54:18 -0500] rev 8681
walk: use match.bad callback for filetype messages
Matt Mackall <mpm@selenic.com> [Sun, 31 May 2009 17:54:18 -0500] rev 8680
match: ignore return of match.bad
All users returned false, return can now be dropped
Matt Mackall <mpm@selenic.com> [Sun, 31 May 2009 17:54:18 -0500] rev 8679
add: use match.bad callback more effectively
Matt Mackall <mpm@selenic.com> [Sun, 31 May 2009 17:54:18 -0500] rev 8678
match: document bad callback semantics
Matt Mackall <mpm@selenic.com> [Sun, 31 May 2009 17:54:18 -0500] rev 8677
walk: simplify logic for badfn clause
- matchfn redundant
- call badfn always rather than fwarn
- use for/else rather than keep var
Matt Mackall <mpm@selenic.com> [Sun, 31 May 2009 17:54:18 -0500] rev 8676
walk: we always have a badfn
Matt Mackall <mpm@selenic.com> [Sun, 31 May 2009 17:54:18 -0500] rev 8675
walk: simplify check for missing file
Greg Ward <greg-hg@gerg.ca> [Sun, 31 May 2009 15:20:31 -0400] rev 8674
run-tests: redefine --with-hg so it takes the 'hg' script to run.
- in parseargs(), check that --with-hg value is valid
- add handy --local option for "--with-hg=../hg"
- ensure that we always set PATH and PYTHONPATH (not just
when doing a temporary install)
- override any existing PYTHONPATH, so test success does not
depend on whatever happens to be in the caller's environment
- give tests a little more control by exporting $PYTHON to the
environment; needed by test-convert and test-mergetool when
they run hg with a stripped-down $PATH
Also, add a big comment explaining all the corner cases to test for the
next person who tries to modify this script.
Greg Ward <greg-hg@gerg.ca> [Fri, 29 May 2009 22:18:16 -0400] rev 8673
run-tests: fix _checkhglib() so it's correct when using --with-hg.
Since this makes the warning less likely, upgrade it to a "real"
warning to stderr.
Greg Ward <greg-hg@gerg.ca> [Fri, 29 May 2009 22:18:15 -0400] rev 8672
run-tests: factor out _checkhglib() to check import path of 'mercurial'.
- rename _hgpath() to _gethgpath() and move it down next to _checkhglib()
- change _gethgpath() so it caches its result: replaces global 'hgpkg'
that anyone can use with global '_hgpath' that is only for _gethgpath()
- no need to pass 'expecthg' to runchildren() or runtests() anymore
Also: do not change global PYTHON when doing coverage; this seems to
be unnecessary, since we create a dummy 'hg' script that handles
coverage for us, and it made things brittle. (E.g. the rest of this
patch makes the call to _hgpath() come later, and it was broken by
enabling coverage.)
Greg Ward <greg-hg@gerg.ca> [Fri, 29 May 2009 22:17:53 -0400] rev 8671
run-tests: show PID if running in parallel mode with -v.
(Extremely handy when you break parallel operation and need to figure
out what's going on. The assumption is that if you run with -v, you
want more details.)
Martin Geisler <mg@lazybytes.net> [Sun, 31 May 2009 19:48:37 +0200] rev 8670
i18n-da: synchronized and updated slightly
Martin Geisler <mg@lazybytes.net> [Sun, 31 May 2009 18:09:19 +0200] rev 8669
commands: typo in bundle abort message
This error trigger if one calls bundle with the wrong parameters and
it is thus not an error scripts will want to look for (they could and
should ensure that they call bundle with the correct parameters).
Martin Geisler <mg@lazybytes.net> [Sun, 31 May 2009 14:55:51 +0200] rev 8668
fixed typos found in translatable strings
This is from a spell-check of hg.pot.
Martin Geisler <mg@lazybytes.net> [Sun, 31 May 2009 14:53:46 +0200] rev 8667
graphlog, win32mbcs: capitalize ASCII
Martin Geisler <mg@lazybytes.net> [Sun, 31 May 2009 14:52:22 +0200] rev 8666
highlight: consistently capitalize Pygments
Martin Geisler <mg@lazybytes.net> [Sun, 31 May 2009 14:51:37 +0200] rev 8665
win32mbcs: capitalize Unicode
Martin Geisler <mg@lazybytes.net> [Sun, 31 May 2009 14:48:17 +0200] rev 8664
commands: expand "arg" -> "argument" in showconfig help strings
It is easier to translate full sentences without abbreviations, or
said differently, I don't know a short Danish word for "argument".
Martin Geisler <mg@lazybytes.net> [Sun, 31 May 2009 01:30:16 +0200] rev 8663
wrap string literals in error messages
Martin Geisler <mg@lazybytes.net> [Sun, 31 May 2009 01:29:30 +0200] rev 8662
convert/gnuarch: wrap long line, format kwargs without spaces
Martin Geisler <mg@lazybytes.net> [Sun, 31 May 2009 01:28:18 +0200] rev 8661
convert/cvsps: wrap long lines
Martin Geisler <mg@lazybytes.net> [Sun, 31 May 2009 01:26:23 +0200] rev 8660
convert/subversion: wrap long lines in comments
Martin Geisler <mg@lazybytes.net> [Sun, 31 May 2009 01:13:45 +0200] rev 8659
test-hybridencode: break long string literals
Martin Geisler <mg@lazybytes.net> [Sun, 31 May 2009 00:58:20 +0200] rev 8658
revlog: make triple-quoted string a real comment
Martin Geisler <mg@lazybytes.net> [Sat, 30 May 2009 23:42:35 +0200] rev 8657
posix: do not use fstat in isowner
The fstat function was undefined, but never used since a stat object
was always passed in the optional st argument. Passing st is now
mandatory.
This bug crept in when util was split up into posix and windows
modules. The fstat function is still defined in util, but importing it
into posix would create an import cycle which seems unnecessary.
Martin Geisler <mg@lazybytes.net> [Sat, 30 May 2009 23:20:30 +0200] rev 8656
removed unused imports
Brendan Cully <brendan@kublai.com> [Sat, 30 May 2009 11:32:23 -0700] rev 8655
Move alias into core
Cédric Duval <cedricduval@free.fr> [Sat, 30 May 2009 19:37:01 +0200] rev 8654
mq: rename setheader to updateheader and fix comment
Cédric Duval <cedricduval@free.fr> [Sat, 30 May 2009 19:18:29 +0200] rev 8653
mq: initializing patchheader class directly from patch content
The patch header needs only be read in order to instantiate the class,
and as such it makes more sense to do it within the class.
Bryan O'Sullivan <bos@serpentine.com> [Fri, 29 May 2009 21:31:33 -0700] rev 8652
Merge with mpm
Greg Ward <greg-hg@gerg.ca> [Fri, 29 May 2009 10:00:03 -0400] rev 8651
run-tests: clarify timeout log message.
Matt Mackall <mpm@selenic.com> [Wed, 27 May 2009 16:01:34 -0500] rev 8650
revlog: refactor chunk cache interface again
- chunk to _chunk
- _prime to _chunkraw
- _chunkclear for cache clearing
- _chunk calls _chunkraw
- clean up _prime a bit
- simplify users in revision and checkinlinesize
- drop file descriptor passing (we're better off opening fds lazily
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Thu, 28 May 2009 17:44:57 +0200] rev 8649
clone: fall back to pull source repo cannot be locked, 937ee88da3ef was a noop
937ee88da3ef was a noop, it was missing the wait keyword
Garth Roxburgh-Kidd <garth@deadlybloodyserious.com> [Thu, 28 May 2009 17:03:35 +0200] rev 8648
fixed 0xc0150004 error building Mercurial under Python 2.6 for Windows
Adrian Buehlmann <adrian@cadifra.com> [Thu, 28 May 2009 08:29:40 +0200] rev 8647
localrepo: move comment
Simon Heimberg <simohe@besonet.ch> [Wed, 27 May 2009 14:16:13 +0200] rev 8646
localrepo: use lock.release for single lock
Martin Geisler <mg@lazybytes.net> [Wed, 27 May 2009 23:39:41 +0200] rev 8645
dirstate: fixed typo in comment
Matt Mackall <mpm@selenic.com> [Wed, 27 May 2009 14:44:55 -0500] rev 8644
changelog: make delayopener less intrusive
Matt Mackall <mpm@selenic.com> [Wed, 27 May 2009 14:44:54 -0500] rev 8643
revlog: report indexfile rather than datafile for integrity check
Matt Mackall <mpm@selenic.com> [Wed, 27 May 2009 14:44:52 -0500] rev 8642
ui: fix two bugs in %% warning
Matt Mackall <mpm@selenic.com> [Wed, 27 May 2009 14:44:51 -0500] rev 8641
revlog: move stat inside lazyparser
Matt Mackall <mpm@selenic.com> [Mon, 25 May 2009 12:48:15 -0500] rev 8640
dirstate: notice truncated parents read
Matt Mackall <mpm@selenic.com> [Mon, 25 May 2009 10:44:37 -0500] rev 8639
lookup: check for dirstate damage on failure
Christian Ebert <blacktrash@gmx.net> [Tue, 26 May 2009 23:09:38 +0200] rev 8638
keyword: rename matcher() to match() mimicking changes in main
Cédric Duval <cedricduval@free.fr> [Sun, 24 May 2009 22:15:48 +0200] rev 8637
tests: test for dispatch on [defaults]: more clearly differing output
Using '-r null' instead of '-v' as the overriden command default.
The latter did not have any effect on output, thus not giving much
indication on whether the modified defaults were really in use or not.
Peter Arrenbrecht <peter.arrenbrecht@gmail.com> [Wed, 27 May 2009 16:25:31 +0200] rev 8636
merge: whitespace cleanup
Peter Arrenbrecht <peter.arrenbrecht@gmail.com> [Wed, 27 May 2009 14:11:41 +0200] rev 8635
revlog: add test for 7659eecd9da2 (issue1678)
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Wed, 27 May 2009 02:46:59 +0200] rev 8634
changegroup: the node list might be an empty generator (fix issue1678)
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 26 May 2009 23:49:53 +0200] rev 8633
store encoding: .i/.d encoding for non-store repo (broken by 810387f59696)
Martin Geisler <mg@lazybytes.net> [Tue, 26 May 2009 22:59:52 +0200] rev 8632
replace "i in range(len(xs))" with "i, x in enumerate(xs)"
The remaining occurrences should be the ones where "xs" is mutated or
where "i" is used for index arithmetic.
Martin Geisler <mg@lazybytes.net> [Tue, 26 May 2009 22:37:26 +0200] rev 8631
util: simplify range expression
The n index variable was unused. Every iteration would pop one element
off of parts, so the for loop can be replaced with a while loop.
Martin Geisler <mg@lazybytes.net> [Tue, 26 May 2009 22:09:39 +0200] rev 8630
color: cleanup extra commas
Martin Geisler <mg@lazybytes.net> [Tue, 26 May 2009 22:02:10 +0200] rev 8629
setup: execute hg in C locale
Martin Geisler <mg@lazybytes.net> [Tue, 26 May 2009 21:13:21 +0200] rev 8628
setup: handle trust warnings when determining version
Martin Geisler <mg@lazybytes.net> [Tue, 26 May 2009 21:07:41 +0200] rev 8627
setup: renamed l, e vars to out, err
Martin Geisler <mg@lazybytes.net> [Tue, 26 May 2009 20:12:37 +0200] rev 8626
hggettext: ensure correct Mercurial is imported
Martin Geisler <mg@lazybytes.net> [Tue, 26 May 2009 19:51:22 +0200] rev 8625
Makefile: do not create i18n/, it is already there
Martin Geisler <mg@lazybytes.net> [Mon, 25 May 2009 23:06:11 +0200] rev 8624
replace xrange(0, n) with xrange(n)
Martin Geisler <mg@lazybytes.net> [Mon, 25 May 2009 22:54:16 +0200] rev 8623
color: replace re.split with ui.configlist
Martin Geisler <mg@lazybytes.net> [Mon, 25 May 2009 22:44:53 +0200] rev 8622
color: use lists instead of tuples for effects
Dirkjan Ochtman <dirkjan@ochtman.nl> [Tue, 26 May 2009 10:16:17 +0200] rev 8621
hgweb: extract config values after reading webdir-config
Dirkjan Ochtman <dirkjan@ochtman.nl> [Mon, 25 May 2009 18:34:35 +0200] rev 8620
tests: make coverage run in parallel mode, clean up coverage code
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Mon, 25 May 2009 13:52:09 +0200] rev 8619
revlog: fix undefined variable introduced in 5726bb290bfe
Cédric Duval <cedricduval@free.fr> [Sun, 24 May 2009 22:17:10 +0200] rev 8618
parentrevspec: remove a trailing colon
Cédric Duval <cedricduval@free.fr> [Sun, 24 May 2009 22:17:12 +0200] rev 8617
purge: fix spelling error
Martin Geisler <mg@lazybytes.net> [Sun, 24 May 2009 23:53:28 +0200] rev 8616
zsh-comp: explain how to use for non-global install
Martin Geisler <mg@lazybytes.net> [Sun, 24 May 2009 22:37:20 +0200] rev 8615
use ui instead of repo.ui when the former is in scope
Matt Mackall <mpm@selenic.com> [Sun, 24 May 2009 16:38:29 -0500] rev 8614
cmdutils: Take over glob expansion duties from util
Matt Mackall <mpm@selenic.com> [Sun, 24 May 2009 16:37:34 -0500] rev 8613
match: fix _patsplit breakage with drive letters
Patrick Mezard <pmezard@gmail.com> [Sun, 24 May 2009 18:31:01 +0200] rev 8612
statichttprepo: handle remote not supporting Range headers
- If remote does not support Range header, 200 is answered instead of 206. The
HTTPRangeHandler left these responses unchanged, so the data has to be sliced
by the receiver.
- httprangereader file pointer was not updated.
Patrick Mezard <pmezard@gmail.com> [Sun, 24 May 2009 18:30:59 +0200] rev 8611
convert: better feedback when filtering out empty revisions
Original patch by Herbert Griebel <herbertg@gmx.at>
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 21 May 2009 17:09:12 +0900] rev 8610
inotify: server: use a common 'pollable' interface for server & repowatcher
Mainly for documentation purposes: it easily explains the role of handle_event
and handle_timeout, and why both server & repowatcher implement those methods.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 21 May 2009 19:26:15 +0900] rev 8609
inotify: process all inotify events in one batch
When several inotify events happen, we don't have to process each event
separately, calling everytime repowatcher.read_events() to fetch events from
the underlying watcher: it is sufficient to call once read_events, to fetch
all the events from the watcher.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 21 May 2009 19:22:29 +0900] rev 8608
inotify: rename handle_event to handle_pollevent to avoid confusion
event here refers to poll events, and are different from events read in
server.read_events for example, where those events are inotify events.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 21 May 2009 16:54:05 +0900] rev 8607
inotify: handle_event: do not use event and fd parameters.
event is particularly confusing given the context (is it an inotify event?
a polling event?) and is never used. Remove it.
fd has very little use, and it gives the false impression that event handling
depends on fd. It's wrong: the same behavior is triggered, for all events.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Fri, 22 May 2009 10:26:56 +0900] rev 8606
inotify: use a decorator instead of dispatching calls
Nicolas Dumazet <nicdumz.commits@gmail.com> [Fri, 22 May 2009 09:57:53 +0900] rev 8605
inotify: do not defer inotify events processing
Doing a part of the event processing and deferring the rest is a bad
habit: it complexifies the code, and it does not respect event ordering!
Moreover, there is already a timeout handling, so that inotify events are
only processed when a treshold is exceeded: there is no requirement to
delay anymore the events processing.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 21 May 2009 15:55:58 +0900] rev 8604
inotify: do not recurse in handle_timeout(): call it explicitely, not in scan()
When in handle_timeout, scan() is called when a repertory is created/modified.
But the first line of scan calls handle_timeout.
This had the consequence of calling recursively handle_timeout:
* several calls to read_events (but only the first one retrieves events)
* every time that an event is queued for a deferred action, the next time that
scan() is called, handle_timeout is called, the event queue is treated,
even if all the events haven't been read/queued yet. This could lead to
inconsistencies
Henrik Stuart <hg@hstuart.dk> [Sun, 24 May 2009 17:07:27 +0200] rev 8603
i18n-da: typo
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 24 May 2009 16:33:22 +0200] rev 8602
merge with crew
Dmitriy Kostunin <dmitriy.kostunin@gmail.com> [Tue, 31 Mar 2009 00:04:07 +0900] rev 8601
inotify: adding test for issue1556
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sat, 23 May 2009 18:44:01 +0900] rev 8600
inotify: proper fix for issue1542 (partially reverting 67e59a9886d5)
issue1542 description:
Unknown files (?) placed in a directory are still marked as present and unknown
when the containing directory is moved out of the repository scope.
Why 67e59a9886d5 was bad:
* When the problem we're addressing only deals with unknown files, the fix to
updatestatus applies for all statuses
* The only reason to move the call schedule_work(wpath, 'd') seems to be that
it allowed an updatestatus call on the deleted directory, in deleted(). But
deleted() should not be called on directories in the first place.
* After fixing an independant issue (1371), test-inotify-issue1542 was failing
Fix:
When processing a deletion of a directory, walk the tree of the unknown files
and remove the entries from repowatcher.
This step does not need to be added in the generic scan() routine: it is only
necessary on a directory deletion.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sun, 24 May 2009 18:43:05 +0900] rev 8599
inotify: server: refactor updatestatus()
* Instead of one entry point, use two entry points, updatefile()
and deletefile(), both internally calling the helper function _updatestatus
* Do not rely on TypeError to detect the type of oldstatus: use isinstance
* The call updatestatus(wpath, None) in deleted() was a bit particular:
because no osstat and no newstatus was given, the newstatus was determined
using the data stored internally. To replace this exact behavior with the
new code, one would use:
root, fn = self.split(wpath)
d = self.dir(self.tree, root)
self.filedeleted(wpath, d.get(fn))
This, however, duplicates code with _updatestatus(), which led us to an
interesting question: why are we basing ourselves on repowatcher data to
update the status, where everywhere else, we are comparing against dirsate?
There is no reason to do this, which is why the new code is:
self.filedeleted(wpath, self.repo.dirstate[wpath])
Incidentally, after this, the test for issue1371 passes again.
Patrick Mezard <pmezard@gmail.com> [Sun, 24 May 2009 16:27:56 +0200] rev 8598
convert: deprecate external cvsps, to be removed in 1.4
Patrick Mezard <pmezard@gmail.com> [Sun, 24 May 2009 16:27:50 +0200] rev 8597
osutil: silence uninitialized variable warning
Patrick Mezard <pmezard@gmail.com> [Sun, 24 May 2009 16:27:37 +0200] rev 8596
convert/hg: update documentation
Henrik Stuart <hg@hstuart.dk> [Sun, 24 May 2009 16:16:46 +0200] rev 8595
i18n-da: better word for "check"
Henrik Stuart <hg@hstuart.dk> [Sun, 24 May 2009 16:14:32 +0200] rev 8594
i18n-da: fixed use of plural form for parent
Henrik Stuart <hg@hstuart.dk> [Sun, 24 May 2009 15:20:04 +0200] rev 8593
i18n-da: better Danish word for "entry"
Simon Heimberg <simohe@besonet.ch> [Tue, 19 May 2009 09:36:20 +0200] rev 8592
runtest: do not start testing when there is no test
Henrik Stuart <hg@hstuart.dk> [Sun, 24 May 2009 11:41:07 +0200] rev 8591
templatefilters: add filter to convert date to local date (issue1674)
Issue1674 suggests the localdate filter be applied as default to log,
but this patch only introduces the filter, not the changed default
behaviour.
Henrik Stuart <hg@hstuart.dk> [Fri, 22 May 2009 08:56:43 +0200] rev 8590
url: use CONNECT for HTTPS connections through HTTP proxy (issue967)
urllib2 and httplib does not support using CONNECT proxy requests, but
only regular requests over the proxy. This does not work with HTTPS
requests as they typically require that the client issues a CONNECT to
the proxy to give a direct connection to the remote HTTPS server.
This is solved by duplicating some of the httplib functionality and
tying it together with the keepalive library such that a HTTPS
connection that need to be proxied can be proxied by letting a
connection be established to the proxy server and then subsequently
performing the normal request to the specified server through the
proxy server.
As it stands, the code also purports to support HTTPS proxies, i.e.
proxies that you connect to using SSL. These are extremely rare and
nothing is done to ensure that CONNECT requests can be made to these
as that would require multiple SSL handshakes. This use case is also
not supported by most other contemporary web tools like curl and
Firefox3.
Simon Heimberg <simohe@besonet.ch> [Thu, 14 May 2009 19:54:26 +0200] rev 8589
dirstate: skip step 3 in walk if nothing new will match
nothing will ever match on match.never
nothing new will match on match.exact (all found in step 1)
nothing new will match on match.match when
there is no pattern and
there is no direcory in pats
Simon Heimberg <simohe@besonet.ch> [Thu, 14 May 2009 10:50:45 +0200] rev 8588
dirstate: set more states in step 1 of walk
Matt Mackall <mpm@selenic.com> [Sun, 24 May 2009 02:56:22 -0500] rev 8587
match: fold match into _match base class
Matt Mackall <mpm@selenic.com> [Sun, 24 May 2009 02:56:20 -0500] rev 8586
match: add exact flag to match() to unify all match forms
Matt Mackall <mpm@selenic.com> [Sun, 24 May 2009 02:56:14 -0500] rev 8585
match: redefine always and never in terms of match and exact
Matt Mackall <mpm@selenic.com> [Sun, 24 May 2009 02:56:14 -0500] rev 8584
match: fold _globprefix into _roots
Matt Mackall <mpm@selenic.com> [Sun, 24 May 2009 02:56:14 -0500] rev 8583
match: optimize escaping in _globre
- localize re.escape
- fastpath escaping of non-special characters
Matt Mackall <mpm@selenic.com> [Sun, 24 May 2009 02:56:14 -0500] rev 8582
match: remove head and tail args from _globre
Matt Mackall <mpm@selenic.com> [Sun, 24 May 2009 02:56:14 -0500] rev 8581
match: fold _matcher into match.__init__
Matt Mackall <mpm@selenic.com> [Sun, 24 May 2009 02:56:14 -0500] rev 8580
match: rename _matchfn to _buildmatch
Matt Mackall <mpm@selenic.com> [Sun, 24 May 2009 02:56:14 -0500] rev 8579
match: optimize _patsplit
Matt Mackall <mpm@selenic.com> [Sun, 24 May 2009 02:56:14 -0500] rev 8578
match: tweak some names
Matt Mackall <mpm@selenic.com> [Sun, 24 May 2009 02:56:14 -0500] rev 8577
match: simplify _matcher
- get rid of special case
- simplify anypats logic
- fold inckinds and exckinds
Matt Mackall <mpm@selenic.com> [Sun, 24 May 2009 02:56:14 -0500] rev 8576
match: split up _normalizepats
Matt Mackall <mpm@selenic.com> [Sun, 24 May 2009 02:56:14 -0500] rev 8575
match: optimize _globprefix
Matt Mackall <mpm@selenic.com> [Sun, 24 May 2009 02:56:14 -0500] rev 8574
match: unnest functions in _matcher
Matt Mackall <mpm@selenic.com> [Sun, 24 May 2009 02:56:14 -0500] rev 8573
match: kill unused defaults on _globre
Matt Mackall <mpm@selenic.com> [Sun, 24 May 2009 02:56:14 -0500] rev 8572
match: kill test in matchfn
Matt Mackall <mpm@selenic.com> [Sun, 24 May 2009 02:56:14 -0500] rev 8571
match: refactor matchfn generation
Matt Mackall <mpm@selenic.com> [Sun, 24 May 2009 02:56:14 -0500] rev 8570
match: move util match functions over
Matt Mackall <mpm@selenic.com> [Sun, 24 May 2009 02:56:14 -0500] rev 8569
util: privatize globre
Matt Mackall <mpm@selenic.com> [Sun, 24 May 2009 02:56:14 -0500] rev 8568
match: refactor patkind
add patkind(pat) to match
change external users
change util.patkind to _patsplit
Matt Mackall <mpm@selenic.com> [Sun, 24 May 2009 02:56:14 -0500] rev 8567
match: add some default args
Matt Mackall <mpm@selenic.com> [Sun, 24 May 2009 02:56:14 -0500] rev 8566
match: change all users of util.matcher to match.match
Sune Foldager <cryo@cyanite.org> [Sat, 23 May 2009 17:04:41 +0200] rev 8565
tests: add tests for new pre-push logic (issue736)
Co-contributor: Henrik Stuart <henrik.stuart@edlund.dk>
Sune Foldager <cryo@cyanite.org> [Sat, 23 May 2009 17:04:31 +0200] rev 8564
named branches: improve pre-push logic (issue736)
Each named branch is considered separately, and the push is allowed if
no new branch heads are created for any named branch to be pushed.
Due to some tests's use of --debug, their output will change after this
addition. This has been fixed as well.
Co-contributor: Henrik Stuart <henrik.stuart@edlund.dk>
Henrik Stuart <henrik.stuart@edlund.dk> [Sat, 23 May 2009 17:03:51 +0200] rev 8563
named branches: client branchmap wire protocol support (issue736)
Co-contributor: Sune Foldager <cryo@cyanite.org>
Henrik Stuart <henrik.stuart@edlund.dk> [Sat, 23 May 2009 17:02:49 +0200] rev 8562
named branches: server branchmap wire protocol support (issue736)
The repository command, 'branchmap', returns a dictionary, branchname
-> [branchheads], and will be implemented for localrepo, httprepo and
sshrepo.
The following wire format is used for returning data:
branchname1 branch1head2 branch1head2 ...
branchname2 ...
...
Branch names are URL encoded to escape white space, and branch heads
are sent as hex encoded node ids. All branches and all their heads are
sent.
The background and motivation for this command is the desire for a
richer named branch semantics when pushing changesets. The details are
explained in the original proposal which is included below.
1. BACKGROUND
The algorithm currently implemented in Mercurial only considers the
graph theoretical heads when determining whether new heads are
created, rather than using the branch heads as a count (the algorithm
considers a branch head effectively closed when it is merged into
another branch or a new named branch is started from that point
onward).
Our particular problem with the algorithm is that we'd like to see the
following case working without forcing a push:
Upsteam has:
(0:dev) ---- (1:dev)
\
`--- (2:stable)
Someone merges stable into dev:
(0:dev) ---- (1:dev) ------(3:dev)
\ /
`--- (2:stable) --------´
This can be pushed without --force (as it should).
Now someone else does some coding on stable (a bug fix, say):
(0:dev) ---- (1:dev) ------(3:dev)
\ /
`--- (2:stable) ---------´---------(4:stable)
This time we need --force to push.
We allow this to be pushed without using --force by getting all the
remote branch heads (by extending the wire protocol with a new
function).
We would, furthermore, also prefer if it is impossible to push a new
branch without --force (or a later --newbranch option so --force isn't
shoe-horned into too many disparate functions, if need be), except of
course in the case where the remote repository is empty.
This is what our patches accomplish.
2. ALTERNATIVES
We have, of course, considered some alternatives to reconstructing
enough information to decide whether we are creating new remote branch
heads, before we added the new wire protocol command.
2.1. LOOKUP ON REMOTE
The main alternative is to use the information from remote.heads() and
remote.lookup() to try to reconstruct enough graph information to
decide whether we are creating new heads. This is not adequate as
illustrated below.
Remember that each lookup is typically a request-response pair over
SSH or HTTP(S).
If we have a simple repository at the remote end like this:
(0:dev) ---- (1:dev) ---- (3:stable)
\
`--- (2:dev)
then remote.heads() will yield [2, 3]. Assume we have nodes [0, 1, 2]
locally and want to create a new node, 4:dev, as a descendant from
(1:dev), which should be OK as 1:dev is a branch head.
If we do remote.lookup('dev') we will get [2]. Thus, we can get
information about whether a branch exists on the remote server or not,
but this does not solve our problem of figuring out whether we are
creating new heads or not.
Pushing 4:dev ought to be OK, since after the push, we still only have
two heads on branch a.
Using remote.lookup() and remote.heads() is thus not adequate to
consistently decide whether we are creating new remote heads (e.g. in
this situation the latter would never return 1:dev).
2.2. USING INCOMING TO RECONSTRUCT THE GRAPH
An alternative would be to use information equivalent to hg incoming
to get the full remote graph in addition to the local graph.
To do this, we would have to get a changegroup(subset) bundle
representing the remote end (which may be a substantial amount of
data), getting the branch heads from an instantiated bundlerepository,
deleting the bundle, and finally, we can compute the prepush logic.
While this is backwards compatible, it will cause a possibly
substantial slowdown of the push command as it first needs to pull in
all changes.
3. FURTHER ARGUMENTS IN FAVOUR OF THE BRANCHMAP WIRE-PROTOCOL EXTENSION
Currently, the commands incoming and pull, work based on the tip of a
given branch if used with "-r branchname", making it hard to get all
revisions of a certain branch only (if it has multiple heads). This
can be solved by requesting the remote's branchheads and letting the
revisions to be used with the command be these heads. This can be done
by extending the commands with a new option, e.g.:
hg pull -b branchname
which will be turned into the equivalent of:
hg pull -r branchhead1 -r branchhead2 -r branchhead3
We have a simple follow-up patch that can do this ready as well
(although not submitted yet as it is pending the acceptance of the
branch patch).
4. WRAP-UP
We generally find that the branchmap wire protocol extension can
provide better named branch support to Mercurial. Currently, some
things, like the initial push scenario in this mail, are fairly
counter-intuitive, and the more often you have to force push, the more
it is likely you will get a lot of spurious and unnecessary merge
nodes. Also, restricting incoming and pull to all changes on a branch
rather than changes on the tip-most head would be a sensible extension
to making named branches a first class citizen in Mercurial.
Currently, named branches sometimes feel like a late-coming unwanted
step-child.
We have run it in a production environment for a while, with fewer
multiple heads occurring in our repositories and fewer confused users
as a result.
Also, it fixes the long-standing issue 736.
Co-contributor: Sune Foldager <cryo@cyanite.org>
Matt Mackall <mpm@selenic.com> [Sun, 24 May 2009 02:56:03 -0500] rev 8561
Merge with -stable
Matt Mackall <mpm@selenic.com> [Sat, 23 May 2009 12:31:28 -0500] rev 8560
Merge with crew-stable
Henrik Stuart <hg@hstuart.dk> [Sat, 23 May 2009 19:57:25 +0200] rev 8559
windows: make openhardlinks work
Despite the intention, openhardlinks would always evaluate to False.
Matt Mackall <mpm@selenic.com> [Sat, 23 May 2009 11:53:23 -0500] rev 8558
revlog: fix reading of larger revlog indices on Windows
Nicolas Dumazet <nicdumz.commits@gmail.com> [Fri, 08 May 2009 12:19:57 +0900] rev 8557
inotify: Removing the unnecessary "inotifyserver" class variable.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Wed, 06 May 2009 01:40:03 +0900] rev 8556
inotify: set a flag so a failed inotify query doesn't get repeated.
If, for some reason, we can't get the inotify server to start, it's better to
disable inotify queries for the instance to avoid trying over and over to start
the server, which takes time. Just fall back on repo.status()
Nicolas Dumazet <nicdumz.commits@gmail.com> [Wed, 22 Apr 2009 00:37:35 +0900] rev 8555
inotify: introduce debuginotify, which lists which paths are under watch
Nicolas Dumazet <nicdumz.commits@gmail.com> [Wed, 22 Apr 2009 00:23:40 +0900] rev 8554
inotify: put STAT-specific query answer generation part in its own method
Nicolas Dumazet <nicdumz.commits@gmail.com> [Fri, 17 Apr 2009 20:10:47 +0900] rev 8553
inotify: change protocol so that different query types can be supported.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Tue, 07 Apr 2009 19:30:01 +0900] rev 8552
inotify: Separate query sending logic from Server starting.
Use a decorator around the public statusquery method of Client:
start_server(query_to_server):
try:
query_to_server()
except QueryFailed:
[error recovery, inotify Server (re)starting]
query_to_server()
This way, introducing a new xxxquery Client method is easy:
one has only to code the protocol part of xxxquery, ignoring errors,
and decorating it using start_server to handle server recovery
and (re)starts
Nicolas Dumazet <nicdumz.commits@gmail.com> [Tue, 07 Apr 2009 18:39:34 +0900] rev 8551
inotify: modular architecture for inotify clients
Put the socket init, query generation and response analysis in
a more generic client class.
Martin Geisler <mg@lazybytes.net> [Sat, 23 May 2009 13:43:11 +0200] rev 8550
setup: another newline if version could not be established.
Martin Geisler <mg@lazybytes.net> [Sat, 23 May 2009 00:24:00 +0200] rev 8549
setup: add missing newline in warning
Jeremy Whitlock <jcscoobyrs@gmail.com> [Fri, 22 May 2009 21:03:06 +0200] rev 8548
setup: read .hg_archival.txt for version info (issue1670)
Previously, setup.py was enhanced to identify the Mercurial version
from either .hg/ or mercurial/__version__.py. When archives are
created using 'hg archive' or via hgweb, neither of those options are
available. However, there is a .hg_archival.txt file in the root of
the archive that has the information. This patch enhances setup.py to
identify the Mercurial version from the .hg_archival.txt file when
there is no .hg/ or mercurial/__version__.py available.
Christian Ebert <blacktrash@gmx.net> [Fri, 22 May 2009 14:26:58 +0200] rev 8547
setup.py: subprocess instead of os.popen, sys.stderr.write instead of print
Also check that .hg is a directory.
Ori Avtalion <ori@avtalion.name> [Fri, 22 May 2009 20:19:22 +0200] rev 8546
gendoc: add missing space in command synopsis
Steve Borho <steve@borho.org> [Fri, 22 May 2009 11:42:21 -0500] rev 8545
merge: give hint as to how to discover uncommitted changes
Many users will try 'hg diff' here, and it will not show them missing files.
Ori Avtalion <ori@avtalion.name> [Fri, 22 May 2009 18:57:53 +0200] rev 8544
commands: standardize parents command meta data
Martin Geisler <mg@lazybytes.net> [Thu, 21 May 2009 23:56:15 +0200] rev 8543
i18n-da: synchronized
Martin Geisler <mg@lazybytes.net> [Thu, 21 May 2009 23:43:13 +0200] rev 8542
i18n: accurately generate hg.pot
Martin Geisler <mg@lazybytes.net> [Thu, 21 May 2009 22:53:26 +0200] rev 8541
hgcia, convert: escape backslashes in docstrings
Martin Geisler <mg@lazybytes.net> [Thu, 21 May 2009 17:36:19 +0200] rev 8540
commands: remove unnecessary quotes in backout help
Patrick Mezard <pmezard@gmail.com> [Thu, 21 May 2009 22:43:38 +0200] rev 8539
test-merge-tools: windows fixes
- /bin/cat does not exist, expect 'cat'
- non-interactive mode is not correctly detected in pysh, force it
Patrick Mezard <pmezard@gmail.com> [Thu, 21 May 2009 20:59:36 +0200] rev 8538
ui: honor interactive=off even if isatty()
Patrick Mezard <pmezard@gmail.com> [Thu, 21 May 2009 22:41:18 +0200] rev 8537
Merge with crew-stable
Patrick Mezard <pmezard@gmail.com> [Thu, 21 May 2009 20:32:45 +0200] rev 8536
hgwebdir: fix [collections] evaluation under Windows
Virtual and real path separators are not the same under Windows.
Martin Geisler <mg@lazybytes.net> [Wed, 20 May 2009 12:20:27 +0200] rev 8535
cmdutil: mark string for translation
Martin Geisler <mg@lazybytes.net> [Wed, 20 May 2009 10:50:23 +0200] rev 8534
util: use "is" for True/False/None comparisons
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Wed, 20 May 2009 21:16:04 +0200] rev 8533
remove: warn if unversionned files are specified (issue1454)
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Wed, 20 May 2009 19:37:25 +0200] rev 8532
fetch: allow -r for remote repos
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Wed, 20 May 2009 18:35:47 +0200] rev 8531
filelog encoding: move the encoding/decoding into store
the escaping of directories ending with .i or .d doesn't
really belong to filelog.
we put the encoding/decoding in store instead, for backwards
compat, streamclone and the fncache file format still uses the
partially encoded filenames.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Wed, 20 May 2009 18:35:41 +0200] rev 8530
store: refactor the fncache handling
put all the fncache file writing and reading in
the same place.
Jeremy Whitlock <jcscoobyrs@gmail.com> [Wed, 20 May 2009 16:04:37 +0200] rev 8529
hgweb: make hgwebdir handle dict/list paths the same as config paths
Before this patch, the only way to get hgwebdir to honor the recursive paths
was to create a config object or a config file with the recursive paths in it.
This patch makes hgwebdir treat paths the same whether passed in as a list,
tuple, config or however hgwebdir supports passing paths.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Wed, 20 May 2009 02:08:53 +0200] rev 8528
workingfilectx: always use the same filelog, even for renames
workingfilectx() was using the "src" filelog in case the file was renamed in
the working copy.
For consistency, stop special-casing it. This allows us to remove some
duplication between filectx and workingfilectx.
Martin Geisler <mg@lazybytes.net> [Wed, 20 May 2009 00:52:46 +0200] rev 8527
use 'x is None' instead of 'x == None'
The built-in None object is a singleton and it is therefore safe to
compare memory addresses with is. It is also faster, how much depends
on the object being compared. For a simple type like str I get:
| s = "foo" | s = None
----------+-----------+----------
s == None | 0.25 usec | 0.21 usec
s is None | 0.17 usec | 0.17 usec
Martin Geisler <mg@lazybytes.net> [Wed, 20 May 2009 00:43:23 +0200] rev 8526
patch: simplify Boolean expression slightly
The context variable is either True, False or None. Abbreviate it as C
and we get the following truth table where the second column is the
original expression and the third column is the new expression:
C | C or C == None | C is not False
True | True | True
False | False | False
None | True | True
Simon Heimberg <simohe@besonet.ch> [Tue, 05 May 2009 10:29:34 +0200] rev 8525
mq: new method invalidate
Introduce method invalidate (similar to dirstate and repo).
Simon Heimberg <simohe@besonet.ch> [Mon, 04 May 2009 03:35:42 +0200] rev 8524
mq: only read files when needed
use util.propertycache as in dirstate
Martin Geisler <mg@lazybytes.net> [Tue, 19 May 2009 23:02:17 +0200] rev 8523
tests: replace #...# syntax with {...}
Simon Heimberg <simohe@besonet.ch> [Fri, 15 May 2009 09:43:30 +0200] rev 8522
match: use self.exact instead of lambda
self.exact uses a set and does not need an extra copy of the files
Simon Heimberg <simohe@besonet.ch> [Thu, 14 May 2009 19:47:52 +0200] rev 8521
dirstate: use quicker matchfn() instead of match() everywhere
matchfn does the same as match(), but a direct "link"
Dirkjan Ochtman <dirkjan@ochtman.nl> [Tue, 19 May 2009 15:10:45 +0200] rev 8520
patchbomb: don't localize Date headers
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 19 May 2009 14:14:07 +0200] rev 8519
alias: a0104303f400 did not correctly handle whitespace in the args
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 19 May 2009 03:59:58 +0200] rev 8518
update --clean: do not unlink added files (issue575)
Martin Geisler <mg@lazybytes.net> [Sun, 17 May 2009 16:25:48 +0200] rev 8517
templater: lowercase error message
Changing this messages should be safe: automated scripts ought to have
debugged their templates and wont grep for this error message.
Simon Heimberg <simohe@besonet.ch> [Tue, 19 May 2009 09:57:06 +0200] rev 8516
util: use set instead of dict
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 19 May 2009 11:39:12 +0200] rev 8515
localrepo: update commit*() docstrings
Cédric Duval <cedricduval@free.fr> [Tue, 19 May 2009 01:37:38 +0200] rev 8514
patchbomb: with --in-reply-to, still thread message under first in series
When specifying --in-reply-to for a message M, have
[M]
[0/2]
[1/2]
[2/2]
instead of
[M]
[0/2]
[1/2]
[2/2]
which is more consistent with the way messages are being threaded
when --in-reply-to is not used.
Martin Geisler <mg@lazybytes.net> [Tue, 19 May 2009 01:17:54 +0200] rev 8513
merge with mpm
Cédric Duval <cedricduval@free.fr> [Tue, 19 May 2009 00:06:19 +0200] rev 8512
patchbomb: minor typo and language fixes
Cédric Duval <cedricduval@free.fr> [Tue, 19 May 2009 00:02:54 +0200] rev 8511
patchbomb: clarify diffstat usage
Cédric Duval <cedricduval@free.fr> [Mon, 18 May 2009 23:59:22 +0200] rev 8510
patchbomb: fix inexact description of the messages threading
Each message refers only to the first of the series.
Martin Geisler <mg@lazybytes.net> [Tue, 19 May 2009 00:57:36 +0200] rev 8509
coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net> [Tue, 19 May 2009 00:33:23 +0200] rev 8508
coal/paper: equal heights for file and annotate views
Martin Geisler <mg@lazybytes.net> [Tue, 19 May 2009 00:28:47 +0200] rev 8507
spartan: ensure equal heights for file and annotate views
The display used to jump up and down when switching from the file view
to the annotate view. It now stays still: when switching from the file
view to the annotate view it looks like the file content is simply
right-shifted to make room for the author names.
Martin Geisler <mg@lazybytes.net> [Mon, 18 May 2009 23:37:36 +0200] rev 8506
coal/paper: simplify margin and padding CSS rules
Martin Geisler <mg@lazybytes.net> [Mon, 18 May 2009 23:35:27 +0200] rev 8505
spartan: simplify CSS colors (#xxxxxx -> #xxx)
Martin Geisler <mg@lazybytes.net> [Mon, 18 May 2009 23:27:51 +0200] rev 8504
coal/paper/spartan: remove extra line break in annotate view
Matt Mackall <mpm@selenic.com> [Mon, 18 May 2009 17:36:24 -0500] rev 8503
commit: tidy up mergestate slightly
Matt Mackall <mpm@selenic.com> [Mon, 18 May 2009 17:36:24 -0500] rev 8502
commit: drop unneeded dirstate invalidate logic
We no longer touch the dirstate in the middle of a commit, so a
failing commit doesn't require invalidating the dirstate.
Matt Mackall <mpm@selenic.com> [Mon, 18 May 2009 17:36:24 -0500] rev 8501
commit: some tidying
- simplify handling of 'close'
- kill silly wlock=None
- sort/uniq files later
Matt Mackall <mpm@selenic.com> [Mon, 18 May 2009 17:36:24 -0500] rev 8500
commit: remove unused lock var
Matt Mackall <mpm@selenic.com> [Mon, 18 May 2009 17:36:24 -0500] rev 8499
commit: move description trimming into changelog
Matt Mackall <mpm@selenic.com> [Mon, 18 May 2009 17:36:24 -0500] rev 8498
commit: simplify manifest commit
Matt Mackall <mpm@selenic.com> [Mon, 18 May 2009 17:36:24 -0500] rev 8497
commit: explain how to abort commit in editor
Matt Mackall <mpm@selenic.com> [Mon, 18 May 2009 17:36:24 -0500] rev 8496
commit: move editor outside transaction
The commit editor is now invoked before files and manifest are
committed. The editor is now run with only the wlock held and aborting
an edit no longer requires rolling back a transaction. Changes to
files during a commit still result in undefined behavior.
(This is preliminary work for committing subrepositories)
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Mon, 18 May 2009 22:55:45 +0200] rev 8495
convert: directly use nullid
Matt Mackall <mpm@selenic.com> [Mon, 18 May 2009 13:54:21 -0500] rev 8494
Merge with stable
Jeremy Whitlock <jcscoobyrs@gmail.com> [Thu, 02 Apr 2009 18:18:43 -0600] rev 8493
Fix how setup.py identifies the Mercurial version.
There is a problem with setup.py where it will not identify the Mercurial
version properly when not being ran in within a repository even if
mercurial/__version__.py exists.
To fix, use mercurial.__version__.version when available before defaulting
to "unknown". (Using mercurial.util.version() is not an option due to a
dependency issue where osutil can be referenced before it is built.)
Matt Mackall <mpm@selenic.com> [Sun, 17 May 2009 18:17:04 -0500] rev 8492
templater: replace eval with closure
Matt Mackall <mpm@selenic.com> [Sun, 17 May 2009 17:13:56 -0500] rev 8491
win32mbcs: remove silly eval
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 17 May 2009 23:07:23 +0200] rev 8490
merge with crew
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 17 May 2009 22:51:17 +0200] rev 8489
addremove/findrenames: find renames according to the match object (issue1527)
Instead of only finding similarities in the added/removed files found
by the addremove step, follow the match object:
hg addremove -s80 foo -> add and removes files in foo
+ find similarities between files in foo
hg addremove -s80 -> add and removes files in the whole repo
+ find similarities between files in the whole repo
hg import --similarity will still work correctly (only find similarities
between files found in the patch).
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 17 May 2009 22:40:04 +0200] rev 8488
addremove: mapping isn't really needed, simplify
Martin Geisler <mg@lazybytes.net> [Sun, 17 May 2009 22:52:45 +0200] rev 8487
gitweb, monoblue: break long line in map file
Martin Geisler <mg@lazybytes.net> [Sun, 17 May 2009 22:51:50 +0200] rev 8486
coal, paper: add newlines when displaying a file in hgweb
The newlines make the HTML somewhat readable and gives much smaller,
readable diffs when the tests change.
Martin Geisler <mg@lazybytes.net> [Sun, 17 May 2009 21:47:24 +0200] rev 8485
test-highlight: decouple test from get-with-headers.py
The test copied get-with-headers.py from $TESTDIR and committed it to
a test repository. The test output therefore depended unnecessarily on
the exact content of get-with-headers.py. It has now been replaced
with another small Python script.
Patrick Mezard <pmezard@gmail.com> [Sun, 17 May 2009 20:00:11 +0200] rev 8484
Merge with crew-stable
Martin Geisler <mg@lazybytes.net> [Sun, 17 May 2009 16:57:40 +0200] rev 8483
convert/cvsps: use set.update for bulk update
Martin Geisler <mg@lazybytes.net> [Sun, 17 May 2009 16:57:12 +0200] rev 8482
hbisect: use set.update for bulk updates
Martin Geisler <mg@lazybytes.net> [Sun, 17 May 2009 16:56:53 +0200] rev 8481
localrepo: use set.update for bulk updates
Martin Geisler <mg@lazybytes.net> [Sun, 17 May 2009 16:56:20 +0200] rev 8480
store: create set directly from iterable
Martin Geisler <mg@lazybytes.net> [Sun, 17 May 2009 16:55:51 +0200] rev 8479
repair: bulk update sets
Use a single set.update and set.difference_update call instead of many
set.add and set.discard calls.
Martin Geisler <mg@lazybytes.net> [Sun, 17 May 2009 16:20:27 +0200] rev 8478
ui: use set instead of dict
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 17 May 2009 16:15:37 +0200] rev 8477
alias: honor the [defaults] section, fix issue1642
Dirkjan Ochtman <dirkjan@ochtman.nl> [Sun, 17 May 2009 16:08:47 +0200] rev 8476
templater: keep a cache of Python functions for filter expressions
Dirkjan Ochtman <dirkjan@ochtman.nl> [Sun, 17 May 2009 16:06:48 +0200] rev 8475
templater: replace regex complexity by simple str containment checks
Dirkjan Ochtman <dirkjan@ochtman.nl> [Sun, 17 May 2009 16:05:50 +0200] rev 8474
templater: clean up the process method, separating code paths
Cédric Duval <cedricduval@free.fr> [Sun, 17 May 2009 09:54:08 +0200] rev 8473
patchbomb: make diffstat usage clearer
Making it clear that diffstat output does not only depend on diffstat
being installed - it also needs to be explicitely requested.
Martin Geisler <mg@lazybytes.net> [Sun, 17 May 2009 15:30:45 +0200] rev 8472
patchbomb: describe --attach and --inline options in help
Cédric Duval <cedricduval@free.fr> [Sun, 17 May 2009 09:45:49 +0200] rev 8471
patchbomb: fix help to reflect actual operation
In the body, the description is shown in its entirety,
unstripped from what was already in the subject.
Patrick Mezard <pmezard@gmail.com> [Sun, 17 May 2009 14:35:06 +0200] rev 8470
convert/bzr: warn when source is a lightweight checkout (issue1647)
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 17 May 2009 04:33:39 +0200] rev 8469
localrepo: use set instead of dict
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 17 May 2009 04:20:59 +0200] rev 8468
copies: use set instead of dict
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 17 May 2009 04:16:44 +0200] rev 8467
store: use set instead of dict
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 17 May 2009 04:14:15 +0200] rev 8466
verify: use set instead of dict
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 17 May 2009 03:53:13 +0200] rev 8465
ancestor: use set instead of dict
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 17 May 2009 03:49:59 +0200] rev 8464
revlog: use set instead of dict
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 17 May 2009 03:40:54 +0200] rev 8463
bisect: use set instead of dict
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 17 May 2009 03:38:03 +0200] rev 8462
repair: use set instead of dict
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 17 May 2009 03:28:49 +0200] rev 8461
patch: use set instead of dict
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 17 May 2009 03:26:08 +0200] rev 8460
record: use set instead of dict
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 17 May 2009 03:25:24 +0200] rev 8459
hgk: use set instead of dict
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 17 May 2009 03:19:00 +0200] rev 8458
convert: cleanups in monotone converter
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 17 May 2009 03:14:37 +0200] rev 8457
merge with crew
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 17 May 2009 03:04:17 +0200] rev 8456
convert: use set instead of dict
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 17 May 2009 03:02:12 +0200] rev 8455
bugzilla: use set instead of dict
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 17 May 2009 02:55:22 +0200] rev 8454
rebase: use set instead of dict
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 17 May 2009 02:44:12 +0200] rev 8453
revlog.missing(): use sets instead of a dict
Martin Geisler <mg@lazybytes.net> [Sun, 17 May 2009 02:15:21 +0200] rev 8452
tests: add missing interpreter lines
Martin Geisler <mg@lazybytes.net> [Sun, 17 May 2009 02:10:09 +0200] rev 8451
cvsnt-mergepoints test: use sh instead of bash
Martin Geisler <mg@lazybytes.net> [Sun, 17 May 2009 01:42:21 +0200] rev 8450
tests: removed unnecessary execute bit on Python tests
Martin Geisler <mg@lazybytes.net> [Sun, 17 May 2009 01:39:31 +0200] rev 8449
tests: renamed Python tests to .py
Martin Geisler <mg@lazybytes.net> [Sun, 17 May 2009 02:31:12 +0200] rev 8448
tests: renamed helper to avoid clash with stdlib repr module
Martin Geisler <mg@lazybytes.net> [Sun, 17 May 2009 01:24:45 +0200] rev 8447
tests: fix doc string in get-with-headers.py
Marti Raudsepp <marti@juffo.org> [Sun, 17 May 2009 01:16:56 +0200] rev 8446
tests: use repr.py to avoid binary characters in test output
Martin Geisler <mg@lazybytes.net> [Sun, 17 May 2009 01:10:35 +0200] rev 8445
tests: new helper for tests with binary output
Greg Ward <greg-hg@gerg.ca> [Sat, 16 May 2009 14:15:58 -0400] rev 8444
convert: improve docstrings, comments.
Martin Geisler <mg@lazybytes.net> [Fri, 15 May 2009 01:21:24 +0200] rev 8443
changelog: turn {de,en}code_extra methods into functions
The methods were not really methods -- they didn't use 'self'. Having
them as functions in the module it useful for other modules (like the
commitsigs extension) that want to recompute the changeset hash and
thus want to encode dicts the same way as changelog does it.
Removed the underbars from their names at the same time.
Martin Geisler <mg@lazybytes.net> [Sat, 16 May 2009 11:16:23 +0200] rev 8442
merge with crew-stable
Martin Geisler <mg@lazybytes.net> [Sat, 16 May 2009 08:46:42 +0200] rev 8441
contrib/win32: add simple style sheet
Martin Geisler <mg@lazybytes.net> [Sat, 16 May 2009 08:38:04 +0200] rev 8440
contrib/win32: updated title of the hgbook
Martin Geisler <mg@lazybytes.net> [Sat, 16 May 2009 08:37:06 +0200] rev 8439
contrib/win32: format file names and env vars with <tt>
Martin Geisler <mg@lazybytes.net> [Sat, 16 May 2009 08:33:23 +0200] rev 8438
contrib/win32: indent and word wrap consistently
Martin Geisler <mg@lazybytes.net> [Sat, 16 May 2009 08:26:36 +0200] rev 8437
contrib/win32: add missing <p> tags
Martin Geisler <mg@lazybytes.net> [Sat, 16 May 2009 08:22:30 +0200] rev 8436
contrib/win32: fix HTML tag nesting
Adrian Buehlmann <adrian@cadifra.com> [Fri, 15 May 2009 13:59:43 +0200] rev 8435
contrib/win32: license is GPLv2 only
according to Matt Mackall
Patrick Mezard <pmezard@gmail.com> [Fri, 15 May 2009 16:17:56 +0200] rev 8434
Merge with crew-stable
Dirkjan Ochtman <dirkjan@ochtman.nl> [Fri, 15 May 2009 15:21:17 +0200] rev 8433
mq: qpush shouldn't complain if working dir is at a non-tip head
Dirkjan Ochtman <dirkjan@ochtman.nl> [Fri, 15 May 2009 10:47:19 +0200] rev 8432
contrib: add tmplrewrite.py script to help rewrite old templater syntax
Dirkjan Ochtman <dirkjan@ochtman.nl> [Fri, 15 May 2009 10:47:13 +0200] rev 8431
spartan: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl> [Fri, 15 May 2009 10:47:05 +0200] rev 8430
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl> [Fri, 15 May 2009 10:46:59 +0200] rev 8429
raw: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl> [Fri, 15 May 2009 10:46:52 +0200] rev 8428
atom/rss: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl> [Fri, 15 May 2009 10:46:39 +0200] rev 8427
git: use newer template syntax everywhere
Patrick Mezard <pmezard@gmail.com> [Sun, 17 May 2009 19:54:26 +0200] rev 8426
Add tests for qfold
David Frey <dpfrey@shaw.ca> [Sat, 16 May 2009 16:20:37 -0700] rev 8425
mq: abort qfold upon local changes (issue1662)
Martin Geisler <mg@lazybytes.net> [Sat, 16 May 2009 11:12:49 +0200] rev 8424
changelog: refuse to add revisions with empty usernames
An empty username or a username with a "\n" will make the revision
text contain two "\n\n" sequences -> corrupt repository.
The problem is that changelog.read expects to find exactly one "\n\n"
separator and thus cannot unpack the revision.
Patrick Mezard <pmezard@gmail.com> [Fri, 15 May 2009 16:12:09 +0200] rev 8423
convert/bzr: fix symlinks target (issue1626/2)
Martin Geisler <mg@lazybytes.net> [Fri, 15 May 2009 00:55:14 +0200] rev 8422
changelog: removed bad default arguments in add method
The arguments defaulted to None, but
- user cannot be None since it is immediately stripped.
- p1 and p2 cannot be None since they are passed directly to
revlog.addrevision, where they are mandatory.
Sune Foldager <cryo@cyanite.org> [Wed, 13 May 2009 21:36:16 +0200] rev 8421
posixfile: remove posixfile_nt and fix import bug in windows.py
The posixfile_nt class has been superseded by posixfile in osutils.c,
which works on Windows NT and above. All other systems get the regular
python file class which is assigned to posixfile in posix.py (for POSIX)
and in the pure python version of osutils.py (for Win 9x or Windows NT
in pure mode).
Bryan O'Sullivan <bos@serpentine.com> [Thu, 14 May 2009 14:12:32 -0700] rev 8420
util: make atomictempfile saner if mktempcopy fails
Martin Geisler <mg@lazybytes.net> [Thu, 14 May 2009 23:05:16 +0200] rev 8419
merged with crew-stable
Martin Geisler <mg@lazybytes.net> [Thu, 14 May 2009 22:59:12 +0200] rev 8418
util: import random, missing since ea82a23cf887
Brett Carter <brett@rdnzl.net> [Thu, 14 May 2009 22:00:56 +0200] rev 8417
clone: try updating to the actual changeset specified in options
When cloning with the -r option or # url format from a tag the destination
repo most likely won't have the tag. We can save the lookup result to get to
the correct parent anyway. Similar to issue1306, but for tags.
Matt Mackall <mpm@selenic.com> [Thu, 14 May 2009 13:24:39 -0500] rev 8416
commit: hoist the rest of the dirstate manipulation out of commitctx
Matt Mackall <mpm@selenic.com> [Thu, 14 May 2009 13:24:39 -0500] rev 8415
commit: hoist up dirstate invalidate
Matt Mackall <mpm@selenic.com> [Thu, 14 May 2009 13:24:26 -0500] rev 8414
commitctx: use contexts more fully
Matt Mackall <mpm@selenic.com> [Thu, 14 May 2009 13:21:20 -0500] rev 8413
context: add new manifestnode method
Matt Mackall <mpm@selenic.com> [Thu, 14 May 2009 13:21:20 -0500] rev 8412
commitctx: eliminate some variables
Matt Mackall <mpm@selenic.com> [Thu, 14 May 2009 13:21:20 -0500] rev 8411
commit: move lots of commitctx outside of the repo lock
Matt Mackall <mpm@selenic.com> [Thu, 14 May 2009 13:21:20 -0500] rev 8410
commit: combine _commitctx and commitctx, drop unused force argument
Matt Mackall <mpm@selenic.com> [Thu, 14 May 2009 13:21:17 -0500] rev 8409
editor: move HG: filtering from ui to commiteditor
Matt Mackall <mpm@selenic.com> [Thu, 14 May 2009 13:20:40 -0500] rev 8408
grep: make cache LRU rather than unlimited
grep could cache an unbounded number of revlogs, limit to 20 with an
LRU cache.
Matt Mackall <mpm@selenic.com> [Thu, 14 May 2009 13:20:40 -0500] rev 8407
commit: move commit editor to cmdutil, pass as function
Matt Mackall <mpm@selenic.com> [Thu, 14 May 2009 13:20:40 -0500] rev 8406
context: add p1 and p2 methods
Matt Mackall <mpm@selenic.com> [Thu, 14 May 2009 13:20:40 -0500] rev 8405
commit: push repo lock down into _commitctx
Matt Mackall <mpm@selenic.com> [Thu, 14 May 2009 13:20:40 -0500] rev 8404
commit: move 'nothing changed' test into commit()
Matt Mackall <mpm@selenic.com> [Thu, 14 May 2009 13:20:40 -0500] rev 8403
commit: drop unused p1 and p2 args
Matt Mackall <mpm@selenic.com> [Thu, 14 May 2009 13:20:40 -0500] rev 8402
tag: drop unused use_dirstate and parent from _tag()
Matt Mackall <mpm@selenic.com> [Thu, 14 May 2009 13:20:40 -0500] rev 8401
filecommit: swallow some bits from _commitctx, add _
Matt Mackall <mpm@selenic.com> [Thu, 14 May 2009 13:20:40 -0500] rev 8400
commitctx: replace wctx with ctx
Matt Mackall <mpm@selenic.com> [Thu, 14 May 2009 13:20:40 -0500] rev 8399
commitctx: replace two dirstate vars with working
Matt Mackall <mpm@selenic.com> [Thu, 14 May 2009 13:20:40 -0500] rev 8398
commitctx: simplify locking
(spotted by Simon Heimberg)
Matt Mackall <mpm@selenic.com> [Thu, 14 May 2009 13:20:40 -0500] rev 8397
remove deprecated rawcommit
Matt Mackall <mpm@selenic.com> [Thu, 14 May 2009 13:20:40 -0500] rev 8396
patch: copy copies dict before changing it (issue1651)
Matt Mackall <mpm@selenic.com> [Thu, 14 May 2009 13:20:40 -0500] rev 8395
status: check cmp list in order
Peter Arrenbrecht <peter.arrenbrecht@gmail.com> [Thu, 14 May 2009 16:22:49 +0200] rev 8394
verify: detect manifest revs not in any changeset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com> [Thu, 14 May 2009 16:11:45 +0200] rev 8393
localrepo: use more direct vars in addchangegroup
Peter Arrenbrecht <peter.arrenbrecht@gmail.com> [Thu, 14 May 2009 16:09:27 +0200] rev 8392
localrepo: use cl throughout in addchangegroup
Peter Arrenbrecht <peter.arrenbrecht@gmail.com> [Thu, 14 May 2009 16:00:21 +0200] rev 8391
revlog: slightly tune group() by not going rev->node->rev
Peter Arrenbrecht <peter.arrenbrecht@gmail.com> [Thu, 14 May 2009 15:35:46 +0200] rev 8390
drop unused imports
Peter Arrenbrecht <peter.arrenbrecht@gmail.com> [Thu, 14 May 2009 15:24:36 +0200] rev 8389
indentation cleanup
Martin Geisler <mg@lazybytes.net> [Thu, 14 May 2009 17:28:26 +0200] rev 8388
test-debugcomplete: add --show merge option to output
Dirkjan Ochtman <dirkjan@ochtman.nl> [Thu, 14 May 2009 16:03:17 +0200] rev 8387
merge: add -S/--show option to review revisions without merging
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 14 May 2009 15:48:47 +0200] rev 8386
inotify: Abstract the layer format and sizes to a inotify.common dictionary
Instead of having a single possible request format, introduce a dictionary
of possible messages in inotify.common
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 11 May 2009 08:19:28 +0900] rev 8385
inotify: Coding Style: name classes in lowercase.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Fri, 08 May 2009 16:28:52 +0900] rev 8384
inotify: dic.setdefault(k, d) ; v = dic[k] --> v = dic.setdefault(k, d)
dict.setdefault sets a default value, but also returns the dict.get result.
Getting the value on the next instruction was redundant.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Fri, 08 May 2009 16:40:39 +0900] rev 8383
inotify: make mask a class variable since it's instance-independant
Nicolas Dumazet <nicdumz.commits@gmail.com> [Fri, 08 May 2009 17:45:01 +0900] rev 8382
inotify: RepoWatcher.updatestatus: document & use meaningful parameter names
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 04 May 2009 18:19:26 +0900] rev 8381
inotify: server.walk(): use yield instead of for
iterate on subdir when the directory is found, not
once all the directories are found, since yield order doesn't matter
Simon Heimberg <simohe@besonet.ch> [Thu, 14 May 2009 10:59:55 +0200] rev 8380
context: replace pseudo-set by real set
Martin Geisler <mg@lazybytes.net> [Thu, 14 May 2009 13:21:47 +0200] rev 8379
highlight: updated changed test output
It was changed in 783c8c78db86, but I forgot to update it.
Martin Geisler <mg@lazybytes.net> [Thu, 14 May 2009 13:20:04 +0200] rev 8378
byterange: fix import error
We must import the module as email.Utils on case-sensitive
filesystems.
Michael J. Pedersen <m.pedersen@icelus.org> [Wed, 13 May 2009 15:03:31 -0400] rev 8377
convert: adding branchmap functionality to convert extension
Martin Geisler <mg@lazybytes.net> [Wed, 13 May 2009 22:42:40 +0200] rev 8376
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net> [Wed, 13 May 2009 22:42:19 +0200] rev 8375
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net> [Wed, 13 May 2009 22:41:58 +0200] rev 8374
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net> [Wed, 13 May 2009 22:41:36 +0200] rev 8373
coal: break long lines in map file
Martin Geisler <mg@lazybytes.net> [Wed, 13 May 2009 22:40:49 +0200] rev 8372
paper: break long lines in map file
Bryan O'Sullivan <bos@serpentine.com> [Wed, 13 May 2009 13:30:28 -0700] rev 8371
hgwebdir: refresh configuration periodically
The old default behaviour of hgwebdir was to maintain a list of
repositories permanently. This interacted badly with persistent
application hosting software such as WSGI containers. If a new repository
was published, it would potentially never appear in the top-level list
of repositories.
This change causes the hgwebdir configuration and list of repositories
served to be refreshed periodically (at most every 20 seconds).
Jonathan Kotta <jpkotta@packetdigital.com> [Wed, 13 May 2009 13:07:43 -0500] rev 8370
allow toggling when the cursor is on the correct line instead of just the filename text in hg-commit-toggle-file
Rocco Rutte <pdmef@gmx.net> [Wed, 13 May 2009 16:31:19 +0200] rev 8369
coal/paper: Wrap diff in <pre/>
In text-mode browsers the diff is otherwise rendered
as just one long line per file. Other styles do the same.
Martin Geisler <mg@lazybytes.net> [Tue, 12 May 2009 01:08:28 +0200] rev 8368
cmdutil: replace pseudo-set by real set
Mikkel Krøigaard <mk@cs.au.dk> [Wed, 13 May 2009 15:35:25 +0200] rev 8367
i18n-da: fixed unfortunate translation
The Danish word "fjern" means both "remote" and "remove".
Dirkjan Ochtman <dirkjan@ochtman.nl> [Wed, 13 May 2009 14:08:39 +0200] rev 8366
some modernization cleanups, forward compatibility
Greg Ward <greg-hg@gerg.ca> [Tue, 12 May 2009 10:03:36 -0400] rev 8365
Makefile: fix grammar in comment
Henrik Stuart <henrik.stuart@edlund.dk> [Tue, 12 May 2009 15:50:44 +0200] rev 8364
windows: avoid deleting non-empty reparse points
If a hg repository including working directory is a reparse point (directory
symlinked or a junction point), then using os.removedirs will remove the
reparse point erroneously. This is fixed by only removing directories if they
are empty.
Henrik Stuart <hg@hstuart.dk> [Mon, 11 May 2009 21:12:40 +0200] rev 8363
transaction: add atomic groups to transaction logic
When performing a strip operation on a repository, it is vital that all the
truncations are performed, or that none of them are. This is done by adding
support for writing a number of entries in a single operation.
Co-contributor: Sune Foldager <cryo@cyanite.org>
Dirkjan Ochtman <dirkjan@ochtman.nl> [Tue, 12 May 2009 11:15:54 +0200] rev 8362
mq: add -P/--push option to qimport
Dirkjan Ochtman <dirkjan@ochtman.nl> [Tue, 12 May 2009 12:05:19 +0200] rev 8361
templater: make the templating engine pluggable to some extent
Dirkjan Ochtman <dirkjan@ochtman.nl> [Tue, 12 May 2009 12:04:05 +0200] rev 8360
templater: provide the standard template filters by default
Dirkjan Ochtman <dirkjan@ochtman.nl> [Tue, 12 May 2009 10:57:55 +0200] rev 8359
hgweb: trust config file passed into hgwebdir
Before this patch, hgwebdir suddenly showed up empty for a webdir-conf file
that was for some reason not trusted. This was previously not a problem because
the trust mechanism wasn't required for the very separate webdir-conf.
Dirkjan Ochtman <dirkjan@ochtman.nl> [Tue, 12 May 2009 11:05:13 +0200] rev 8358
tests: add test for branches webcommand
Sune Foldager <cryo@cyanite.org> [Tue, 12 May 2009 11:58:39 +0200] rev 8357
spartan: add branches page
Sune Foldager <cryo@cyanite.org> [Mon, 11 May 2009 21:12:44 +0200] rev 8356
gitweb: add branches page
Sune Foldager <cryo@cyanite.org> [Mon, 11 May 2009 21:14:43 +0200] rev 8355
monoblue: add branches page
Dirkjan Ochtman <dirkjan@ochtman.nl> [Tue, 12 May 2009 10:23:45 +0200] rev 8354
hgweb: use context api in branches webcommand
Sune Foldager <cryo@cyanite.org> [Tue, 12 May 2009 12:00:54 +0200] rev 8353
paper/coal: add branches page
Sune Foldager <cryo@cyanite.org> [Tue, 12 May 2009 09:43:36 +0200] rev 8352
webcommands: add 'branches' command, similar to 'tags'
Rocco Rutte <pdmef@gmx.net> [Tue, 12 May 2009 11:27:26 +0200] rev 8351
test-patchbomb: fix style
Specifying revisions without -r is deprecated, break long lines.
Martin Geisler <mg@lazybytes.net> [Mon, 11 May 2009 23:42:03 +0200] rev 8350
tests: avoid export FOO=bar bashism
Martin Geisler <mg@lazybytes.net> [Mon, 11 May 2009 00:16:49 +0200] rev 8349
i18n-da: fix typo and translate rollback messages