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.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Tue, 19 Feb 2008 19:20:10 -0300] rev 6144
revlog.revision: avoid opening the datafile without need.
If there's no inline data, revlog.revision opens the data file every
time it's called. This is useful if we're going to call chunk many
times, but, if we're going to call it only once, it's better to let
chunk open the file - if we're lucky, all the data we're going to need
is already cached and we won't need to even look at the file.
Bryan O'Sullivan <bos@serpentine.com> [Tue, 19 Feb 2008 10:53:40 -0800] rev 6143
convert: document splicemap, allow setting of multiple parents
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 18 Feb 2008 19:21:33 +0100] rev 6142
merge backout
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 18 Feb 2008 19:20:22 +0100] rev 6141
Backed out changeset
b913d3aacddc (see
issue971/msg5317)
Walter Doerwald <walter@livinglogic.de> [Tue, 28 Aug 2007 18:00:07 +0200] rev 6140
Simplify utils.walkrepos().
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 17 Feb 2008 21:34:28 +0100] rev 6139
Fix bad behaviour when specifying an invalid date (
issue700)
commit (aborts _after_ typing in a commit message)
backout (aborted after the initial revert)
tag (edited .hgtags and couldn't commit)
import (patch applied, then commit fails)
qnew (aborts on bad dates, but writes any valid date into the # Date header)
qrefresh (like qnew)
sign (like tag)
fetch (merge, merge, merge, merge, abort)