Jesse Glick <jesse.glick@sun.com> [Mon, 03 Mar 2008 12:46:57 -0500] rev 6204
When failing to load an extension, show where Hg tried to load it from.
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 02 Mar 2008 23:32:13 +0100] rev 6203
hgweb/annotate: handle binary files like hgweb/file
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 02 Mar 2008 20:54:00 +0100] rev 6202
test-status: Make assert function definition sh compatible.
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 02 Mar 2008 13:52:34 +0100] rev 6201
Extend/correct
acc40572da5b regarding -qA and ignored files.
hg status -qA will now hide untracked files as described in the doc string.
Zoran Bosnjak <zoran.bosnjak@via.si> [Sat, 01 Mar 2008 22:30:03 +0100] rev 6200
'hg status -q' output skips non-tracked files.
The '-q' flag was ignored in status command. But this flag
can be used to hide non-tracked files in hg status output.
This small correction makes status command more general,
similar to 'svn status', where '-q' flag has the same effect.
The '-u' and '-A' flags have priority over '-q'.
A testcase and doc-string for status was extended to cover
'-q' flag.
Brendan Cully <brendan@kublai.com> [Fri, 29 Feb 2008 14:48:21 -0800] rev 6199
highlight: forgot import
Brendan Cully <brendan@kublai.com> [Fri, 29 Feb 2008 14:47:07 -0800] rev 6198
highlight: guess by text when path name is ambiguous
Although the docs claim that guess_lexer_for_filename will fall back
to using file data, my ubuntu 7.10 pygments library seems to ignore
the text argument. So call guess_lexer explicitly on failure.
Brendan Cully <brendan@kublai.com> [Fri, 29 Feb 2008 14:21:15 -0800] rev 6197
highlight: make div trimmer work when lexer fails to identify text.
In this case, there is no initial <span> tag.
Brendan Cully <brendan@kublai.com> [Fri, 29 Feb 2008 11:13:50 -0800] rev 6196
highlight: use iter() instead of generator comprehension
Dirkjan Ochtman <dirkjan@ochtman.nl> [Fri, 29 Feb 2008 09:54:28 +0100] rev 6195
mq: remove unimplemented option -f for strip
Brendan Cully <brendan@kublai.com> [Thu, 28 Feb 2008 22:04:22 -0800] rev 6194
highlight: bail out if file is binary
Brendan Cully <brendan@kublai.com> [Thu, 28 Feb 2008 21:35:27 -0800] rev 6193
highlight: support annotate, and reduce layering violations.
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 29 Feb 2008 02:45:12 +0100] rev 6192
Introduce templateopts and logopts to reduce duplicate option definitions.
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 29 Feb 2008 02:15:31 +0100] rev 6191
Add option -l/--limit to hg incoming and hg outgoing.
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 29 Feb 2008 01:51:23 +0100] rev 6190
Move finding/checking the log limit to cmdutil
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 29 Feb 2008 01:25:31 +0100] rev 6189
Make hg debugancestor accept -R by making it an optionalrepo command.
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 29 Feb 2008 01:14:37 +0100] rev 6188
debugancestor: use *args instead of *opts, to not confuse with option dicts.
Marti Raudsepp <marti@juffo.org> [Thu, 28 Feb 2008 17:37:56 +0200] rev 6187
mq: Cleanup: update outdated file header.
Marti Raudsepp <marti@juffo.org> [Thu, 28 Feb 2008 17:37:56 +0200] rev 6186
convert: Clean up authormap key=value splitting.
Introduces a subtle parsing difference: dstauthor can now contain '='
characters.
Marti Raudsepp <marti@juffo.org> [Thu, 28 Feb 2008 17:37:56 +0200] rev 6185
convert: Avoid redundant newline on authormap errors.
The extra rstrip is necessary in case the file has uses different line
terminators (i.e. CRLF).
Marti Raudsepp <marti@juffo.org> [Thu, 28 Feb 2008 17:37:56 +0200] rev 6184
convert: Ignore empty lines in authormap file.
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 28 Feb 2008 22:39:59 +0100] rev 6183
Add config option to disable putting .hg_archival.txt inside archives.
Dirkjan Ochtman <dirkjan@ochtman.nl> [Thu, 28 Feb 2008 19:08:04 +0100] rev 6182
add a blame alias for annotate
The original cvs command was called blame. SVN has both, and other VC systems
typically also have this as an alias. Makes things easier for converts.
Dirkjan Ochtman <dirkjan@ochtman.nl> [Thu, 28 Feb 2008 17:51:04 +0100] rev 6181
warning on push should mention heads, not branches
This makes the concept easier to relate to similar messages given on pull,
and allows for a distinction between heads and (named) branches.
Patrick Mezard <pmezard@gmail.com> [Thu, 28 Feb 2008 00:07:38 +0100] rev 6180
commands: lock() the repo while unbundling (
issue1004)
Patrick Mezard <pmezard@gmail.com> [Thu, 28 Feb 2008 00:07:37 +0100] rev 6179
patch: fix iterhunks() with trailing binary file removal
Like some renames or copy operations, binary file removal does not generate any
"file" or "hunk" action, but was not tagged as such and let iterhunk() assume
no hunk was applied for the deleted file.
Bryan O'Sullivan <bos@serpentine.com> [Wed, 27 Feb 2008 14:58:44 -0800] rev 6178
debugancestor: make the index argument optional, defaulting to 00changelog.i
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 26 Feb 2008 22:42:37 +0100] rev 6177
Renamed "manifest" to "files" in web templates.
manifest.tmpl is still used, so people having their own templates don't have
to change them. "cmd=manifest" still works, new style URLs are not affected,
because they already used "/file/".
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 26 Feb 2008 22:21:34 +0100] rev 6176
Removed old-style hgweb templates
Steve Borho <steve@borho.org> [Tue, 26 Feb 2008 06:25:11 -0600] rev 6175
add explicit extension disabling syntax to hgrc.5
Jesse Glick <jesse.glick@sun.com> [Mon, 28 Jan 2008 22:19:12 -0500] rev 6174
Permit XML entities to be escaped in template output.
Useful for creating XML documents directly from Hg logging. Can also be used for
HTML. For use in content, will escape '&', '<', and for completeness '>'
(although it is not strictly necessary). For use in attributes, will also escape
' and ". Will also replace nonprinting (ASCII) control characters with spaces,
since these are illegal in XML.
Patrick Mezard <pmezard@gmail.com> [Sun, 24 Feb 2008 17:58:55 +0100] rev 6173
convert: add shallow, single branch svn conversions via svn.startrev
Patrick Mezard <pmezard@gmail.com> [Sun, 24 Feb 2008 17:58:53 +0100] rev 6172
convert: allow svn trunk/branches/tags detection to be skipped
- eluding convert.svn.branches defaults to "branches"
- convert.svn.branches= disables branches detection
- convert.svn.branches=/ is equivalent to former convert.svn.branches=
John Mulligan <phlogistonjohn@yahoo.com> [Thu, 21 Feb 2008 08:24:58 -0500] rev 6171
Add --all option to bundle command
Patrick Mezard <pmezard@gmail.com> [Sat, 23 Feb 2008 19:37:44 +0100] rev 6170
Fix test-convert.out after
55455556f921
Patrick Mezard <pmezard@gmail.com> [Sat, 23 Feb 2008 16:43:33 +0100] rev 6169
convert: improve subversion source documentation
Dirkjan Ochtman <dirkjan@ochtman.nl> [Sat, 23 Feb 2008 11:19:59 +0100] rev 6168
hgweb: fix parameter mixup (
issue1001)
Dirkjan Ochtman <dirkjan@ochtman.nl> [Sat, 23 Feb 2008 11:18:34 +0100] rev 6167
tests: easier hg serve error diagnosis
Peter Arrenbrecht <peter.arrenbrecht@gmail.com> [Thu, 21 Feb 2008 20:56:06 +0100] rev 6166
util: make walkrepos() return .hg/patches if present
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 22 Feb 2008 21:58:15 +0100] rev 6165
Allow "file://localhost/" in addition to "file:///" (
issue728)
file://localhost/ URLs are generated by Mac OS X API calls like
[NSURL fileURLWithPath:].
Imported patch from Paul Bx.
Peter Arrenbrecht <peter.arrenbrecht@gmail.com> [Thu, 21 Feb 2008 23:00:50 +0100] rev 6164
mq: make qclone ask remote source repo for qbase using lookup protocol
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 22 Feb 2008 21:18:48 +0100] rev 6163
Document log date ranges and mention 'hg help dates' for all commands (
issue998)
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 22 Feb 2008 11:28:14 +0100] rev 6162
Add test case for backout on named branches (
issue665)
Gilles Moris <gilles.moris@free.fr> [Thu, 21 Feb 2008 08:52:52 +0100] rev 6161
Reverse the way backout is doing the merge
Currently, backout is creating a backout revision as a child node of the
backed out node and will leave you at this new head. This has several
drawbacks:
* this changes the current head
* when there is a long history between the backed out node and the
current head, this will generate a huge number of diffs that are scary
at first sight, and not very natural to review before commit.
The change consists to switch back to the original node as soon as the
backout node (which becomes the new tip) has been created. Then the
--merge option can just merge this new tip in the current node.
* the current head/node is not changed from the user's point of view
* even without using the --merge option, the backout revision is still
easy to locate, as this is the tip
* the merge is much more intuitive as diffs of the merge is right you
are looking to backout
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Thu, 21 Feb 2008 16:22:31 -0300] rev 6160
tests: hide the name of the branch cache file
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Thu, 21 Feb 2008 16:22:31 -0300] rev 6159
test-mq-pull-from-bundle: don't print the contents of $HGRCPATH
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Thu, 21 Feb 2008 16:22:31 -0300] rev 6158
repo.status: also compare flags for files in the lookup list.
We might be able to do something smarter about this in dirstate.status
for files in normallookup state, but that would require some extra
care to keep backwards compatibility.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Thu, 21 Feb 2008 16:22:31 -0300] rev 6157
keyword: remove "identify" and "remove" from nokwcommands
These two commands care about the list of modified files returned
by repo.status and we may need to do a full content comparison to
populate that list.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Thu, 21 Feb 2008 16:22:31 -0300] rev 6156
test-glog: pass the list of files to commit
test-glog uses debugsetparents instead of update+merge to create
some funky DAGs, and so the dirstate contents won't be consistent
with the checked out revision.
Passing an explicit list of files to commit reduces a bit the
dependency on the dirstate.
Using a non-deprecated rawcommit might be better here.
Dirkjan Ochtman <dirkjan@ochtman.nl> [Thu, 21 Feb 2008 15:56:35 +0100] rev 6155
hgweb: no i18n in protocol responses
Dirkjan Ochtman <dirkjan@ochtman.nl> [Thu, 21 Feb 2008 17:02:28 +0100] rev 6154
improve changegroup.readbundle(), use it in hgweb
Stefan Rank <strank(AT)strank(DOT)info> [Wed, 20 Feb 2008 21:31:42 +0100] rev 6153
Also search for .hgrc if mercurial.ini not found on windows
Dirkjan Ochtman <dirkjan@ochtman.nl> [Thu, 21 Feb 2008 15:00:25 +0100] rev 6152
hgweb: use bundletypes from mercurial.changegroup
Bryan O'Sullivan <bos@serpentine.com> [Wed, 20 Feb 2008 13:38:16 -0800] rev 6151
Merge with crew
Jesse Glick <jesse.glick@sun.com> [Fri, 25 Jan 2008 04:11:32 -0500] rev 6150
Infer a --repository argument from command arguments when reasonable.
In particular: if invoked without -R from a CWD not inside a repo, having been
passed one or more file paths as command arguments, where the nearest enclosing
repo of all of those paths is the same, quietly infer a -R option for that repo.
Otherwise abort with an error message as before.
Dirkjan Ochtman <dirkjan@ochtman.nl> [Wed, 20 Feb 2008 10:50:10 +0100] rev 6149
hgweb: separate protocol calls from interface calls (
issue996)
The protocol functions are already pretty careful about not raising
exceptions to the caller, and have their own error handling. We can formalize
this a little bit to make it clearer (before, the exception handlers for
a limited number of exceptions coming from the interface bits would blow up
because some variables aren't instantiated for the protocol calls).
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Tue, 19 Feb 2008 19:34:18 -0300] rev 6148
update output of test-convert
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Tue, 19 Feb 2008 19:20:10 -0300] rev 6147
repair.py: rewrite a loop, making it cleaner and faster
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Tue, 19 Feb 2008 19:20:10 -0300] rev 6146
Speed up hg grep by avoiding useless manifest parsing
In the kernel repo (tip =
2b89f7111b96), a "hg grep mpm MAINTAINERS" goes
from ~165s to 0.7s. This could get even a bit faster if we broke out of
the loop after the first match, but I'm not sure how that would interact
with the --follow code.
This is obviously an extreme example, but other cases should also benefit
from this patch.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Tue, 19 Feb 2008 19:20:10 -0300] rev 6145
cmdutil.walkchangerevs: use '-1:0' instead ot 'tip:0'
This avoids a possibly expensive tag lookup.