Alexis S. L. Carvalho
2a15874eb2
commands.remove: don't use the unknown list
2007-06-13 19:15:58 -03:00
Alexis S. L. Carvalho
f5f49df61e
commands.commit: don't use the unknown list
2007-06-13 19:15:58 -03:00
Alexis S. L. Carvalho
00cc2c2d06
localrepo.add: avoid some stats
...
There's still an extra lstat done by dirstate.update.
2007-06-13 19:15:58 -03:00
Alexis S. L. Carvalho
12900975cc
revert: use util.lexists
2007-06-13 19:15:58 -03:00
Alexis S. L. Carvalho
8b373440d8
addremove: use util.lexists
2007-06-13 19:15:58 -03:00
Alexis S. L. Carvalho
587c06ebc5
commands.commit: symlinks are supported
2007-06-13 19:15:58 -03:00
Alexis S. L. Carvalho
8ece65da4d
mq: grab locks before starting a transaction
2007-06-13 19:15:58 -03:00
Brendan Cully
6b21b9d123
Merge with crew
2007-06-13 13:50:29 -07:00
Brendan Cully
e96607cf35
extensions: load modules in module/__init__.py form.
...
For example, convert=/path/to/convert now works.
2007-06-13 13:46:40 -07:00
Matt Mackall
123d0f2541
extensions: fix lookup of hgext.foo modules
2007-06-13 13:15:53 -05:00
Matt Mackall
a4399f5062
localrepo: demand-load changeset, manifest, and dirstate
2007-06-13 13:15:51 -05:00
Giorgos Keramidas
76dbb3042a
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.
2007-06-13 15:02:09 +03:00
Giorgos Keramidas
0d93ef80bc
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.
2007-06-13 15:02:09 +03:00
Thomas Arendsen Hein
b1b749399a
Correct tests/test-patchbomb* files:
...
mv test-patchbomb test-patchbomb.out
hg revert -r 5ab985243f28 test-patchbomb
2007-06-13 08:24:40 +02:00
Bryan O'Sullivan
323388d025
patchbomb: add --date option
2007-06-12 14:52:34 -07:00
Bryan O'Sullivan
d16530621b
Don't validate email config if we're not sending email.
2007-06-12 14:44:47 -07:00
Bryan O'Sullivan
aaf9d65088
patchbomb: 048e644c1742 moved setremoteconfig into cmdutil
2007-06-12 14:39:36 -07:00
Brendan Cully
37671e0260
dispatch: restore a dropped shlex import
...
Add test-dispatch as a place for command parsing and dispatch tests.
2007-06-12 13:21:42 -07:00
Thomas Arendsen Hein
03a476e13f
merge with main
2007-06-12 18:55:47 +02:00
Thomas Arendsen Hein
635f47fb1d
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.
2007-06-12 17:39:57 +02:00
Matt Mackall
42349e08dc
extensions: add missing sys import
2007-06-12 10:34:54 -05:00
Matt Mackall
7092619ffc
dispatch: accept an abbreviation of --repository
2007-06-11 21:09:24 -05:00
Matt Mackall
ca982cdfb5
dispatch: move findrepo to cmdutil
2007-06-11 21:09:24 -05:00
Matt Mackall
dc4befe753
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.
2007-06-11 21:09:24 -05:00
Matt Mackall
1621c30af5
dispatch: use the repo path found by early parsing
...
This lets us simplify things a bit.
2007-06-11 21:09:24 -05:00
Matt Mackall
b37003d1a6
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%.
2007-06-11 21:09:24 -05:00
Matt Mackall
a0218b2be7
dispatch: parse and apply cwd opt early
2007-06-11 21:09:24 -05:00
Matt Mackall
eec35bbc8f
dispatch: rename variables after code motion
2007-06-11 21:09:24 -05:00
Matt Mackall
671f8a455f
dispatch: hoist debugging hook to runcatch
2007-06-11 21:09:24 -05:00
Matt Mackall
7daba33088
dispatch: move dispatching code to cmdutil
2007-06-11 21:09:24 -05:00
Matt Mackall
fc13f3eb60
dispatch: move runcommand to cmdutil
2007-06-11 21:09:24 -05:00
Matt Mackall
fe0bc5497b
dispatch: pull final command execution into its own function
2007-06-11 21:09:24 -05:00
Matt Mackall
9ddb5e812f
dispatch: reduce nesting by moving parsing exceptions
2007-06-11 21:09:23 -05:00
Matt Mackall
904b4d70df
dispatch: move signal and exception handling to its own function
2007-06-11 21:09:23 -05:00
Matt Mackall
67bd5873db
Create a separate module for managing extensions
2007-06-11 21:09:23 -05:00
Matt Mackall
cb98d050d6
extensions: separate function for loading single extensions
2007-06-11 21:09:23 -05:00
Matt Mackall
5e5d2fc9f8
dispatch: reorder functions
2007-06-11 21:09:23 -05:00
Matt Mackall
d157dd7e9f
localrepo: break out the repo-finding walk into its own function
2007-06-11 21:09:23 -05:00
Brendan Cully
497f138a19
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.
2007-06-11 12:14:31 -07:00
Brendan Cully
73b9a0fd82
Small cleanups for the new tag code
2007-06-11 11:06:42 -07:00
TK Soh
490bbff9dc
hgk: display tags that contain spaces
2007-06-04 09:16:53 -05:00
Bela Babik
6a77eec575
hgk: added -selectbackground grey to canvases
2007-06-04 16:54:52 +10:00
Thomas Arendsen Hein
12e05b20f0
Obfuscate author in gitweb shortlog (issue578)
2007-06-04 22:05:47 +02:00
Thomas Arendsen Hein
dd9cb9b81d
Fixed indentation in hgext/notify.py
2007-06-04 22:02:17 +02:00
Alexis S. L. Carvalho
0e52789888
wsgicgi: change stdin to binary mode
2007-06-04 00:24:48 -03:00
Alexis S. L. Carvalho
f0513bf1bb
Also check the index file size when deciding whether to reload a revlog.
...
This should fix some spurious failures from test-clone-pull-corruption
(issue552).
2007-06-04 00:24:48 -03:00
Alexis S. L. Carvalho
dd4d403b90
use .extend instead of .append in readtags
2007-06-04 00:24:48 -03:00
Josef "Jeff" Sipek
066eaf6a84
gitweb: Display branch and tag labels
...
Pages which display labels:
- summary
- shortlog
- changelog
- changeset
- search
2007-06-01 19:56:39 -04:00
Brendan Cully
77e3694ee6
Merge with mpm
2007-06-10 21:05:01 -07:00
Brendan Cully
76de3f4dbc
Split convert extension into common and repository type modules
2007-06-10 20:08:47 -07:00