Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 27 Dec 2005 13:09:49 -0600] rev 1598
cleanup of revlog.group when repository is local
revlog.group cached every chunk from the revlog, the behaviour was
needed to minimize the roundtrip with old-http.
We now cache the revlog data ~4MB at a time.
The memory used server side when pulling goes down to 35Mo maximum
whereas without the patch more than 160Mo was used when cloning the linux kernel
repository.
The time used by cloning is higher mainly because of the check in revlog.revision.
before
110.25user 20.90system 2:52.00elapsed 76%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+708707minor)pagefaults 0swaps
after
117.56user 18.86system 2:50.43elapsed 80%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+748366minor)pagefaults 0swaps
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 27 Dec 2005 12:52:25 -0600] rev 1597
remove a duplicate check in commit / fix a bug when merging files
followed by revert
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 27 Dec 2005 12:52:10 -0600] rev 1596
fix 'hg tag <tagname> <revision>
- fix a collision with the option keyword rev and the option
name
- update the tests
Matt Mackall <mpm@selenic.com> [Thu, 22 Dec 2005 13:18:44 -0600] rev 1595
Re-enable the renamed check fastpath
Matt Mackall <mpm@selenic.com> [Fri, 16 Dec 2005 11:13:08 -0600] rev 1594
Merge with crew
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Thu, 15 Dec 2005 17:50:10 +0100] rev 1593
if a filename contains spaces, patch adds quote around it
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Fri, 16 Dec 2005 11:12:08 -0600] rev 1592
gpg signing extension for hg
the principle is almost the same as how tags work:
.hgsigs stores signatures, localsigs stores local signatures
the format of the signatures is:
nodeid sigversion base64_detached_sig
sigversion 0 signs simply the nodeid (maybe we would like
to sign other things in the future).
you can associate fingerprints with roles in hgrc like:
[gpg]
fingerprint_of_a_key_without_spaces = release
fingerprint_of_a_key_without_spaces = contributor, testing
the key used for signing can be specified on the command line or
via hgrc (key =)
thanks to Eric Hopper for testing and bugfixing
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Fri, 16 Dec 2005 01:32:44 -0600] rev 1591
do not copy atime and mtime in util.copyfiles
it is unsupported on some fs (vfat) and we don't need to copy
it one clone anyway
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Fri, 16 Dec 2005 01:32:28 -0600] rev 1590
reloads manifest and changelog after recovering
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Fri, 16 Dec 2005 00:12:00 -0600] rev 1589
fix a bug in hg export --switch-parent
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 15 Dec 2005 16:19:23 +0100] rev 1588
Better error message (without /.hg appended) when repository is not found.
This makes the error for missing default or default-push more readable.
Daniel Kobras <kobras@debian.org> [Thu, 15 Dec 2005 15:40:14 +0100] rev 1587
Less annoying directory completion (see http://bugs.debian.org/343458)
The current bash completion script is quite painful in conjuntion with
deep directory trees because it adds a space after each successful
directory completion. Eg. "hg clone /ho<tab>" is completed to "hg clone
/home " when what you really want is "hg clone /home/" (assuming the
complete path to the repository looks like /home/foo/hg...).
That's because the 'complete' command does not know about the type of
completion it receives from the _hg shell function. When only a single
completion is returned, it assumes completion is complete and tells
readline to add a trailing space. This behaviour is usually wanted, but
not in the case of directory completion.
I've attached a patch that circumvents this problem by only returning
successful completions for directories that contain a .hg subdirectory.
If no repositories are found, no completions are returned either, and
bash falls back to ordinary (filename) completion. I find this behaviour
a lot less annoying than the current one.
Alternative: Use option nospace for the 'complete' command and let _hg
itself take care of adding a trailing space where appropriate. That's a
far more intrusive change, though.
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 15 Dec 2005 15:39:20 +0100] rev 1586
Merge with upstream.
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 12 Dec 2005 07:50:43 -0800] rev 1585
delete unintended print statement
Vadim Gelfer <vadim.gelfer@gmail.com> [Sun, 11 Dec 2005 15:38:42 -0800] rev 1584
merge with crew
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 04 Nov 2005 11:51:01 -0800] rev 1583
make mercurial look in more places for config files.
now it searches <install dir>/etc/mercurial, /etc/mercurial, and user
hgrc.
this allows site-wide configuration to be shared over automounted nfs
partition, instead of chenging on every system. option of having local
configuration on every system remains.
old code for searching /etc/mercurial/hgrc.d never worked, this code
is tested and works.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 06 Dec 2005 14:10:38 +0100] rev 1582
fix the cat command
- improve localrepo.walk when passed a node
- make the differents walk commands in commands.py accept a node
- change commands.cat to walk over a revision
- add a test
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Wed, 14 Dec 2005 22:19:03 -0600] rev 1581
abort when merging two heads and repository has local changes
Matt Mackall <mpm@selenic.com> [Wed, 14 Dec 2005 22:12:18 -0600] rev 1580
Merge http://sh0n.net/jeffpc/repos/hg-gitweb/
Josef "Jeff" Sipek <jeffpc@optonline.net> [Mon, 12 Dec 2005 02:05:08 -0500] rev 1579
Remove tabs, and trailing whitespace from hgweb.py
Josef "Jeff" Sipek <jeffpc@optonline.net> [Mon, 12 Dec 2005 01:25:24 -0500] rev 1578
[hgweb] Remove reference to a non-existing file
Josef "Jeff" Sipek <jeffpc@optonline.net> [Sat, 10 Dec 2005 00:26:32 -0500] rev 1577
[hgweb] Fixed up bad link
Josef "Jeff" Sipek <jeffpc@optonline.net> [Sat, 10 Dec 2005 00:09:13 -0500] rev 1576
File log and some FIXMEs
Josef "Jeff" Sipek <jeffpc@optonline.net> [Mon, 05 Dec 2005 07:07:40 -0500] rev 1575
[hgweb] gitweb style: File annotate converted, file revision made more like the deafault style
Namespace polution prevention (manifest vs. tagmanifest - shouldn't be a problem yet)
File annotate updated
File revision now has commit info
Josef "Jeff" Sipek <jeffpc@optonline.net> [Mon, 05 Dec 2005 05:01:28 -0500] rev 1574
[hgweb] More gitweb style related fixes
Fixed manifest link on tags page
Fixed changeset link on manifest page
Josef "Jeff" Sipek <jeffpc@optonline.net> [Mon, 05 Dec 2005 04:49:37 -0500] rev 1573
File revision style fixed
Josef "Jeff" Sipek <jeffpc@optonline.net> [Mon, 05 Dec 2005 04:30:47 -0500] rev 1572
[hgweb] Initial import of the "gitweb" style
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Wed, 14 Dec 2005 21:01:57 -0600] rev 1571
add a --switch-parent option to export against the other parent
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Wed, 14 Dec 2005 20:53:45 -0600] rev 1570
hg log -p should show file deletions
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Wed, 14 Dec 2005 20:38:11 -0600] rev 1569
quote the filename when calling HGEDITOR
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Thu, 01 Dec 2005 10:51:45 -0600] rev 1568
make all commands be repo-wide by default
- refactor code in commands.py so that:
if no pattern is given, the command will be repo-wide
else it will work on the working dir
- update the doc
- fix the tests
TK Soh <teekaysoh@yahoo.com> [Thu, 01 Dec 2005 10:51:33 -0600] rev 1567
make command defaults works for aliases
Arun Sharma <arun@sharma-home.net> [Thu, 01 Dec 2005 10:48:42 -0600] rev 1566
Handle hg under /
Robin Farine <robin.farine@terminus.org> [Thu, 01 Dec 2005 10:48:35 -0600] rev 1565
fix rename --after
Benoit Boissinot <bboissin@gmail.com> [Thu, 01 Dec 2005 10:48:29 -0600] rev 1564
Re: [PATCH 2 of 3] remove walk warning about nonexistent files
On 11/15/05, Robin Farine <robin.farine@terminus.org> wrote:
> # HG changeset patch
> # User Robin Farine <robin.farine@terminus.org>
> # Node ID
ce0a3cc309a8d1e81278ec01a3c61fbb99c691f4
> # Parent
feb77e0951e74d75c213e8471f107fdcc124c876
> remove walk warning about nonexistent files
>
> diff -r
feb77e0951e7 -r
ce0a3cc309a8 mercurial/dirstate.py
> --- a/mercurial/dirstate.py Tue Nov 15 08:42:45 2005 +0100
> +++ b/mercurial/dirstate.py Tue Nov 15 08:59:50 2005 +0100
> @@ -336,9 +336,6 @@
> try:
> st = os.lstat(f)
> except OSError, inst:
> - if ff not in dc: self.ui.warn('%s: %s\n' % (
> - util.pathto(self.getcwd(), ff),
> - inst.strerror))
> continue
> if stat.S_ISDIR(st.st_mode):
> cmp1 = (lambda x, y: cmp(x[1], y[1]))
this break some tests,
a better fix would be to check if ff can be a directory prefix from files in dc
you can try the attached patch.
Benoit
Robin Farine <robin.farine@terminus.org> [Thu, 01 Dec 2005 10:48:22 -0600] rev 1563
export patkind() from util
Christian Boos <cboos@neuf.fr> [Thu, 01 Dec 2005 10:48:18 -0600] rev 1562
Fix walkhelper on windows.
The ''seen'' dictionary stores paths in canonical form,
so the walkhelp must also provide paths in that form,
otherwise the changed files are listed twice.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 29 Nov 2005 22:29:14 +0100] rev 1561
disallow '\n' and '\r' in tag names
add a test for disallowed characters in tag names
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 29 Nov 2005 18:06:23 +0100] rev 1560
Merge with http://hg.omnifarious.org/~hopper/mercurial
Eric Hopper <hopper@omnifarious.org> [Fri, 18 Nov 2005 22:48:47 -0800] rev 1559
Convert all classes to new-style classes by deriving them from object.
Robin Farine <robin.farine@terminus.org> [Sun, 27 Nov 2005 16:37:18 +0100] rev 1558
fix run-tests' PYTHONPATH
Specify the installation directory for python modules so we can
set PYTHONPATH without guessing.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 23 Nov 2005 18:36:44 +0100] rev 1557
Updated help text for 'hg log'.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 23 Nov 2005 08:07:27 +0100] rev 1556
Space/Tab cleanup in bash_completion.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 23 Nov 2005 08:02:35 +0100] rev 1555
bash_completion: use hg --debug help to get the list of debug commands.
Also, try completing with the debug commands only when there's no other
candidates.
Based on an idea by TK Soh.
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 17 Nov 2005 19:38:57 +0100] rev 1554
Catch IOErrors and RepoErrors when serving repositories via hgweb.
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 17 Nov 2005 19:18:33 +0100] rev 1553
Merge with mercurial/crew
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 16 Nov 2005 19:19:39 +0100] rev 1552
Added version information to "report bug" message for unknown exceptions.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 16 Nov 2005 12:56:19 +0100] rev 1551
Fixes to "hg heads -r FOO":
Make it actually work (undefined variable 'rev'; allow to pass a rev parameter).
repo.branchlookup() doesn't need a copy of heads because it doesn't modify it.
Use None as default argument to heads() instead of nullid.
Doc string PEPification.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Wed, 16 Nov 2005 12:08:25 +0100] rev 1550
add a -r/--rev option to heads to show only heads descendant from rev
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 17 Nov 2005 19:11:13 +0100] rev 1549
Always escape repository name in hgweb, very important in notfound.tmpl.
Will <will@glozer.net> [Wed, 16 Nov 2005 20:53:16 +0100] rev 1548
fix bug in setup.py introduced in r1508.
The 'console' argument is expected to be a list of strings,
but was changed to just a string.
TK Soh <teekaysoh@yahoo.com> [Tue, 15 Nov 2005 20:35:10 +0100] rev 1547
close .hg/hgrc after writing the default values on clone
this fix a bug where Dircleanup did not work because
the file was still open
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Mon, 14 Nov 2005 21:47:07 +0100] rev 1546
close file before renaming it (since it doesn't work the other way on windows)
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Mon, 14 Nov 2005 16:10:59 +0100] rev 1545
fix errors found by pychecker
Michael Gebetsroither <michael.geb@gmx.at> [Mon, 14 Nov 2005 15:10:10 +0100] rev 1544
added st as alias for status in zsh_completition
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 14 Nov 2005 15:09:34 +0100] rev 1543
Merge with Thomas Waldmann
twaldmann@thinkmo.de [Mon, 14 Nov 2005 04:58:28 +0200] rev 1542
made C src formatting more consistent
twaldmann@thinkmo.de [Mon, 14 Nov 2005 03:59:35 +0200] rev 1541
fixed some stuff pychecker shows, marked unclear/wrong stuff with XXX
twaldmann@thinkmo.de [Mon, 14 Nov 2005 02:30:19 +0200] rev 1540
minor optimization: save some string trash
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 13 Nov 2005 16:25:45 +0100] rev 1539
use posix compliant option for head
head -N is not posix compliant, head -n N should be used instead
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 13 Nov 2005 02:08:39 +0100] rev 1538
Merge with upstream
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 13 Nov 2005 02:06:02 +0100] rev 1537
Added hg-ssh - a wrapper for ssh access to a limited set of mercurial repos
To be used in ~/.ssh/authorized_keys with the "command" option, see sshd(8):
command="hg-ssh path/to/repo1 /path/to/repo2 ~/repo3 ~user/repo4" ssh-dss ...
(probably together with these other useful options:
no-port-forwarding,no-X11-forwarding,no-agent-forwarding)
This allows pull/push over ssh to to the repositories given as arguments.
If all your repositories are subdirectories of a common directory, you can
allow shorter paths with:
command="cd path/to/my/repositories && hg-ssh repo1 subdir/repo2"
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 10 Nov 2005 16:16:28 +0100] rev 1536
Catch the exception raised with 'hg help <somethingambiguous>'.
Example: 'hg help a'
mason@suse.com [Fri, 11 Nov 2005 18:20:24 -0800] rev 1535
Add revlog.strip to truncate away revisions.
This updates the revlog data structures for index and nodemap in place
so the .d and .i files don't need to be reread after stripping away a revision.