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')
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Thu, 14 Feb 2008 18:08:16 -0200] rev 6110
status: put added files that have disappeared in the deleted list
This gives the user an indication that something went wrong with this file:
$ hg add foo
$ rm foo
$ hg status foo
! foo
Fixes
issue212.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Thu, 14 Feb 2008 18:08:16 -0200] rev 6109
revert: unify forget and remove lists
This doesn't make a difference right now, but after the next revision
some files in state 'a' may end up in the deleted list, and revert
won't be able to just remove all files in that list.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Thu, 14 Feb 2008 18:08:16 -0200] rev 6108
revert: only call dirstate.normal when we know the file is clean
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Thu, 14 Feb 2008 18:08:16 -0200] rev 6107
commands.revert: don't call hg.revert
commands.revert calculates everything that has to be done and then
calls hg.revert to checkout and remove files. Unfortunately,
hg.revert has to recalculate everything and that can take a long
while, since it always operates on the whole working dir.
Changing commands.revert to manually checkout and remove files
makes things considerably faster, especially if we're reverting
a single file in a repo with a huge number of files.
This should be enough to close
issue857.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Thu, 14 Feb 2008 18:08:16 -0200] rev 6106
revert: don't let repo.status walk the whole working dir
Problem diagnosed by pmezard.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Thu, 14 Feb 2008 18:08:16 -0200] rev 6105
Set bundle.mainreporoot only after checking that it's a local repo
Fixes
issue977.
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 14 Feb 2008 20:54:52 +0100] rev 6104
Fix test-hgweb-commands.out after
9b817c0a82f1
Fabio Zadrozny <fabiofz at gmail dot com> [Sun, 26 Aug 2007 21:31:18 -0300] rev 6103
Propagating changes back to working dirs when changing files in external
Patrick Mezard <pmezard@gmail.com> [Thu, 14 Feb 2008 19:35:40 +0100] rev 6102
test-convert-baz: set username with baz, not tla
Patrick Mezard <pmezard@gmail.com> [Wed, 13 Feb 2008 00:40:18 +0100] rev 6101
Define tla username locally in baz and tla tests
Suggested by Alexis S. L. Carvalho.
Patrick Mezard <pmezard@gmail.com> [Sat, 16 Feb 2008 11:55:33 +0100] rev 6100
convert: fix --datesort ordering
Two branches a and b starting at root, with commits interleaved like:
root a0 a1 b0 a2 a3 b1
were converted in the following order:
root a0 b0 a1 b1 a2 a3
Replace depth based toposort with a more classic traversal method.
Kirill Smelkov <kirr@mns.spb.ru> [Tue, 18 Dec 2007 14:01:34 -0600] rev 6099
[RFC] convert: fix --datesort
The problem is that previously commit.date was used for sorting, but it's a
string like "1 Jan xxx 2007", so it it wrong to use it for sorting.
Another problem is that why we are using depth for sorting -- I have no clear
answer -- it seems to be plain wrong.
This patch is just an RFC.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Fri, 15 Feb 2008 15:44:32 -0200] rev 6098
push: exit(1) if "push creates new remote branches!"
Matt Mackall <mpm@selenic.com> [Thu, 14 Feb 2008 10:55:17 -0600] rev 6097
hgweb: Fix stray quote in logo img tag
Matt Mackall <mpm@selenic.com> [Thu, 14 Feb 2008 10:28:27 -0600] rev 6096
hgweb: add new logos
Matt Mackall <mpm@selenic.com> [Thu, 14 Feb 2008 10:25:24 -0600] rev 6095
Add the new "droplet" logo
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 14 Feb 2008 11:25:30 +0100] rev 6094
cat --decode: Drop short option, use opts.get() instead of opts[]
- hg archive --no-decode has no short option, too, and maybe both could use
-d in the future to select revisions by date.
- opts.get makes python scripts calling cat() happy, because they don't have
to pass the new option.
Jesse Glick <jesse.glick@sun.com> [Sat, 09 Feb 2008 13:05:22 -0500] rev 6093
Option --decode for hg cat to apply decode filters.
(Does not trigger expansion of keyword arguments when using keyword
extension, though that might be desirable as well.)
Christian Ebert <blacktrash@gmx.net> [Wed, 13 Feb 2008 23:49:57 +0100] rev 6092
keyword: monkeypatch patch.diff for non-interactive diffs
Avoid clobbering diffs with expanded keywords eg. for
notify extension.
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 14 Feb 2008 00:13:20 +0100] rev 6091
merge with main
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 13 Feb 2008 19:34:28 -0200] rev 6090
merge with crew-stable
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 13 Feb 2008 18:37:38 -0200] rev 6089
clone: make things work when source is a repo object
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 13 Feb 2008 18:37:38 -0200] rev 6088
clone: expand the path before saving it in .hg/hgrc
This should fix
issue976