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
Patrick Mezard <pmezard@gmail.com> [Sat, 16 Feb 2008 12:46:28 +0100] rev 6130
Merge with crew-stable
Peter Arrenbrecht <peter.arrenbrecht@gmail.com> [Sun, 10 Feb 2008 08:53:39 +0100] rev 6129
bundlerepo: fix inconsistency of parsed and internal name (issue #821)
Peter Arrenbrecht <peter.arrenbrecht@gmail.com> [Sun, 10 Feb 2008 08:52:50 +0100] rev 6128
bundlerepo: test exposing inconsistency of parsed and internal name (issue #821)
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Fri, 15 Feb 2008 23:38:18 -0200] rev 6127
Simplify the output of test-bheads
Also remove unneeded -d and -u commit options.
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 15 Feb 2008 21:34:33 +0100] rev 6126
merge with crew
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 15 Feb 2008 21:34:16 +0100] rev 6125
Make hgweb annotate link to target line numbers (issue623)
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 15 Feb 2008 20:06:47 +0100] rev 6124
fix test output after f7f25f58693a
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 15 Feb 2008 19:44:54 +0100] rev 6123
merged Edward Lee's line anchors patch
Edward Lee <edward.lee@engineering.uiuc.edu> [Tue, 04 Sep 2007 22:25:37 -0500] rev 6122
Add line anchors to annotate, changeset, diff, file views for hgweb
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Fri, 15 Feb 2008 16:06:36 -0200] rev 6121
automatically update the branch cache when tip changes
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Fri, 15 Feb 2008 16:06:36 -0200] rev 6120
move the reading of branch.cache from _branchtags to branchtags
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Fri, 15 Feb 2008 16:06:36 -0200] rev 6119
localrepo: keep the UTF-8 version of branchcache around
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Fri, 15 Feb 2008 16:06:36 -0200] rev 6118
localrepo.invalidate: invalidate branchcache
Christian Ebert <blacktrash@gmx.net> [Fri, 15 Feb 2008 18:37:00 +0100] rev 6117
keyword: do not inspect node1 for diff if node2 is given
Christian Ebert <blacktrash@gmx.net> [Fri, 15 Feb 2008 18:36:49 +0100] rev 6116
keyword: add test for patch.diff monkey
Christian Ebert <blacktrash@gmx.net> [Fri, 15 Feb 2008 18:36:28 +0100] rev 6115
keyword: make main class and hg command accessible
Switch from global vars to top level dictionary.
Goal: make it easier for external tools (like tortoisehg)
to hook into keyword extension.
Christian Ebert <blacktrash@gmx.net> [Fri, 15 Feb 2008 18:21:02 +0100] rev 6114
keyword: move expand/shrink decisions into kwtemplater
- do not clobber wrapper code
- get rid of clumsy kwtemplater attributes
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Fri, 15 Feb 2008 10:51:35 -0200] rev 6113
try to fix test-inherit-mode on HFS+
HFS+ doesn't like setgid directories, so avoid them in most
of the test and do a quick check that doesn't change the
output when everything's OK.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Fri, 15 Feb 2008 10:38:37 -0200] rev 6112
cmdutil.commit: use relative paths in the error messages
This is more consistent with other error messages and requires
less makeup in test-commit and test-symlink-basic.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Fri, 15 Feb 2008 10:38:37 -0200] rev 6111
util.pathto: return '.' instead of an empty string
This could happen with something like
pathto(repo.root, 'foo/bar', 'foo/bar')