Matt Mackall
dd962fae26
dirstate: lazify and lambdafy _slash
2007-06-18 13:24:34 -05:00
Matt Mackall
12c1ce4938
dirstate: simplify state()
2007-06-18 13:24:34 -05:00
Matt Mackall
38474db3cb
dirstate: move ignore to its own file
2007-06-18 13:24:34 -05:00
Matt Mackall
c0a4aebd3c
dirstate: replace clear()
2007-06-18 13:24:34 -05:00
Matt Mackall
90c0194d9b
dirstate: fold parse into read
2007-06-18 13:24:33 -05:00
Matt Mackall
dd38b9f308
dirstate: make reload lazy
2007-06-18 13:24:33 -05:00
Matt Mackall
6a2d255741
dirstate: lazify initdirs
2007-06-18 13:24:33 -05:00
Matt Mackall
bb39ad22fb
dirstate: lazify copymap, _branch, and _pl
2007-06-18 13:24:33 -05:00
Matt Mackall
3da450bd87
dirstate: use getattr rather than lazyread
2007-06-18 13:24:33 -05:00
Brendan Cully
988e3fb1da
Fix up tests for new branch message
2007-06-18 11:13:16 -07:00
Brendan Cully
b6d2fc3ac4
Notify the user that hg branch does not create a branch until commit
2007-06-18 10:44:43 -07:00
Brendan Cully
760b2de090
patchbomb: fix PAGER buglet introduced in 833bc8eb2f1f
2007-06-17 20:09:35 -07:00
Patrick Mezard
e0e36eb1b2
patchbomb: page patchbomb messages only if PAGER is defined.
...
Paging is complicated under win32. It is just better to avoid it by default.
2007-06-17 20:35:43 +02:00
Patrick Mezard
d37b2026d5
cmdutil: add missing "time" import.
2007-06-17 20:35:32 +02:00
Patrick Mezard
f2a33f2a1b
Merge with crew-stable
2007-06-17 20:08:06 +02:00
Patrick Mezard
571e9d813f
patchbomb: flush ui before delegating to pager.
2007-06-17 19:40:02 +02:00
Patrick Mezard
14cbb9abf5
test-patchbomb: fix non-existing --date parameter and filtering regexps.
2007-06-17 19:39:47 +02:00
Thomas Arendsen Hein
1bdf3feac6
Make --import-branch option actually work (- is translated to _)
2007-06-17 14:11:30 +02:00
Eric Hopper
4e64ad3b5a
Add --import-branch option to hg import to pull in branch information without --exact
2007-06-14 09:01:51 -07:00
Brendan Cully
c860c88389
convert: remove pdb call. *blush*
2007-06-14 16:19:58 -07:00
Brendan Cully
3671e1a1d1
convert: fix various authormap handling bugs
2007-06-14 16:12:08 -07:00
Edouard Gomez
8076a27777
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.
2007-06-14 23:25:55 +02:00
Edouard Gomez
b42f104ce2
convert extension: Save a few opens on the map file
...
Save a few opens on the map file adding a class attribute
2007-06-14 23:25:55 +02:00
Brendan Cully
d8f1489002
Merge with stable
2007-06-14 13:32:35 -07:00
Brendan Cully
3aa4171ea6
Merge with crew
2007-06-14 10:59:17 -07:00
Brendan Cully
d9c890b630
Make parents with a file but not a revision use working directory revision.
2007-06-14 10:58:49 -07:00
Brendan Cully
228060290f
Make parents with a file but not a revision use working directory revision.
2007-06-14 10:58:49 -07:00
Thomas Arendsen Hein
19530763e6
Reverted changesets a812fb9bfa26 and f1c9e4d4a477: show @ as glog parent again.
...
Repainted the bikeshed with its original color.
2007-06-14 12:54:06 +02:00
Thomas Arendsen Hein
75327fd456
merge with main
2007-06-14 11:33:32 +02:00
Brendan Cully
5686dde045
Merge with crew
2007-06-13 19:11:20 -07:00
Brendan Cully
9b610cb44c
extensions: fix load of module/__init__.py on OS X
2007-06-13 19:05:20 -07:00
Alexis S. L. Carvalho
574b7631bc
localrepo.status: only append stuff to the clean list if list_clean is true
...
This is consistent with dirstate.status.
2007-06-13 21:39:45 -03:00
Alexis S. L. Carvalho
c623e457f8
mq: reduce matcher abuse
...
The match function should match only the files we're interested in.
2007-06-13 21:39:45 -03:00
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