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)
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 17 Feb 2008 12:53:57 +0100] rev 6138
Report filenames with disallowed characters as suggested by Mika Eloranta
(see
issue671)
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 16 Feb 2008 18:12:30 +0100] rev 6137
hgweb: Quote filenames when downloading raw files.
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 16 Feb 2008 17:51:30 +0100] rev 6136
hgweb: Pass only filename instead of full path when downloading raw files.
Before this patch "filename=foo/bar" was sent and e.g. Firefox offered to save
the file as "foo-bar" instead of just "bar".
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 16 Feb 2008 13:34:11 +0100] rev 6135
merge with crew
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 16 Feb 2008 13:33:38 +0100] rev 6134
Make annotae/grep print short dates with -q/--quiet.
Move shortdate() from templatefilters to util to avoid code duplication.
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 16 Feb 2008 13:01:27 +0100] rev 6133
Add hg grep -d/--date to list the commit date of matched revisions.
Suggested by Greg Lindahl
Patrick Mezard <pmezard@gmail.com> [Wed, 13 Feb 2008 23:09:28 +0100] rev 6132
util: always define a dummy lookup_reg()
Patrick Mezard <pmezard@gmail.com> [Sat, 16 Feb 2008 11:55:33 +0100] rev 6131
convert: improve cycles detection message