Patrick Mezard <pmezard@gmail.com> [Sun, 17 Jun 2007 19:39:47 +0200] rev 4595
test-patchbomb: fix non-existing --date parameter and filtering regexps.
Giorgos Keramidas <keramida@ceid.upatras.gr> [Wed, 13 Jun 2007 15:02:09 +0300] rev 4594
test-patchbomb: sed -e may not work with extended regexps
Non-GNU versions of the sed(1) utility (i.e. on Solaris or BSD)
may not support extended regexps (i.e. including \| branches),
or may need a special option to enable it (like -E instead of -e).
Expand the sed RE in tests/test-patchbomb to fix running this
test on FreeBSD and Solaris.
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 17 Jun 2007 14:11:30 +0200] rev 4593
Make --import-branch option actually work (- is translated to _)
Eric Hopper <hopper@omnifarious.org> [Thu, 14 Jun 2007 09:01:51 -0700] rev 4592
Add --import-branch option to hg import to pull in branch information without --exact
Brendan Cully <brendan@kublai.com> [Thu, 14 Jun 2007 16:19:58 -0700] rev 4591
convert: remove pdb call. *blush*
Brendan Cully <brendan@kublai.com> [Thu, 14 Jun 2007 16:12:08 -0700] rev 4590
convert: fix various authormap handling bugs
Edouard Gomez <ed.gomez@free.fr> [Thu, 14 Jun 2007 23:25:55 +0200] rev 4589
convert extension: Add support for username mapping
Allows mapping usernames to new ones during conversion process.
- Use -A option for first import
- Then at the end of the conversion process and if the destination
repo supports authorfile attribute, author map content is copied
to the file pointed by the authorfile call.
- On incremental conversions w/o any -A option specified, the
destination authorfile, if any, gets read automatically.
EG: This allows mapping unix system usernames used in CVS accounts
to a more typical "Firstname Lastname <address@server.org>" pair.
Edouard Gomez <ed.gomez@free.fr> [Thu, 14 Jun 2007 23:25:55 +0200] rev 4588
convert extension: Save a few opens on the map file
Save a few opens on the map file adding a class attribute
Brendan Cully <brendan@kublai.com> [Thu, 14 Jun 2007 13:32:35 -0700] rev 4587
Merge with stable
Brendan Cully <brendan@kublai.com> [Thu, 14 Jun 2007 10:58:49 -0700] rev 4586
Make parents with a file but not a revision use working directory revision.
Brendan Cully <brendan@kublai.com> [Thu, 14 Jun 2007 10:59:17 -0700] rev 4585
Merge with crew
Brendan Cully <brendan@kublai.com> [Thu, 14 Jun 2007 10:58:49 -0700] rev 4584
Make parents with a file but not a revision use working directory revision.
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 14 Jun 2007 12:54:06 +0200] rev 4583
Reverted changesets 9d1380e5c8c5 and 1d46169ec197: show @ as glog parent again.
Repainted the bikeshed with its original color.
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 14 Jun 2007 11:33:32 +0200] rev 4582
merge with main
Matt Mackall <mpm@selenic.com> [Wed, 13 Jun 2007 13:15:53 -0500] rev 4581
extensions: fix lookup of hgext.foo modules
Matt Mackall <mpm@selenic.com> [Wed, 13 Jun 2007 13:15:51 -0500] rev 4580
localrepo: demand-load changeset, manifest, and dirstate
Brendan Cully <brendan@kublai.com> [Wed, 13 Jun 2007 19:11:20 -0700] rev 4579
Merge with crew
Brendan Cully <brendan@kublai.com> [Wed, 13 Jun 2007 19:05:20 -0700] rev 4578
extensions: fix load of module/__init__.py on OS X
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 13 Jun 2007 21:39:45 -0300] rev 4577
localrepo.status: only append stuff to the clean list if list_clean is true
This is consistent with dirstate.status.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 13 Jun 2007 21:39:45 -0300] rev 4576
mq: reduce matcher abuse
The match function should match only the files we're interested in.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 13 Jun 2007 19:15:58 -0300] rev 4575
commands.remove: don't use the unknown list
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 13 Jun 2007 19:15:58 -0300] rev 4574
commands.commit: don't use the unknown list
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 13 Jun 2007 19:15:58 -0300] rev 4573
localrepo.add: avoid some stats
There's still an extra lstat done by dirstate.update.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 13 Jun 2007 19:15:58 -0300] rev 4572
revert: use util.lexists
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 13 Jun 2007 19:15:58 -0300] rev 4571
addremove: use util.lexists
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 13 Jun 2007 19:15:58 -0300] rev 4570
commands.commit: symlinks are supported
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 13 Jun 2007 19:15:58 -0300] rev 4569
mq: grab locks before starting a transaction
Brendan Cully <brendan@kublai.com> [Wed, 13 Jun 2007 13:50:29 -0700] rev 4568
Merge with crew
Brendan Cully <brendan@kublai.com> [Wed, 13 Jun 2007 13:46:40 -0700] rev 4567
extensions: load modules in module/__init__.py form.
For example, convert=/path/to/convert now works.
Giorgos Keramidas <keramida@ceid.upatras.gr> [Wed, 13 Jun 2007 15:02:09 +0300] rev 4566
test-patchbomb: sed -e may not work with extended regexps
Non-GNU versions of the sed(1) utility (i.e. on Solaris or BSD)
may not support extended regexps (i.e. including \| branches),
or may need a special option to enable it (like -E instead of -e).
Expand the sed RE in tests/test-patchbomb to fix running this
test on FreeBSD and Solaris.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 13 Jun 2007 08:24:40 +0200] rev 4565
Correct tests/test-patchbomb* files:
mv test-patchbomb test-patchbomb.out
hg revert -r 1cf908c00479 test-patchbomb
Bryan O'Sullivan <bos@serpentine.com> [Tue, 12 Jun 2007 14:52:34 -0700] rev 4564
patchbomb: add --date option
Bryan O'Sullivan <bos@serpentine.com> [Tue, 12 Jun 2007 14:44:47 -0700] rev 4563
Don't validate email config if we're not sending email.
Bryan O'Sullivan <bos@serpentine.com> [Tue, 12 Jun 2007 14:39:36 -0700] rev 4562
patchbomb: 0c61124ad877 moved setremoteconfig into cmdutil
Brendan Cully <brendan@kublai.com> [Tue, 12 Jun 2007 13:21:42 -0700] rev 4561
dispatch: restore a dropped shlex import
Add test-dispatch as a place for command parsing and dispatch tests.
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 12 Jun 2007 18:55:47 +0200] rev 4560
merge with main
Matt Mackall <mpm@selenic.com> [Tue, 12 Jun 2007 10:34:54 -0500] rev 4559
extensions: add missing sys import
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 12 Jun 2007 17:39:57 +0200] rev 4558
Revive commands.dispatch as a simple way to call hg from other pythons scripts.
This was already used by hg-ssh and others and is really convenient if you
just want a native equivalent of calling the command line version.
Matt Mackall <mpm@selenic.com> [Mon, 11 Jun 2007 21:09:24 -0500] rev 4557
dispatch: accept an abbreviation of --repository
Matt Mackall <mpm@selenic.com> [Mon, 11 Jun 2007 21:09:24 -0500] rev 4556
dispatch: move findrepo to cmdutil
Matt Mackall <mpm@selenic.com> [Mon, 11 Jun 2007 21:09:24 -0500] rev 4555
localrepo: don't search from path
All current callers already pass in the repo root.
This normalizes things a bit. Now all repo types take a direct path to
repo root and only the command line interface (or the dispatcher)
searches from the current directory.
Matt Mackall <mpm@selenic.com> [Mon, 11 Jun 2007 21:09:24 -0500] rev 4554
dispatch: use the repo path found by early parsing
This lets us simplify things a bit.
Matt Mackall <mpm@selenic.com> [Mon, 11 Jun 2007 21:09:24 -0500] rev 4553
dispatch: parse and apply -R early
This allows us to use extensions specified in .hg/hgrc. Unfortunately,
this requires us to parse that file twice, but performance impact on
the version command appears to be less than 1%.
Matt Mackall <mpm@selenic.com> [Mon, 11 Jun 2007 21:09:24 -0500] rev 4552
dispatch: parse and apply cwd opt early
Matt Mackall <mpm@selenic.com> [Mon, 11 Jun 2007 21:09:24 -0500] rev 4551
dispatch: rename variables after code motion
Matt Mackall <mpm@selenic.com> [Mon, 11 Jun 2007 21:09:24 -0500] rev 4550
dispatch: hoist debugging hook to runcatch
Matt Mackall <mpm@selenic.com> [Mon, 11 Jun 2007 21:09:24 -0500] rev 4549
dispatch: move dispatching code to cmdutil
Matt Mackall <mpm@selenic.com> [Mon, 11 Jun 2007 21:09:24 -0500] rev 4548
dispatch: move runcommand to cmdutil
Matt Mackall <mpm@selenic.com> [Mon, 11 Jun 2007 21:09:24 -0500] rev 4547
dispatch: pull final command execution into its own function
Matt Mackall <mpm@selenic.com> [Mon, 11 Jun 2007 21:09:23 -0500] rev 4546
dispatch: reduce nesting by moving parsing exceptions
Matt Mackall <mpm@selenic.com> [Mon, 11 Jun 2007 21:09:23 -0500] rev 4545
dispatch: move signal and exception handling to its own function
Matt Mackall <mpm@selenic.com> [Mon, 11 Jun 2007 21:09:23 -0500] rev 4544
Create a separate module for managing extensions
Matt Mackall <mpm@selenic.com> [Mon, 11 Jun 2007 21:09:23 -0500] rev 4543
extensions: separate function for loading single extensions
Matt Mackall <mpm@selenic.com> [Mon, 11 Jun 2007 21:09:23 -0500] rev 4542
dispatch: reorder functions
Matt Mackall <mpm@selenic.com> [Mon, 11 Jun 2007 21:09:23 -0500] rev 4541
localrepo: break out the repo-finding walk into its own function
Brendan Cully <brendan@kublai.com> [Mon, 11 Jun 2007 12:14:31 -0700] rev 4540
Respect locale environment variables on darwin.
In python 2.4+ on darwin, locale.getpreferredencoding() returns
mac-roman regardless of what LC_CTYPE, LANG etc are set to. This can
produce hard-to-notice conversion errors if input text is not in
mac-roman. So this patch overrides it with setlocale/getlocale if the
environment has been customized, on the assumption that the user has
done so deliberately.