Lee Cantey <lcantey@gmail.com> [Tue, 27 Jun 2006 11:32:37 -0700] rev 2516
Update Mac OSX installer to 0.9 with Universal Python build
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 27 Jun 2006 09:41:05 -0700] rev 2515
import: make help clearer. suggested by asak.
Eric Hopper <hopper@omnifarious.org> [Tue, 27 Jun 2006 09:33:12 -0700] rev 2514
Really fix http headers for web UI and issue 254.
This also arranges for static content to allow a keepalive connection.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 27 Jun 2006 09:30:50 -0700] rev 2513
import: added tests, fixed bugs found by tests and asak.
Chris Mason <mason@suse.com> [Tue, 27 Jun 2006 10:49:46 -0400] rev 2512
mq: fix qparents to return the correct parent when no patches are applied
Chris Mason <mason@suse.com> [Tue, 27 Jun 2006 11:23:06 -0400] rev 2511
mq: hg qnew -f should refresh the new patch
qnew -f was originally meant to just skip the localchanges check.
But, it currently discards the local changes, which is not at all what
people expect.
This patch changes qnew -f to create the new patch and then
run hg qrefresh on it. The local changes will be in the new
patch.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 27 Jun 2006 00:13:44 -0700] rev 2510
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 27 Jun 2006 00:10:41 -0700] rev 2509
merge with wsgi changes.
Eric Hopper <hopper@omnifarious.org> [Tue, 27 Jun 2006 00:09:37 -0700] rev 2508
Put support for persistent connections back in.
Eric Hopper <hopper@omnifarious.org> [Tue, 27 Jun 2006 00:09:35 -0700] rev 2507
Fix two small bugs that would've prevented the web interface and IPv6
from working.
Eric Hopper <hopper@omnifarious.org> [Tue, 27 Jun 2006 00:09:33 -0700] rev 2506
This patch make several WSGI related alterations.
First, it changes the server to be almost a generic WSGI server.
Second, it changes request.py to have wsgiapplication and
_wsgirequest. wsgiapplication is a class that creates _wsgirequests
when called by a WSGI compliant server. It needs to know whether
or not it should create hgwebdir or hgweb requests.
Lastly, wsgicgi.py is added, and the CGI scripts are altered to
use it to launch wsgiapplications in a WSGI compliant way.
As a side effect, all the keepalive code has been removed from
request.py. This code needs to be moved so that it is exclusively
in server.py
Eric Hopper <hopper@omnifarious.org> [Tue, 27 Jun 2006 00:09:31 -0700] rev 2505
Fix server to set up a more WSGI compliant environment.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 27 Jun 2006 00:09:13 -0700] rev 2504
import: parse email messages
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 27 Jun 2006 08:31:03 +0200] rev 2503
Don't require opts['dry_run'] to be set to fix external tools like tailor.
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 26 Jun 2006 22:44:48 +0200] rev 2502
Allow using default values with ui.configlist, too, and add a test for this.
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 26 Jun 2006 16:47:24 +0200] rev 2501
Make "[web] allow_push, deny_push" and "[http_proxy] no" use ui.configlist.
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 26 Jun 2006 14:56:14 +0200] rev 2500
Fixed [web] allow_archive for comma separated parameters by using ui.configlist.
Changed tests/test-archive to use allow_archive instead of the deprecated
allowzip, allowgz and allowbz2.
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 26 Jun 2006 14:52:26 +0200] rev 2499
Added ui.configlist method to get comma/space separated lists of strings.
For example:
users = alice, bob
colors = red green blue
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 26 Jun 2006 14:49:18 +0200] rev 2498
Fix ui.expandpath problem and broken test introduced by 4a2a4d988ead.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 23 Jun 2006 19:20:22 -0700] rev 2497
do not try to package lsprof if not available.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 23 Jun 2006 18:23:42 -0700] rev 2496
add test for default-push.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 23 Jun 2006 18:23:32 -0700] rev 2495
make ui.expandpath better with default path.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 23 Jun 2006 18:09:44 -0700] rev 2494
push, outgoing, bundle: fall back to "default" if "default-push" not defined
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 23 Jun 2006 17:33:10 -0700] rev 2493
print message after backout that tells that backout adds new head.
Brendan Cully <brendan@kublai.com> [Fri, 23 Jun 2006 17:21:04 -0700] rev 2492
Test case for #295
Chris Mason <mason@suse.com> [Fri, 23 Jun 2006 16:42:48 -0700] rev 2491
Fix localrepo.changes() Correctly decide if we are diffing the working dir
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Tue, 20 Jun 2006 15:02:23 -0300] rev 2490
Change revlog.heads to walk the revision graph using revision numbers
On the kernel repo:
$ hg heads -q
before after
RevlogNG 1.11 0.52
Revlogv0 0.80 0.69
Since the current code for tags has to find all the heads of the repo,
this also helps there:
$ hg tags
before after
RevlogNG 2.35 1.76
Revlogv0 2.04 1.90
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Tue, 20 Jun 2006 14:57:30 -0300] rev 2489
Add revlog.parentrevs function.
This allows one to walk the revision graph using only revision numbers,
which can be faster than using revision hashes, especially for
RevlogNG, where the parents of a revision are stored as revision
numbers.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 23 Jun 2006 12:52:42 -0700] rev 2488
mq: add qimported patches if patch dir is a repo
Brendan Cully <brendan@kublai.com> [Fri, 23 Jun 2006 08:10:06 +0200] rev 2487
Test case for #294
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Fri, 23 Jun 2006 08:09:48 +0200] rev 2486
simplify filterfiles when filtering based on a directory
since an unkown files cannot be an exact match, we bisect
for a <path>/ instead of <path> and we get only the files
below the directory.
Brendan Cully <brendan@kublai.com> [Fri, 23 Jun 2006 00:11:53 +0200] rev 2485
filterfiles: Search as long as the target is a prefix of current.
filterfiles was failing to find files for directory arguments if
another file existed that started with the directory name and
sorted earlier. For example, a manifest of ('foo.h', 'foo/foo')
would cause filterfiles('foo') to return nothing. This resolves
issue #294.
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 21 Jun 2006 22:45:29 -0700] rev 2484
remove duplicate code.
Shun-ichi GOTO <shunichi.goto@gmail.com> [Thu, 22 Jun 2006 13:19:52 +0900] rev 2483
Fixed conditional include of stdint.h for windows/msvc6/python2.3 environment.
andrea@suse.de [Thu, 22 Jun 2006 02:44:39 +0200] rev 2482
Fix hg diff regression
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 21 Jun 2006 17:55:11 -0700] rev 2481
add tests for push over http.
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 21 Jun 2006 17:30:31 -0700] rev 2480
fix -I/-X when relative paths used or in subdir
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 21 Jun 2006 17:09:29 -0700] rev 2479
hg.repository: many routines expect path to be a string even if empty.
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 21 Jun 2006 16:20:21 -0700] rev 2478
fix bug in localrepo.changes.
caused by 1e32e2fe8a677c391049d40b8794478976a0a914.
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 21 Jun 2006 15:31:23 -0700] rev 2477
use commit time as mtime for file archives.
now output from two run of "hg archive -t zip" is same.
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 21 Jun 2006 15:15:06 -0700] rev 2476
archive: make "hg archive -t XXX -" to write to stdout
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 21 Jun 2006 09:32:31 -0700] rev 2475
merge with crew.
Chris Mason <mason@suse.com> [Wed, 21 Jun 2006 09:28:48 -0700] rev 2474
Fix cold cache diff performance
cold cache diff performance has regressed in two ways. localrepo.changes
has optimizations for diffing against the working dir parent that expect
node1 to be None. commands.revpair() usage means that commands.dodiff()
never sends node1 == None. This is fixed in localrepo.changes by checking
against the dirstate parents.
In the non-dirstate parents case, localrepo.changes does a loop comparing
files without first sorting the file names, leading to random access
across the disk.
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 21 Jun 2006 09:15:42 -0700] rev 2473
change some repo messages in small ways.
move "pushing" and "pulling" after repo create so error message and exit
happens before messages printed.
fix sshrepo parse error message.
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 21 Jun 2006 09:14:36 -0700] rev 2472
make repo scheme table driven.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 20 Jun 2006 23:58:45 -0700] rev 2471
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 20 Jun 2006 23:58:21 -0700] rev 2470
use demandload more.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 20 Jun 2006 18:39:52 -0700] rev 2469
hg.repository: make protocol table driven.
allows extensions to add new protocols.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 20 Jun 2006 17:51:39 -0700] rev 2468
mac os x: fixes for 10.2 from chris monson <monpublic@gmail.com>
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 20 Jun 2006 15:23:54 -0700] rev 2467
http client: better work with authorization errors, broken sockets.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 20 Jun 2006 15:23:01 -0700] rev 2466
push over http: server side authorization support.
new hgrc entries allow_push, deny_push, push_ssl control push over http.
allow_push list controls push. if empty or not set, no user can push.
if "*", any user (incl. unauthenticated user) can push. if list of user
names, only authenticated users in list can push.
deny_push list examined before allow_push. if "*", no user can push.
if list of user names, no unauthenticated user can push, and no users
in list can push.
push_ssl requires https connection for push. default is true, so password
sniffing can not be done.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 20 Jun 2006 15:17:28 -0700] rev 2465
push over http: client support.
stream bundle data using PUT request.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 20 Jun 2006 15:16:50 -0700] rev 2464
push over http: server support.
write "unbundle" verb for http.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 20 Jun 2006 15:14:12 -0700] rev 2463
localrepository.push: propagate return value
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 20 Jun 2006 15:13:17 -0700] rev 2462
util: add limit to amount filechunkiter will read
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 20 Jun 2006 09:11:41 -0700] rev 2461
tidy up mtime patch of andrea, get back half of performance loss.
this makes diff < 3% slower than before.
andrea@suse.de [Tue, 20 Jun 2006 15:37:41 +0200] rev 2460
report correct mtime in the hg diff output
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Mon, 19 Jun 2006 20:37:36 +0200] rev 2459
merge with crew
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 18 Jun 2006 19:10:48 +0200] rev 2458
change log message creation when using 'hg import'
if found cmdline is used
else if found patch header is used
else launch hgeditor
Vadim Gelfer <vadim.gelfer@gmail.com> [Sun, 18 Jun 2006 21:15:01 -0700] rev 2457
merge emacs changes.
Vadim Gelfer <vadim.gelfer@gmail.com> [Sun, 18 Jun 2006 21:04:42 -0700] rev 2456
merge with crew.
FUJIWARA Katsunori <foozy@lares.dti.ne.jp> [Sun, 18 Jun 2006 04:13:33 +0900] rev 2455
Emacs: follow the revision usage policy of "hg diff" command.
This patche makes "parent" as default revision of diff command.
FUJIWARA Katsunori <foozy@lares.dti.ne.jp> [Sun, 18 Jun 2006 04:02:56 +0900] rev 2454
Emacs: change directory of output buffer to the root of the repository.
FUJIWARA Katsunori <foozy@lares.dti.ne.jp> [Sun, 18 Jun 2006 03:46:00 +0900] rev 2453
Emacs: use `default-directory' if `buffer-file-name' is null.
This patch allows you to co-operate with Mercurial in dired buffer.
FUJIWARA Katsunori <foozy@lares.dti.ne.jp> [Sat, 17 Jun 2006 00:06:28 +0900] rev 2452
Emacs: use delete-region instead of kill-* functions.
This patch eliminates `kill-line' which taints kill-ring,
and `kill-entire-line' which is specific for XEmacs.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 17 Jun 2006 18:36:04 +0200] rev 2451
merge with crew
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 17 Jun 2006 18:20:09 +0200] rev 2450
fix an undefined variable spotted by pychecker
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 17 Jun 2006 18:15:48 +0200] rev 2449
fix unused variable warning from pychecker
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 16 Jun 2006 12:58:24 -0700] rev 2448
replace os.stat with os.lstat in some where.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 16 Jun 2006 10:19:45 -0700] rev 2447
httprepo: make "http://user:pass@host/" urls work
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 16 Jun 2006 10:02:59 -0700] rev 2446
httprepo: fix small bug in authentication.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 16 Jun 2006 08:52:28 -0700] rev 2445
merge with crew.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Fri, 16 Jun 2006 10:00:37 -0300] rev 2444
Update keepalive.py to current CVS version of urlgrabber.
This fixes a bug where the output of test-bad-pull would differ
between python 2.3 and 2.4. Also update the expected output of
this test.
Volker Kleinfeld <Volker.Kleinfeld@gmx.de> [Fri, 16 Jun 2006 07:07:11 -0700] rev 2443
patchbomb does not handle email time stamp plattform independent
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 15 Jun 2006 17:07:30 -0700] rev 2442
http: query server for capabilities
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 15 Jun 2006 16:41:49 -0700] rev 2441
remove use of undefined variable.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 15 Jun 2006 16:38:23 -0700] rev 2440
merge with self.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 15 Jun 2006 16:37:23 -0700] rev 2439
extend network protocol to stop clients from locking servers
now all repositories have capabilities slot, tuple with list of names.
if 'unbundle' capability present, repo supports push where client does
not need to lock server. repository classes that have unbundle capability
also have unbundle method.
implemented for ssh now, will be base for push over http.
unbundle protocol acts this way. server tells client what heads it
has during normal negotiate step. client starts unbundle by repeat
server's heads back to it. if server has new heads, abort immediately.
otherwise, transfer changes to server. once data transferred, server
locks and checks heads again. if heads same, changes can be added.
else someone else added heads, and server aborts.
if client wants to force server to add heads, sends special heads list of
'force'.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 15 Jun 2006 15:42:16 -0700] rev 2438
test-bad-pull: fix change in error output.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 15 Jun 2006 15:36:23 -0700] rev 2437
sshrepo: fix bug in error formatting.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 15 Jun 2006 13:27:57 -0700] rev 2436
hgweb: split "verbs" into methods.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 15 Jun 2006 12:57:59 -0700] rev 2435
http client: support persistent connections.
uses keepalive module from urlgrabber package. tested against "hg serve",
cgi server, and through http proxy. used ethereal to verify that only
one tcp connection used during entire "hg pull" sequence.
if server supports keepalive, this makes latency of "hg pull" much lower.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 15 Jun 2006 12:55:58 -0700] rev 2434
http server: support persistent connections.
only "hg serve" affected yet. http server running cgi script will not
use persistent connections. support for fastcgi will help that.
clients that support keepalive can use one tcp connection for all
commands during clone and pull. this makes latency of binary search
during pull much lower over wan.
if server does not know content-length, it will force connection to
close at end. right fix is to use chunked transfer-encoding but this is
easier and does not hurt performance. only command that is affected is
"changegroup" which is always last command during a pull.
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 14 Jun 2006 15:41:37 -0700] rev 2433
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 14 Jun 2006 15:41:06 -0700] rev 2432
move hgk.py into hgext. now to enable "hg view" is one less step.
edit ~/.hgrc:
[extensions]
hgext.hgk =
cp contrib/hgk ~/bin
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Wed, 14 Jun 2006 21:53:42 +0200] rev 2431
replace old-http:// syntax by static-http:// and deprecate the redundant hg://
"Daniel Santa Cruz <byteshack@gmail.com>" [Wed, 14 Jun 2006 18:27:30 +0000] rev 2430
Add web.contact to the hgrc documentation.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 13 Jun 2006 14:56:01 -0700] rev 2429
dirstate: fix call to os.lstat when st is None
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 13 Jun 2006 08:56:23 -0700] rev 2428
honor signals during load of extensions.
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 12 Jun 2006 22:09:50 -0700] rev 2427
dirstate.read: make 15% faster.
time to read dirstate for my kernel repo goes from 0.22s to 0.18s.
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 12 Jun 2006 09:36:44 -0700] rev 2426
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 12 Jun 2006 09:36:23 -0700] rev 2425
dirstate: speed up inner loop of read.
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 10 Jun 2006 17:39:29 +0200] rev 2424
Report on push/pull if heads are merged, too, like for new heads.
Use case: If a remote repo has two heads and I _want_ to merge them, I merge
and push. Meanwhile someone else pushed on top of one of the heads. He won't
get a warning, because he doesn't create a new head, I won't notice that I
don't close a head, because I don't get a message telling me.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 10 Jun 2006 11:28:40 +0200] rev 2423
merge with upstream
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 09 Jun 2006 12:05:17 -0700] rev 2422
add --lsprof option. 3x faster than --profile, more useful output.
results include calls to c code and nested calls.
requires python 2.5 or lsprof installed from svn at
http://codespeak.net/svn/user/arigo/hack/misc/lsprof/
Matt Mackall <mpm@selenic.com> [Fri, 09 Jun 2006 18:03:35 -0500] rev 2421
ssh: add capability detection at startup
Because older servers don't return any output for unknown commands,
it's tricky to add new commands. The approach is this: we add a
"hello" command that reports any interesting capabilities (and other
things that might be of interest in the future). To detect whether
this new command is supported, we issue both it and our startup
detection command ("between") at the beginning of a connection.
Matt Mackall <mpm@selenic.com> [Fri, 09 Jun 2006 17:48:14 -0500] rev 2420
ssh: gather initial output so we can do capability detection
Matt Mackall <mpm@selenic.com> [Fri, 09 Jun 2006 17:47:38 -0500] rev 2419
Initial implementation of hello command for ssh
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 09 Jun 2006 09:14:52 -0700] rev 2418
update test-help output after new options.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 09 Jun 2006 09:14:30 -0700] rev 2417
copy: fix introduced bug.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 09 Jun 2006 09:09:17 -0700] rev 2416
make description of -n option better.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 09 Jun 2006 09:06:40 -0700] rev 2415
revert: add -n/--dry-run option
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 09 Jun 2006 09:00:08 -0700] rev 2414
remove: add -n/--dry-run option
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 09 Jun 2006 08:48:30 -0700] rev 2413
copy: add -n/--dry-run option
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 09 Jun 2006 08:42:36 -0700] rev 2412
addremove: add -n/--dry-run option
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 09 Jun 2006 08:40:06 -0700] rev 2411
add: add -n/--dry-run option
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 08 Jun 2006 11:28:27 -0700] rev 2410
debugconfig: allow to print by section and exact item name
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 08 Jun 2006 15:06:31 +0200] rev 2409
Fix diff header (line endings) for failed test output in run-tests.py.
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 08 Jun 2006 14:56:40 +0200] rev 2408
Don't run tests with dots in their name (e.g. test-foo.orig)
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 07 Jun 2006 13:16:25 -0700] rev 2407
revert: better fix for not printing 'reverting' message
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 07 Jun 2006 10:33:26 -0700] rev 2406
revert: check for changes against target rev
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Wed, 07 Jun 2006 18:33:15 +0200] rev 2405
pick a non-conflicting module name when loading an extension
prefix the module name by 'hgext_' so that it doesn't conflict
with any core python module (for example bisect -> hgext_bisect)
fix issue271
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 05 Jun 2006 16:48:24 +0200] rev 2404
Fixed 'hg serve --webdir-conf foo' which broke due to split of hgweb.
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 05 Jun 2006 12:24:00 +0200] rev 2403
Further cleanup of ui.py (changeset 74d569332f8b used one-char variable names).
Eung-Ju PARK <eungju@gmail.com> [Fri, 02 Jun 2006 16:19:47 +0900] rev 2402
packagescan can't scan nested packages
Vadim Gelfer <vadim.gelfer@gmail.com> [Sun, 04 Jun 2006 17:08:02 -0700] rev 2401
move purge extension out of hgext.
it is not as clean as other modules in hgext.
can move back after rewrite.
Vadim Gelfer <vadim.gelfer@gmail.com> [Sun, 04 Jun 2006 16:47:46 -0700] rev 2400
import: allow to import stdin with file name "-"
Vadim Gelfer <vadim.gelfer@gmail.com> [Sun, 04 Jun 2006 10:32:13 -0700] rev 2399
fix comment.
Vadim Gelfer <vadim.gelfer@gmail.com> [Sun, 04 Jun 2006 10:30:46 -0700] rev 2398
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Sun, 04 Jun 2006 10:29:34 -0700] rev 2397
merge change to ssh protocol.
Vadim Gelfer <vadim.gelfer@gmail.com> [Sun, 04 Jun 2006 10:26:05 -0700] rev 2396
refactor ssh server.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 04 Jun 2006 17:46:33 +0200] rev 2395
remove appendfile for the manifest when adding a changegroup
Since the changelog is using appendfile, the manifest entries cannot
be referenced, so we don't need to use append file for the manifest.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 04 Jun 2006 12:19:51 +0200] rev 2394
hgweb: fix errors and warnings found by pychecker
- fix missing import
- use type_ instead of type
- remove unused variable
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 04 Jun 2006 02:25:27 +0200] rev 2393
dirstate: refactor the dirstate binary format, remove magic numbers
Eric Hopper <hopper@omnifarious.org> [Fri, 02 Jun 2006 08:25:02 -0700] rev 2392
Adjusting hgweb splitup to be a little cleaner.
Eric Hopper <hopper@omnifarious.org> [Fri, 02 Jun 2006 08:05:01 -0700] rev 2391
Fixing up comment headers for split up code.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 01 Jun 2006 15:55:09 -0700] rev 2390
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 01 Jun 2006 15:54:54 -0700] rev 2389
merge with crew.
Markus F.X.J. Oberhumer <markus@oberhumer.com> [Thu, 01 Jun 2006 15:54:31 -0700] rev 2388
Cleanup: unifiy the coding style in the ui.py configitems forwarders.
No functional changes.
Markus F.X.J. Oberhumer <markus@oberhumer.com> [Thu, 01 Jun 2006 15:53:43 -0700] rev 2387
Expand '~' in path to extensions.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 01 Jun 2006 13:47:34 -0700] rev 2386
merge with crew.
Marco Barisione <marco@barisione.org> [Mon, 22 May 2006 16:47:40 +0200] rev 2385
The line used to ignore the setup file for win32 is a regexp but it was after a "syntax: glob"
Marco Barisione <marco@barisione.org> [Mon, 22 May 2006 14:12:41 +0200] rev 2384
Automatically add the path of hg to %PATH% using add_path
Marco Barisione <marco@barisione.org> [Mon, 22 May 2006 14:06:12 +0200] rev 2383
Ignore the .exe setup file for Windows
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 02 Jun 2006 00:33:42 +0200] rev 2382
Make indentation of purge's cmdtable match to mercurial/commands.py
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 02 Jun 2006 00:28:28 +0200] rev 2381
Rewritten install instructions for hg-purge to match new situation, fixed typos.
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 01 Jun 2006 23:58:43 +0200] rev 2380
Merged hg-purge
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 01 Jun 2006 23:58:06 +0200] rev 2379
Reorganized files in hg-purge repo to push them into Mercurial.
README -> hgext/purge/README
purge.py -> hgext/purge/__init__.py
removed COPYING.GPL and .hgignore (already in the Mercurial repo)
Marco Barisione <marco@barisione.org> [Fri, 26 May 2006 13:13:39 +0200] rev 2378
Removed --nothing, added --print and --print0
Marco Barisione <marco@barisione.org> [Tue, 16 May 2006 22:36:31 +0200] rev 2377
The meaning of the directories on the command line is now explained correctly
Marco Barisione <marco@barisione.org> [Tue, 16 May 2006 22:00:38 +0200] rev 2376
Marked strings for translation
Marco Barisione <marco@barisione.org> [Tue, 16 May 2006 21:43:21 +0200] rev 2375
Added some comments
demian@gaudron.lan [Tue, 16 May 2006 21:05:00 +0200] rev 2374
Even on Windows self._repo.dirstate.state() wants '/' in paths
demian@gaudron.lan [Tue, 16 May 2006 21:03:07 +0200] rev 2373
Some functions were called as globals (i.e. I forgot some "self.")
demian@gaudron.lan [Tue, 16 May 2006 18:55:22 +0200] rev 2372
Changset de893ad6bd17 wrongly reversed the meaning of --nothing
demian@gaudron.lan [Tue, 16 May 2006 14:54:34 +0200] rev 2371
Use self._ui.note(...) instead of if self._ui.verbose: self._ui.status(...)
demian@gaudron.lan [Tue, 16 May 2006 13:40:45 +0200] rev 2370
Command line options are read in a saner way
demian@gaudron.lan [Tue, 16 May 2006 13:37:48 +0200] rev 2369
Purge.from_command is now a function called purge
demian@gaudron.lan [Sat, 13 May 2006 14:57:16 +0200] rev 2368
Added a link to the home page of hg purge
demian@gaudron.lan [Sat, 13 May 2006 14:36:03 +0200] rev 2367
Added a link to the page for CVS utilities
demian@gaudron.lan [Sat, 13 May 2006 14:24:18 +0200] rev 2366
Added some lines on the requirements for purge
demian@gaudron.lan [Sat, 13 May 2006 14:12:13 +0200] rev 2365
Added an explanation on how to enable the extension in "~/.hgrc"
demian@gaudron.lan [Fri, 12 May 2006 20:26:19 +0200] rev 2364
Initial commit
Matt Mackall <mpm@selenic.com> [Sun, 04 Jun 2006 18:05:52 +0100] rev 2363
Give a response to unknown SSH commands
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 01 Jun 2006 19:08:29 +0200] rev 2362
Renamed localrepo.undo() to rollback() and talk about "rollback information".
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 01 Jun 2006 18:36:32 +0200] rev 2361
Fix automatic decompression of tarballs with Firefox.
The encoding was set to gzip/bzip2, so Firefox (correctly) assumed, that this
has to be "decoded" (i.e. decompressed).
TK Soh <teekaysoh@yahoo.com> [Thu, 01 Jun 2006 09:14:27 -0500] rev 2360
hgweb: fix tracebacks on both index and repo pages
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 01 Jun 2006 17:51:40 +0200] rev 2359
Allow comma to separate types in allow_archive, too. Use longer variable name.
TK Soh <teekaysoh@yahoo.com> [Thu, 01 Jun 2006 10:02:24 -0500] rev 2358
hgweb: add allow_archive support to [web] section of hgrc
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 31 May 2006 14:16:21 -0700] rev 2357
merge with crew.
Eric Hopper <hopper@omnifarious.org> [Wed, 31 May 2006 10:42:44 -0700] rev 2356
Final stage of the hgweb split up.
hgweb and hgwebdir now have their own modules.
Eric Hopper <hopper@omnifarious.org> [Wed, 31 May 2006 08:03:29 -0700] rev 2355
Splitting up hgweb so it's easier to change.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 31 May 2006 22:25:20 +0200] rev 2354
Manifest groups may be empty, so don't abort in this case (fixes issue210).
Only abort on empty changelog and file revlogs.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 31 May 2006 19:41:01 +0200] rev 2353
Pass filename to decoder for 'hg archive' (fixes issue267)
Despite writing to a file descriptor, the check in the
[decode] section needs a filename.
localrepo.wwrite() still writes to the file descriptor.
TK Soh <teekaysoh@yahoo.com> [Mon, 29 May 2006 16:46:31 +0800] rev 2352
various fixes to darcs conversion script
1. removed files were missed
2. hidden files in top directory were not added/removed correctly
3. suppressed spurious warning on adding new files.
4. hg changeset now checked in with original author and date
5. __file__ not supported by pdb.py
Vadim Gelfer <vadim.gelfer@gmail.com> [Sat, 27 May 2006 20:45:22 -0700] rev 2351
contrib: move hg-menu.vim into contrib/vim directory
Manpreet Singh <junkblocker@yahoo.com> [Sat, 27 May 2006 20:44:53 -0700] rev 2350
contrib: patch review plugin for vim 7.0
The plugin takes an 'hg export'ed patch (in fact any
single or multi file patch) and opens multiple tabs
containing vim diff/merge windows for each affected
file in the patch allowing full visual code reviews.
Sébastien Pierre <sebastien@xprima.com> [Sat, 27 May 2006 15:04:40 -0700] rev 2349
darcs2hg.py: import darcs project into mercurial
For now, the tags are not taken into account (so you have to reenter
the tags by hand)
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Fri, 26 May 2006 22:17:43 +0200] rev 2348
better ui for the bisect extension
(and update to i18n)
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Wed, 24 May 2006 10:59:30 +0200] rev 2347
use a more reliable way to find what are the new changesets on pull/unbundle
The number of csets and the hooks where wrong (negative number of csets) when
we unbundled a bundle which contains csets we already had.
Remove unused variables.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Wed, 24 May 2006 09:27:16 +0200] rev 2346
merge with crew
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Wed, 24 May 2006 01:01:39 +0200] rev 2345
n is always 'True', we can only stop the loop with the break statement
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 23 May 2006 14:58:30 -0700] rev 2344
add acl extension, to limit who can push to subdirs of central repo.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 23 May 2006 14:57:45 -0700] rev 2343
add ui.has_config method.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 23 May 2006 09:34:30 -0700] rev 2342
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 23 May 2006 09:33:09 -0700] rev 2341
contrib: add restricted shell.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 23 May 2006 18:10:40 +0200] rev 2340
merge with crew
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 23 May 2006 10:44:40 +0200] rev 2339
document and fix findincoming
- add documentation about what the function does, notably
the fact that it updates 'base'
- transform the workflow to a more simple 'if elif elif else'
- do not call remote.branches if not necessary
- some nodes where missing in 'base' (from what I understand,
if the root of a branch is missing but one parent is present,
the parent should be in 'base')
- add a testcase for an incorrect outgoing that is fixed by
this cset
- add a testcase for an empty group bug, it needs fixing
"Daniel Santa Cruz <dansan@vikus.com>" [Mon, 22 May 2006 12:17:44 -0400] rev 2338
Minor typo change to reflect actual values used.
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 22 May 2006 15:42:49 -0700] rev 2337
http: fix many problems with url parsing and auth. added proxy test.
problems fixed:
- https scheme handled properly for real and proxy urls.
- url of form "http://user:password@host:port/path" now ok.
- no-proxy check uses proper host names.
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 22 May 2006 09:00:24 -0700] rev 2336
http: print better error if exception happens.
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 22 May 2006 08:47:53 -0700] rev 2335
add ui.print_exc(), make all traceback printing central.
Vadim Gelfer <vadim.gelfer@gmail.com> [Sun, 21 May 2006 23:39:25 -0700] rev 2334
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Sun, 21 May 2006 23:39:07 -0700] rev 2333
new extension: extdiff. allows to use external diff program.
Vadim Gelfer <vadim.gelfer@gmail.com> [Sun, 21 May 2006 23:07:50 -0700] rev 2332
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Sun, 21 May 2006 23:07:19 -0700] rev 2331
diff: allow to use -rA:B syntax as well as -rA -rB
Vadim Gelfer <vadim.gelfer@gmail.com> [Sun, 21 May 2006 22:14:11 -0700] rev 2330
add 'uisetup' function to extension module protocol.
if uisetup functin exists in extension, is called before cmdtable examined.
called with ui object as parameter. lets module modify cmdtable before
commands.py sees it.
Vadim Gelfer <vadim.gelfer@gmail.com> [Sat, 20 May 2006 12:52:02 -0700] rev 2329
notify: add debug output. do not fail if no config file.
use --debug to see debug output.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sat, 20 May 2006 15:34:19 -0300] rev 2328
hgweb.manifest: revno of manifest and changelog aren't always the same
In the v4l-dvb repo, the manifest revno and the changelog revno are not
in sync. This happened because the same patch was applied to the same
revision in two different branches, resulting in the same manifest text,
with the same parents and so the first revision was reused.
Since hgweb.manifest was assuming the revnos of the manifest and of the
changelog were always the same, clicking on manifest -> bz2 in the
v4l-dvb site would download the wrong revision.
Use the linkrev to go from manifest revision to changelog revision.
This still won't be perfect since the page will still talk about
"manifest for changeset XYZ", where XYZ was the first changeset to have
this manifest, which is not necessarily the same changeset that the user
clicked to get to this page - but at least the contents will be the
same.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 19 May 2006 14:58:13 -0700] rev 2327
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 19 May 2006 14:57:45 -0700] rev 2326
notify: fix off by one error.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 19 May 2006 08:57:26 -0700] rev 2325
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 19 May 2006 08:57:12 -0700] rev 2324
merge with crew.
Volker Kleinfeld <Volker.Kleinfeld@gmx.de> [Fri, 19 May 2006 08:54:28 -0700] rev 2323
setup.py: install packagescan before any mercurial modules is imported
Further the installation of packagescan over demandload is moved to the
packagescan module.
I added as well few more comments in the packagescan module to avoid
the wrong use of package scan in the future.
Reason:
mercurial.packagescan acts as fake mercurial.demandload during a py2exe
run. Unfortunatly the import of mercurial.version in setup.py is done
before mercurial.packagescan is installed. This results in few imports
without mercurial.packagescan in charge and therefore not all dependend
modules are detected when running mercurial.packagescan.getmodules
later e.g. winerror is missed.
Volker Kleinfeld <Volker.Kleinfeld@gmx.de> [Fri, 19 May 2006 08:51:58 -0700] rev 2322
packagescan: handle demandload module naming changes.
Lee Cantey <lcantey@gmail.com> [Thu, 18 May 2006 11:48:03 -0700] rev 2321
Update configuration note with mercurial.ini change from Thomas
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 18 May 2006 23:31:12 -0700] rev 2320
fix parsing of tags. make parse errors useful. add new tag tests.
old code read every head of .hgtags. delete and recreate of .hgtags gave
new head, but if error in deleted rev, .hgtags had error messages every
time it was parsed. this was very hard to fix, because deleted revs hard
to get back and update, needed merges too.
new code reads .hgtags on every head. advantage is if parse error
happens with new code, is possible to fix them by editing .hgtags on a
head and committing.
NOTE: new code uses binary search of manifest of each head to be fast,
but still much slower than old code. best thing would be to have delete
record stored in filelog so we never touch manifest. could find live
heads directly from filelog. this is more work than i want now.
new tests check for parse of tags on different heads, and inaccessible
heads created by delete and recreate of .hgtags.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 18 May 2006 23:02:24 -0700] rev 2319
test-globalopts: make sed expression better.
FUJIWARA Katsunori <foozy@lares.dti.ne.jp> [Thu, 18 May 2006 22:52:19 -0700] rev 2318
If HOME is defined on Windows, Mercurial uses it. Document this.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 18 May 2006 22:46:27 -0700] rev 2317
merge emacs patches.
FUJIWARA Katsunori <foozy@lares.dti.ne.jp> [Thu, 18 May 2006 22:44:36 -0700] rev 2316
Emacs: separate limitations of revision range and shown changesets.
For revision range limitation,
use "-r" opt with range notation at "hg log" invocation, and
use hg-rev-completion-limit as default value.
For shown changesets limitation,
use "-l" opt at "hg log" invocation, and
use hg-log-limit as default value.
FUJIWARA Katsunori <foozy@lares.dti.ne.jp> [Thu, 18 May 2006 22:43:09 -0700] rev 2315
Emacs: adapt read-file-name invocation for (non-X)Emacs 21.4.
this patch deters hg-read-file-name from passing hg-file-history to
read-file-name as 6th parameter in non-X Emacs environment.
Volker Kleinfeld <Volker.Kleinfeld@gmx.de> [Thu, 18 May 2006 22:35:41 -0700] rev 2314
Remove quotes from patch command.
When the gpatch fix for solaris was introduced in 67a0a3852024 the
patch command was "". For some strange reason windows 2000 is
not happy with those quotes when given in os.popen.
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 19 May 2006 06:10:59 +0200] rev 2313
Fixed typo (qshell instead of shell) in win98 code (see issue244).
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 18 May 2006 16:49:45 -0700] rev 2312
merge with crew.
Eric Hopper <hopper@omnifarious.org> [Thu, 18 May 2006 11:48:33 -0700] rev 2311
Moving hgweb.py into it's own module in preparation for breaking it up.
John Arbash Meinel <john@arbash-meinel.com> [Thu, 18 May 2006 13:52:55 -0700] rev 2310
demandload: implement __call__
demandload can now load functions and classes, and not just modules.
(So if you access foo() rather than just foo.* it still works).
demandload still doesn't work for constants.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 18 May 2006 13:48:12 -0700] rev 2309
remove: rewrite to be ~400x faster, bit more friendly
old remove code called localrepo.changes for each file.
was very expensive:
$ hg --time rm arch>/dev/null
Time: real 1066.120 secs (user 1014.450+0.000 sys 18.090+0.000)
new code, same files:
$ hg --time rm arch>/dev/null
Time: real 2.770 secs (user 2.190+0.000 sys 0.580+0.000)
also mention "-f" if not removing files. also allow "-f" to forget
added files.
make test a bit better.
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 18 May 2006 21:01:38 +0200] rev 2308
Use platform path for renaming file in util.atomictempfile.rename()
Lee Cantey <lcantey@gmail.com> [Thu, 18 May 2006 10:09:16 -0700] rev 2307
Add section for configuration notes with initial note about the default editor
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 18 May 2006 09:23:43 -0700] rev 2306
bugzilla: allow to map between committer email and bugzilla user name.
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 18 May 2006 08:03:51 +0200] rev 2305
Removed extra space in bisect output.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 17 May 2006 21:52:51 +0200] rev 2304
Merge with main
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 17 May 2006 19:59:15 +0200] rev 2303
Corrected tests for commit now consistently stripping last newline.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 17 May 2006 19:58:22 +0200] rev 2302
Corrected test for date in output of 'hg export'.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 17 May 2006 19:38:41 +0200] rev 2301
Strip empty lines and trailing spaces around commit messages.
Fixes issue213 and part of issue249 (trying to keep node id on import)
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 17 May 2006 19:00:16 +0200] rev 2300
Use "# Date" instead of "# Timestamp" for dated export/import of patches.
And don't break up list for % formatting.
Danek Duvall <danek.duvall@sun.com> [Wed, 17 May 2006 18:54:30 +0200] rev 2299
Add timestamp field to export format. Make import and mq use it.
Matt Mackall <mpm@selenic.com> [Wed, 17 May 2006 13:21:36 -0500] rev 2298
Merge with crew
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 17 May 2006 14:46:12 +0200] rev 2297
Fix hg view if author's name contains unmatched quotes. (issue248)
This was caused by the often seen Tcl list vs. string programming error.
"Aurelien Jacobs <aurel@gnuage.org>" [Tue, 16 May 2006 14:17:45 -0700] rev 2296
notify changeset diff should be against current node instead of tip
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 16 May 2006 11:07:56 +0200] rev 2295
fix a typo in an error message
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 16 May 2006 09:35:38 +0200] rev 2294
Catch urllib's HTTPException and give a meaningful error message to the user.
Usually urllib only throws HTTPError exceptions, which already are a subclass
of IOError.
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 15 May 2006 11:16:32 -0700] rev 2293
add --config global option. allows to set hgrc option on command line.
syntax: --config section.name=value
also add new test-globalopts to test all global options in one place.
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 15 May 2006 10:25:17 -0700] rev 2292
allow to send email using sendmail.
default is still smtp.
update hgrc doc with sendmail info.
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 15 May 2006 09:27:27 -0700] rev 2291
merge with crew.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sun, 14 May 2006 18:37:50 -0300] rev 2290
add test for revlog.parseindex
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sun, 14 May 2006 18:22:12 -0300] rev 2289
Fix revlog.parseindex
parseindex could fail if read returns too little data in the right
moment (e.g. when there's still leftover data from the previous
iteration and read returns less than "s" bytes).
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 15 May 2006 09:13:00 -0700] rev 2288
remove non-prefixed environment variables from hooks.
Samuel Masham <samuel.masham@gmail.com> [Mon, 15 May 2006 08:53:32 -0700] rev 2287
Update debugindexdot to work with RevlogNG.
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 15 May 2006 08:47:42 -0700] rev 2286
do not set smtp host by default - raise error instead
Volker Kleinfeld <Volker.Kleinfeld@gmx.de> [Sun, 14 May 2006 23:49:31 -0700] rev 2285
win98: fall back to win32api.GetModuleFileName if needed.
Volker Kleinfeld <Volker.Kleinfeld@gmx.de> [Sun, 14 May 2006 23:44:50 -0700] rev 2284
On win98 os.path.expanuser('~') does not result in a useable directory.
The MSDN recommendation for user specific directories is the use of
shell.ShGetSpecialFolder, so use it.
For details see:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/functions/shgetspecialfolderpath.asp
Vadim Gelfer <vadim.gelfer@gmail.com> [Sun, 14 May 2006 21:07:34 -0700] rev 2283
deprecate 'update -m'. use 'merge' instead.
Vadim Gelfer <vadim.gelfer@gmail.com> [Sun, 14 May 2006 17:37:34 -0700] rev 2282
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Sun, 14 May 2006 17:37:17 -0700] rev 2281
prompt user for http authentication info
in interactive mode, mercurial now asks the user for the username and
password when the server requires it. the previous behavior was to fail
with an http 401.
based on patch from eric jaffe <jaffe.eric@gmail.com>.
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 14 May 2006 18:24:32 +0200] rev 2280
On Windows look for mercurial.ini in $USERPROFILE, too, if available
as os.path.expanduser('~') does not always yield a useful directory.
Based on a patch from Edouard Gomez <ed.gomez@free.fr>
Vadim Gelfer <vadim.gelfer@gmail.com> [Sat, 13 May 2006 23:00:46 -0700] rev 2279
merge with crew.
Manpreet Singh <junkblocker@yahoo.com> [Sat, 13 May 2006 23:00:05 -0700] rev 2278
Make hg status work for repositories in root directory on windows (issue 228)
Daniel <byteshack@gmail.com> [Sat, 13 May 2006 20:41:53 +0200] rev 2277
Add more specific documentation about defaults for the [paths] section
of the hgrc(5) document.
Lee Cantey <lcantey@gmail.com> [Fri, 12 May 2006 21:25:58 -0700] rev 2276
Update Windows release notes and install script for v0.9
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Fri, 12 May 2006 21:25:07 -0700] rev 2275
Fix hgweb.filediff
The third argument to hgweb.diff should be a list, not a string.
This fixes a bug found by xorAxAx, where hgweb would also show the diff
for "README" when you ask for the diff for "Demo/cgi/README".
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Fri, 12 May 2006 18:39:37 +0200] rev 2274
tests for bundles and bundlerepo
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Fri, 12 May 2006 18:38:56 +0200] rev 2273
add support for compressed bundle repositories
we simply create a uncompressed bundle in a tempfile
in .hg
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 11 May 2006 22:10:47 -0700] rev 2272
revert: fix corner case found by faheem mitha.
if file not in dest manifest, remove only if in source manifest.
Manpreet Singh <junkblocker@yahoo.com> [Thu, 11 May 2006 21:55:15 -0700] rev 2271
Make it possible to use the root directory as the root of a repository.
Danek Duvall <danek.duvall@sun.com> [Thu, 11 May 2006 18:24:58 -0700] rev 2270
Fix issue240: mq: qpush fails on Solaris
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 11 May 2006 14:46:24 -0700] rev 2269
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 11 May 2006 14:41:52 -0700] rev 2268
fix coding style of backout editor change.
john.levon@sun.com [Thu, 11 May 2006 14:32:09 -0700] rev 2267
Force editor to appear for an 'hg backout' if a message or logfile aren't
supplied. Pre-fill the commit message with the changeset being backed out.
Fixes bug 238.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 11 May 2006 10:14:48 -0700] rev 2266
hooks: add preupdate and update hooks.
preupdate run before working dir updated. can prevent update.
update run after working dir updated.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 11 May 2006 09:44:11 -0700] rev 2265
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 11 May 2006 09:43:50 -0700] rev 2264
localrepo.update: abort if outstanding merges, instead of warn/return 1
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 11 May 2006 09:01:32 -0700] rev 2263
make reason for sys.argv change obvious in code.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 11 May 2006 08:48:52 -0700] rev 2262
merge with crew.
Shun-ichi GOTO <shunichi.goto@gmail.com> [Thu, 11 May 2006 08:48:36 -0700] rev 2261
Check existance of sys.argv for the use from mod_python.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Thu, 11 May 2006 16:19:44 +0200] rev 2260
add tests for incoming and outgoing
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Thu, 11 May 2006 15:01:30 +0200] rev 2259
fix a traceback when unbundling does not add any changesets
only run the hooks when some changesets has been added
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Thu, 11 May 2006 14:06:18 +0200] rev 2258
catch KeyboardInterrupt in run-tests
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Thu, 11 May 2006 11:24:28 +0200] rev 2257
indent: fix alignment
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Thu, 11 May 2006 11:15:23 +0200] rev 2256
fix errors spotted by pychecker (mostly scope problems)
mason@suse.com [Wed, 10 May 2006 15:26:56 -0700] rev 2255
Reduce ram used for very large inlined index files
During a clone, an inline index is not converted to a split index
file until the very end. When the conversion happens, the index
can be very large, and the inline index loading functions always load
the entire index file into ram.
This changes the revlog code to read the index in smaller chunks.
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 10 May 2006 15:24:26 -0700] rev 2254
backout command: better help.
Matt Mackall <mpm@selenic.com> [Wed, 10 May 2006 17:05:43 -0500] rev 2253
Added signature for changeset 35fb62a3a673d5322f6274a44ba6456e5e4b3b37
Matt Mackall <mpm@selenic.com> [Wed, 10 May 2006 16:55:55 -0500] rev 2252
Added tag 0.9 for changeset 35fb62a3a673d5322f6274a44ba6456e5e4b3b37
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 10 May 2006 13:39:12 -0700] rev 2251
fix speed regression in mdiff caused by line split bugfix.
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 10 May 2006 11:10:18 -0700] rev 2250
windows: revlog.lazyparser not always safe to use.
can not use on windows < nt or if win32 api not available.
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 10 May 2006 10:32:24 -0700] rev 2249
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 10 May 2006 10:31:54 -0700] rev 2248
fix diffs containing embedded "\r".
add test to make sure fix stays fixed.
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 10 May 2006 10:31:22 -0700] rev 2247
run-tests.py: fix handling of newlines.
old code could not handle embedded "\r" or files that ended without newline.
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 10 May 2006 10:07:53 -0700] rev 2246
run-tests.py: print diff if reference output not existing.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 10 May 2006 19:23:19 +0200] rev 2245
Added -A as an alias for --after to hg remove, like for other commands.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 10 May 2006 18:53:32 +0200] rev 2244
Just using 'make' now shows help. 'make all' doesn't perform inplace build.
Christian Boos <cboos@neuf.fr> [Wed, 10 May 2006 11:53:56 +0200] rev 2243
The posixfile implemented using the win32 API should be iterable.
Bryan O'Sullivan <bos@serpentine.com> [Tue, 09 May 2006 20:56:57 -0700] rev 2242
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 09 May 2006 20:56:13 -0700] rev 2241
hide deprecated undo command by making it an alias for debugundo.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 09 May 2006 14:40:13 -0700] rev 2240
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 09 May 2006 14:39:56 -0700] rev 2239
bugzilla hook: skip empty groups.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 09 May 2006 13:29:55 -0700] rev 2238
undo: add "deprecated" message to output.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 09 May 2006 11:12:45 -0700] rev 2237
reduce memory used by util.opener when making a temp copy of a file.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 09 May 2006 11:08:06 -0700] rev 2236
reduce memory used when appendfile appends to real file.
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 09 May 2006 18:03:15 +0200] rev 2235
New make targets:
local: build extensions inplace (the former "all" target")
all: "local" (for people who expect this) and build everything else
install: install pre-built things (so root doesn't have to write to $HOME)
install-home: use setup.py's --home option instead of --prefix
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 09 May 2006 17:21:53 +0200] rev 2234
New make target "dist-notests" to create tarballs without running tests first.
wilde@trapperkeeper.sha-bang.de [Tue, 09 May 2006 17:05:49 +0200] rev 2233
Added install target.
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 09 May 2006 17:03:00 +0200] rev 2232
Always remove appendopener tmp files (fixes issue235).
test-hup triggered this bug by killing "hg serve --stdio".
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 09 May 2006 13:26:16 +0200] rev 2231
gpg extension: Always remove temporary files created by 'hg sigcheck'.
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 08 May 2006 16:50:27 -0700] rev 2230
localrepository.addchangegroup: add more source infos to hooks
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 08 May 2006 16:07:56 -0700] rev 2229
changegroup hooks: add source to hook parameters
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 08 May 2006 14:20:37 -0700] rev 2228
merge with mainline.
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 08 May 2006 14:19:05 -0700] rev 2227
deprecate undo command, replace with rollback command.
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 08 May 2006 14:18:19 -0700] rev 2226
fix test-help output.
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 08 May 2006 12:27:30 -0700] rev 2225
notify: add 'to' header to message.
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 08 May 2006 11:16:09 -0700] rev 2224
notify extension: generate right number of diffs
Matt Mackall <mpm@selenic.com> [Mon, 08 May 2006 14:32:43 -0500] rev 2223
Update tests for revlogng
mason@suse.com [Mon, 08 May 2006 14:26:18 -0500] rev 2222
Use revlogng and inlined data files by default
This changes revlog specify revlogng by default. Inlined
data files are also used unless a flags option is found in the .hgrc.
Some example hgrc files:
[revlog]
# use the original revlog format
format=0
[revlog]
# use revlogng. Because no flags are included, inlined data files
# also be selected
format=1
[revlog]
# use revlogng but do not inline the data files with the index
flags=
[revlog]
# the new default
format=1
flags=inline
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 08 May 2006 10:59:58 -0700] rev 2221
reverse sense of return value from python hooks.
old scheme (False/None/0/'' == fail) made coding style
unnatural, did not allow use of mercurial commands as hooks.
new scheme (False/None/0 == pass) is pythonic, does not require peculiar
"return True" at ends of hooks, allows hooks like this:
[hooks]
# update working dir after push into this repo
changegroup.update = python:mercurial.commands.update
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 08 May 2006 08:20:56 -0700] rev 2220
add filename to IOError if read of file fails.
if file replaced with directory or symlink, IOError not fully filled out.
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 08 May 2006 08:04:46 -0700] rev 2219
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 03 May 2006 14:56:07 -0700] rev 2218
only import mysql module if hook used.
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 06 May 2006 16:43:16 +0200] rev 2217
Fixed tests for changed help output
Lee Cantey <lcantey@gmail.com> [Fri, 05 May 2006 22:13:56 -0700] rev 2216
Update release notes and copyright year for Windows installer.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 05 May 2006 11:07:29 -0700] rev 2215
revert: remove word "modified" from description.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 05 May 2006 10:45:08 -0700] rev 2214
make test-confused-revert check working dir with two parents.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 05 May 2006 10:41:38 -0700] rev 2213
run-tests.py must print changed test output no matter what exit code is.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 05 May 2006 10:31:03 -0700] rev 2212
revert: require explicit revision when working dir has two parents.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 04 May 2006 22:38:14 -0700] rev 2211
document [extensions] in doc/hgrc.5.txt.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 04 May 2006 22:23:18 -0700] rev 2210
add tests/coverage.py to MANIFEST.in.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 04 May 2006 22:20:02 -0700] rev 2209
document hgignore syntax in new file doc/hgignore.5.txt.
fix issue 162.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 04 May 2006 21:44:09 -0700] rev 2208
update README.
fix issue 225.
do not use deprecated commands in examples.
Stephen Darnell <stephen@darnell.plus.com> [Thu, 04 May 2006 15:47:18 -0700] rev 2207
Delete the shell version of run-tests
Use the python version instead
Stephen Darnell <stephen@darnell.plus.com> [Thu, 04 May 2006 15:42:14 -0700] rev 2206
Use text rather than binary mode for editing commit messages
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 04 May 2006 15:25:24 -0700] rev 2205
update test-help.out after fixing revert docs.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 04 May 2006 15:23:58 -0700] rev 2204
fix doc comments for revert command. people found them confusing.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 04 May 2006 15:07:35 -0700] rev 2203
add email notification hook. hook written in python.
email headers and body can be customized using template code.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 04 May 2006 14:45:57 -0700] rev 2202
make templater.stringio a tiny bit more use.
Bryan O'Sullivan <bos@serpentine.com> [Thu, 04 May 2006 12:25:10 -0700] rev 2201
patch queue: notify.patch
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 04 May 2006 12:23:01 -0700] rev 2200
move mail sending code into core, so extensions can share it.
document hgrc settings used.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 04 May 2006 12:02:32 -0700] rev 2199
move stringio class from bugzilla extension into templater module.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 04 May 2006 12:00:45 -0700] rev 2198
rename [patchbomb] section to [email] section in hgrc. old name still ok.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 04 May 2006 11:32:00 -0700] rev 2197
define standard name for base url to use when printing hgweb urls.
useful for bugzilla integration, email notifications, other stuffs.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Thu, 04 May 2006 14:05:44 +0200] rev 2196
merge with crew
TK Soh <teekaysoh@yahoo.com> [Thu, 04 May 2006 14:01:55 +0200] rev 2195
gitweb: strip leading & trailing blank lines in changeset description
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 03 May 2006 22:47:57 -0700] rev 2194
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 03 May 2006 22:47:08 -0700] rev 2193
add util.samestat function for windows.
windows does not have os.path.samestat, and stat().st_ino is always zero,
so util.samestat always returns false on windows.
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 03 May 2006 14:40:39 -0700] rev 2192
add bugzilla integration hook. example of writing hook in python.
hook updates bugzilla bugs when it sees commit comments that mention
bug id, such as "i fixed bug 77".
only bugzilla 2.16 supported yet, but easy to extend. bugzilla versions
have different schema, i have not used later than 2.16.
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 03 May 2006 14:35:17 -0700] rev 2191
make templater bit more flexible and efficient for external users.
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 03 May 2006 11:00:24 -0700] rev 2190
fix minor bugs in localrepo.hook.
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 03 May 2006 10:25:28 -0700] rev 2189
move changeset_templater into templater module.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Wed, 03 May 2006 13:12:34 +0200] rev 2188
merge with crew
TK Soh <teekaysoh@yahoo.com> [Wed, 03 May 2006 11:25:36 +0200] rev 2187
tests: support older version of bunzip2 and, possibly, gunzip too
TK Soh <teekaysoh@yahoo.com> [Wed, 03 May 2006 11:25:25 +0200] rev 2186
tests: fix compatibility on Solaris
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 03 May 2006 11:57:14 +0200] rev 2185
Better help for mq: Corrected synopses, get qcommit options from commands.py.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 03 May 2006 10:53:51 +0200] rev 2184
Add debugaddremove alias to addremove, so it doesn't show up in 'hg help'.
Add an explicit description of 'hg commit --addremove'.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 03 May 2006 10:45:20 +0200] rev 2183
Always clean the build directory before installing for running the tests.
Otherwise tests might run an old version, when e.g. commands.py.orig is
moved back after a revert (old timestamp).
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 03 May 2006 10:18:52 +0200] rev 2182
Corrected test output for deprecated addremove command.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 02 May 2006 21:50:53 -0700] rev 2181
deprecate addremove command.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 02 May 2006 21:45:53 -0700] rev 2180
make test-remove check some more cases.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 02 May 2006 21:44:24 -0700] rev 2179
add --after option to remove command.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 02 May 2006 14:38:32 -0700] rev 2178
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 02 May 2006 14:37:55 -0700] rev 2177
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 02 May 2006 14:30:00 -0700] rev 2176
fix file handling bugs on windows.
add util.posixfile class that has posix semantics on windows.
fix util.rename so it works with stupid windows delete semantics.
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 02 May 2006 18:44:02 +0200] rev 2175
Make hg update more verbose by default (issue12)
(including small changes to revert and backout to not show these stats
with the exception of backout --merge)
Show update stats (unless -q), e.g.:
K files updated, L files merged, M files removed, N files unresolved
Inform the user what to do after a merge:
(branch merge, don't forget to commit)
Inform the user what to do if a branch merge failed:
There are unresolved merges, you can redo the full merge using:
hg update -C X
hg merge Y
Inform the user what to do if a working directory merge failed:
There are unresolved merges with locally modified files.
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 01 May 2006 19:17:34 +0200] rev 2174
If default sorting is name, offer name-descending with one click.
Additionally no longer ignore case when sorting by name to match default
sorting. This makes e.g. a repository "FOO" being listed before "bar".
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 01 May 2006 18:38:25 +0200] rev 2173
Make hgwebdir columns sortable.
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 01 May 2006 10:04:25 +0200] rev 2172
Merge with crew
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 01 May 2006 10:02:17 +0200] rev 2171
Add download links to hgwebdir index page for allowed archive types.
Based on a patch by Colin McMillen <mcmillen@cs.cmu.edu>
Colin McMillen <mcmillen@cs.cmu.edu> [Mon, 01 May 2006 09:01:59 +0200] rev 2170
Add archive download links to tip on main changeset list page
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 30 Apr 2006 22:46:54 +0200] rev 2169
Combine catching exceptions added in dd4ec4576cc8 in one except statement.
Colin McMillen <mcmillen@cs.cmu.edu> [Sun, 30 Apr 2006 22:43:41 +0200] rev 2168
Proper check to see if zip dest needs to be wrapped in tellable
From hgweb, calling archival.zipit fails with the error message
"Illegal seek". This happens because sys.stdout.tell() throws an
exception:
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/mercurial/archival.py", line 99, in addfile
self.z.writestr(i, data)
File "/usr/lib/python2.4/zipfile.py", line 468, in writestr
zinfo.header_offset = self.fp.tell() # Start of header bytes
Checking whether hasattr(dest, 'tell') is insufficient, because
sys.stdout has a tell() method; you just can't call it.
This patch instead determines whether a fileobj is tellable by trying
to tell(), wrapping the fileobj if an exception is generated.
Vadim Gelfer <vadim.gelfer@gmail.com> [Sun, 30 Apr 2006 16:30:57 -0700] rev 2167
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Sun, 30 Apr 2006 16:30:39 -0700] rev 2166
do not check sys.argv from localrepo when running hooks.
instead add traceback field to ui class.
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 30 Apr 2006 21:11:22 +0200] rev 2165
Use better names (hg-{usage}-{random}.{suffix}) for temporary files.
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 30 Apr 2006 19:30:59 +0200] rev 2164
Applied $PWD fix (changeset 278f9b13c39a) to tests/test-hook, too.
Sascha Wilde <wilde@sha-bang.de> [Sun, 30 Apr 2006 19:29:57 +0200] rev 2163
SunOS fix: Replaced $PWD with `pwd`
under certain conditioins $PWD isn't up to date,
observed on SunOS 5.8
Colin McMillen <mcmillen@cs.cmu.edu> [Sun, 30 Apr 2006 18:52:34 +0200] rev 2162
Add self to CONTRIBUTORS
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sun, 30 Apr 2006 18:50:53 +0200] rev 2161
Fix just introduced possible old-http bug
My last patch changed httprangereader.read to read only the specified
amount of data from the connection, to prevent it from returning more
than what was asked.
I just realized that this could lead to the connection not being closed.
In practice, it looks like the connection is closed just fine, but it's
probably safer to read everything and then return only what's necessary.
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 30 Apr 2006 18:46:49 +0200] rev 2160
Cleanup archive command: Don't overwrite gettext, quoting in cmd table entry.
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 30 Apr 2006 18:40:30 +0200] rev 2159
Small cleanups to backout command:
- Accept -m for --message (like commit and similar commands), too.
- Don't ignore --logfile option.
- Fix command table entry (synopsis, group commit related option)
Vadim Gelfer <vadim.gelfer@gmail.com> [Sat, 29 Apr 2006 20:56:46 -0700] rev 2158
add backout command.
command undoes effect of an earlier commit, commits new changeset
as result.
Vadim Gelfer <vadim.gelfer@gmail.com> [Sat, 29 Apr 2006 20:39:28 -0700] rev 2157
make test-revert check executable bit.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 28 Apr 2006 15:50:56 -0700] rev 2156
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 28 Apr 2006 15:50:22 -0700] rev 2155
support hooks written in python.
to write hook in python, create module with hook function inside.
make sure mercurial can import module (put it in $PYTHONPATH or load it
as extension). hook function should look like this:
def myhook(ui, repo, hooktype, **kwargs):
if hook_passes:
return True
elif hook_explicitly_fails:
return False
elif some_other_failure:
import util
raise util.Abort('helpful failure message')
else:
return
# implicit return of None makes hook fail!
then in .hgrc, add hook with "python:" prefix:
[hooks]
commit = python:mymodule.myhook
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 28 Apr 2006 14:51:36 -0700] rev 2154
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 28 Apr 2006 14:50:23 -0700] rev 2153
move SignalInterrupt class into util module.
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 28 Apr 2006 21:52:08 +0200] rev 2152
Show repo's revlog format on verify only if it doesn't match the default format.
This makes it easier to run the tests with different revlog formats.
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 28 Apr 2006 12:38:11 +0200] rev 2151
Ignore annotated coverage output of run-tests.py -C
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Fri, 28 Apr 2006 11:36:33 +0200] rev 2150
fix a NameError in changegroupsubset
Vincent Danjean <vdanjean@free.fr> [Thu, 27 Apr 2006 22:29:02 -0700] rev 2149
allow to pull from an empty repo without getting a backtrace
Colin McMillen <mcmillen@cs.cmu.edu> [Thu, 27 Apr 2006 22:11:13 -0700] rev 2148
Add MOTD display to hgweb and hgwebdir.
The hgweb "footer" template now has space for an optional message of
the day (MOTD). This is used in two contexts:
1) On the hgwebdir index page
2) On various pages of each individual repo
For both cases, the MOTD is read out of an entry named "motd" in the
[web] section of a config file -- the only difference is which file is
used. For #1, you need to add the section to hgweb.config; for #2, you
need to add to the repo's .hgrc file.
I suggest something like this:
[web]
motd = <p>To download these repositories, <a href="http://www.selenic.com/mercurial">get Mercurial</a> and then type something like:</p><p><pre>hg clone http://gs3080.sp.cs.cmu.edu/hg.cgi/cpmpy</pre></p>You can also click the Download links to get an archive of the latest revision.
An online sample is available here:
http://gs3080.sp.cs.cmu.edu/hg.cgi
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 27 Apr 2006 22:10:45 -0700] rev 2147
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 27 Apr 2006 22:01:57 -0700] rev 2146
run-tests.py: remove trailing white space
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 27 Apr 2006 22:01:28 -0700] rev 2145
make indentation of coverage code in run-tests.py nicer.
Stephen Darnell <stephen@darnell.plus.com> [Thu, 27 Apr 2006 21:59:44 -0700] rev 2144
Add code coverage to the python version of run-tests (inc. annotation)
Also include a minor work-around to coverage.py to avoid errors about /<string>
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 27 Apr 2006 21:58:47 +0200] rev 2143
Show repo's revlog format on verify. Warn if some files use a different format.
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 27 Apr 2006 21:16:46 +0200] rev 2142
Replaced 0 with REVLOGV0 where this meaning is used.
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 27 Apr 2006 21:03:07 +0200] rev 2141
Corrected error message for incompatible revision flags.
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 27 Apr 2006 13:11:23 +0200] rev 2140
Make the deprecated forget an alias of debugforget.
This way it doesn't show up in the non-debug help.
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 27 Apr 2006 13:05:02 +0200] rev 2139
Fixed test output for not using the deprecated 'hg forget'.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 26 Apr 2006 22:42:07 -0700] rev 2138
Fix revlog-ng interaction with old-http.
revlog.py wasn't trying to detect the version of a revlog file that
doesn't exist on the filesystem (as is the case with old-http).
Additionally, there was an off-by-one error in httprangereader.read
(ranges in HTTP Range headers are inclusive), making it get more data
than what was asked for. This made a struct.unpack complain that
"unpack str size does not match format".
Finally, with the two fixes above, test-static-http fails, since
BaseHTTPServer doesn't understand ranges and returns too much data.
Work around that by reading only the specified amount.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 26 Apr 2006 22:15:01 -0700] rev 2137
Fix timezone check.
According to http://en.wikipedia.org/wiki/List_of_time_zones
timezones go from UTC-12 to UTC+14.
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 26 Apr 2006 12:06:21 -0700] rev 2136
mke test-nested-repo use "revert" instead of "forget"
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 26 Apr 2006 12:05:16 -0700] rev 2135
mark forget command as deprecated.
will be removed after 0.9 released.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Wed, 26 Apr 2006 10:57:40 -0700] rev 2134
write to stderr with a single write call.
this works around issue88.
Stephen Darnell <stephen@darnell.plus.com> [Wed, 26 Apr 2006 16:54:07 +0200] rev 2133
Tidyups for run-tests.py inc. try/finally cleanup and allow tests to be specified on command line
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 26 Apr 2006 07:31:04 +0200] rev 2132
hgweb: Synchronised filelogentry to changelogentry.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 26 Apr 2006 07:03:10 +0200] rev 2131
Try harder to display node hashes in tags view in monospaced font.
Used to work around Firefox's behaviour if "Allow pages to choose their
own fonts" is disabled.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 26 Apr 2006 06:12:42 +0200] rev 2130
hgweb templates: Don't word wrap "foo bar ago" (e.g. "3 months\nago")
This made log entries or hgwebdir index look ugly with certain browser widths.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 25 Apr 2006 23:28:40 +0200] rev 2129
cached data was wrong: rev is different from self.rev(node) in bundlerepo.py
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 25 Apr 2006 19:38:45 +0200] rev 2128
Merge with crew
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 25 Apr 2006 19:38:19 +0200] rev 2127
Allow 'hg serve --webdir-conf foo' to be run outside a repository.
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 25 Apr 2006 18:50:40 +0200] rev 2126
Use <link> tag instead if CDATA import for CSS stylesheets. Fixes issue200.
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 25 Apr 2006 09:00:09 +0200] rev 2125
Use string literal concatenation for optlist and import -p option
Alexander Schremmer <alex AT alexanderweb DOT de> [Tue, 25 Apr 2006 00:43:40 +0200] rev 2124
Cleaned trailing whitespace in hgweb.py, removed command line shortcut for webdir-conf.
Alexander Schremmer <alex AT alexanderweb DOT de> [Sun, 23 Apr 2006 00:34:07 +0200] rev 2123
Fixed path handling of the standalone server, fixed typo.
Alexander Schremmer <alex AT alexanderweb DOT de> [Sun, 23 Apr 2006 00:31:09 +0200] rev 2122
Added hgwebdir support to hg serve.
Alexander Schremmer <alex AT alexanderweb DOT de> [Sun, 23 Apr 2006 00:27:46 +0200] rev 2121
Added threading support to hg serve.
Alexander Schremmer <alex AT alexanderweb DOT de> [Sun, 23 Apr 2006 00:18:58 +0200] rev 2120
Added my name to the contributors list.
Alexander Schremmer <alex AT alexanderweb DOT de> [Sun, 23 Apr 2006 00:15:30 +0200] rev 2119
Cleaned hgweb.py a little bit
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 25 Apr 2006 08:38:15 -0700] rev 2118
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 25 Apr 2006 08:37:05 -0700] rev 2117
fix issue 217.
fall back to fixed path if windows >= nt function not present.
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 22 Apr 2006 09:19:27 +0200] rev 2116
Merge with upstream
Jim Meyering <list+hg@meyering.net> [Fri, 21 Apr 2006 16:09:43 -0700] rev 2115
Fix issue 165: `hg status' with abs path containing a symlink-to-dir fails
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 21 Apr 2006 15:47:27 -0700] rev 2114
update tests after changing archival code.
test-archive now contains tests for archive command.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 21 Apr 2006 15:28:50 -0700] rev 2113
make hgweb use new archival module.
also use "x-gzip" encoding for ".tar.gz" files, so mozilla and firefox
will not transparently decompress stream and save with wrong name.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 21 Apr 2006 15:27:57 -0700] rev 2112
add "archive" command, like "cvs export" only better.
most code in mercurial/archival.py module, for sharing with hgweb.
Matt Mackall <mpm@selenic.com> [Fri, 21 Apr 2006 16:30:49 -0500] rev 2111
Merge with crew
Stephen Darnell <stephen@darnell.plus.com> [Fri, 21 Apr 2006 18:47:55 +0200] rev 2110
Add a pure python version of run-tests.
If this works well for most people, it should replace the shell version
of run-test.
Matt Mackall <mpm@selenic.com> [Fri, 21 Apr 2006 16:30:23 -0500] rev 2109
Revert push new heads logic
This breaks push -r's new head detection but fixes the common case.
For now we'll assume that someone doing push -r knows what they're doing.
Matt Mackall <mpm@selenic.com> [Fri, 21 Apr 2006 15:33:51 -0500] rev 2108
Move empty local repo logic for pull into findincoming
This fixes a silly attempt to pull a changegroup from an empty repo.
Matt Mackall <mpm@selenic.com> [Fri, 21 Apr 2006 15:14:27 -0500] rev 2107
Don't die calling outgoing hook if we have no changesets
Matt Mackall <mpm@selenic.com> [Thu, 20 Apr 2006 12:13:54 -0500] rev 2106
Merge with crew
Matt Mackall <mpm@selenic.com> [Thu, 20 Apr 2006 12:12:03 -0500] rev 2105
Merge with cmason
Andrew Thompson <andrewkt@aktzero.com> [Thu, 20 Apr 2006 16:33:49 +0200] rev 2104
Add tests/test-committer
This checks to see if the EMAIL environment variable is being used for commit.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Thu, 20 Apr 2006 15:42:02 +0200] rev 2103
Use application/octet-stream as the content-type of unknown binary files
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 19 Apr 2006 22:18:03 -0700] rev 2102
remove appendfile data as soon as not needed.
Chris Mason <mason@suse.com> [Thu, 20 Apr 2006 13:08:16 -0400] rev 2101
Make bundlerepo use proper index format for revlogng
bundlerepo just appends index entries from the bundle onto the index for the
current repo. This patch makes sure it appends the correct format.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 19 Apr 2006 21:39:51 +0200] rev 2100
Merge with crew
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 19 Apr 2006 21:37:43 +0200] rev 2099
Merge with cmason
Chris Mason <mason@suse.com> [Wed, 19 Apr 2006 15:35:10 -0400] rev 2098
Remove bogus raise from localrepo.lookup()
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 19 Apr 2006 11:41:27 -0700] rev 2097
Fix hg qdiff <file>
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 19 Apr 2006 11:41:25 -0700] rev 2096
Ignore EPIPE in pipefilter
This hides the following traceback (there's a race condition involved,
so you may have to try a few times to hit it):
$ hg sign --key key-that-does-not-exist
Signing 2062:4bad92f4ea65
gpg: skipped "key-that-does-not-exist": secret key not available
gpg: signing failed: secret key not available
Exception in thread Thread-1:
Traceback (most recent call last):
File "threading.py", line 442, in __bootstrap
self.run()
File "threading.py", line 422, in run
self.__target(*self.__args, **self.__kwargs)
File "mercurial/util.py", line 24, in writer
pin.close()
IOError: [Errno 32] Broken pipe
abort: Error while signing
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 19 Apr 2006 11:41:22 -0700] rev 2095
Don't send "Content-Type: none"
mimetypes.guess_type will return (None, None) when it can't detect the
filetype.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 19 Apr 2006 11:39:34 -0700] rev 2094
Fix filerevision-raw.tmpl
Two bugs:
- conteXt-type instead of conteNt-type
- trailing newline
The easiest way to fix the second one (and keep it fixed) is to put
everything inline in map-raw.
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 19 Apr 2006 11:29:41 -0700] rev 2093
convert-repo: fix reversed time zone offset
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 19 Apr 2006 11:17:13 -0700] rev 2092
catch SIGBREAK on windows.
Lee Cantey <lcantey@gmail.com> [Wed, 19 Apr 2006 10:56:44 -0700] rev 2091
update windows readme to document msys/mingw rxvt problems.
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 19 Apr 2006 09:08:45 -0700] rev 2090
fix util.canonpath on windows.
old test for absolute path was not portable. use os.path api instead.
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 19 Apr 2006 08:33:46 -0700] rev 2089
make appendfile simpler so it does not break with revlogng on windows.
it used to cache open files. this made revlogng break because it wants
to rename files when splitting .i into .i/.d, but cannot rename or unlink
open files on windows.
new code is bit slower, but safe on linux and windows. proper fix for
too many open/close of changelog/manifest belongs in different place.
can get 10% speed improvement back.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 19 Apr 2006 07:09:15 +0200] rev 2088
Exit test-hup only after the background process has died.
Otherwise the open file might let the tests fail on NFS.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 18 Apr 2006 20:33:33 -0700] rev 2087
merge with mainline.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 18 Apr 2006 14:56:54 -0700] rev 2086
mq: do not fail if directory to create exists
Chris Mason <mason@suse.com> [Tue, 18 Apr 2006 19:50:12 -0400] rev 2085
merge revlogng with mpm tip
Chris Mason <mason@suse.com> [Mon, 17 Apr 2006 13:19:58 -0400] rev 2084
Fix transaction handling during interleaved file split.
Chris Mason <mason@suse.com> [Sat, 08 Apr 2006 20:10:46 -0400] rev 2083
merge 0.8.1 with revlogng
mason@suse.com [Sat, 08 Apr 2006 20:08:06 -0400] rev 2082
Additional appendfile fixes for interleaved data/index files
The appendfile code was not passing default version info to the
changelog or manifest classes, and so they were always being created
as version 0.
revlog.checkinlinesize had to be corrected to seek to the end
of the index file when no index file was passed (only clone does this)
Chris Mason <mason@suse.com> [Thu, 06 Apr 2006 20:13:09 -0400] rev 2081
Speedup revlog.ancestors for the linear case
revlog.ancestors can be expensive on big repos. This cuts down the overall
time for hg update by ~19% by short cutting revlog.ancestors when one of the
revisions is reachable from another.
mason@suse.com [Tue, 04 Apr 2006 19:00:40 -0400] rev 2080
Reduce index memory usage by storing the bare string instead of tuples
Storing the tuple returned by struct.unpack significantly increases
the memory required to store the entire index in ram. This patch
uses struct.unpack on demand instead.
mason@suse.com [Tue, 04 Apr 2006 16:47:12 -0400] rev 2079
New lazy index code for revlogs.
This tunes for large repositories. It does not read the whole
index file in one big chunk, but tries to buffer reads in more
reasonable chunks instead.
Search speeds are improved in two ways. When trying to find a
specific sha hash, it searches from the end of the file backward.
More recent entries are more likely to be relevant, especially the
tip.
Also, this can load only the mapping of nodes to revlog index number.
Loading the map uses less cpu (no struct.unpack) and much less
memory than loading both the map and the index.
This cuts down the time for hg tip on the 80,000 changeset
kernel repo from 1.8s to 3.69s. Most commands the pull a single
rev out of a big index get roughly the same benefit. Commands
that read the whole index are not slower.
mason@suse.com [Tue, 04 Apr 2006 16:38:44 -0400] rev 2078
Fill in the uncompressed size during revlog.addgroup
This uses code from Matt to calculate the size change that
would result from applying a delta to keep an accurate running
total of the text size during revlog.addgroup
mason@suse.com [Tue, 04 Apr 2006 16:38:44 -0400] rev 2077
Fix inlined revlogs to seek to eof after opening "a+"
mason@suse.com [Tue, 04 Apr 2006 16:38:44 -0400] rev 2076
Create an atomic opener that does not automatically rename on close
The revlog.checkinlinesize() uses an atomic opener to replace the
index file after converting it from inline to traditional .i and .d
files. If this operation is interrupted, the atomic file class can
overwrite a valid file with a partially written one.
This patch introduces an atomic opener that does not automatically
replace the destination file with the tempfile. This way
an interrupted checkinlinesize() call turns into a noop.
mason@suse.com [Tue, 04 Apr 2006 16:38:43 -0400] rev 2075
Make the appendfile class inline-data index friendly
The appendfile class needs a few changes to make it work with interleaved
index files. It needs to support the tell() method, opening in a+ mode,
and it needs to delay the checkinlinesize call until after the
append file is written.
Given that open(file, "a+") doesn't always seek to the end of the file,
this adds seek operations to appendfile that understand whence args
mason@suse.com [Tue, 04 Apr 2006 16:38:43 -0400] rev 2074
Fix bundle repos to use an index tuple consistent with revlogng
The bundle repo code was adding a field to the index tuple, which
confused the revlogng changes. This creates a new dict instead
to maintain the extra bundle info.
mason@suse.com [Tue, 04 Apr 2006 16:38:43 -0400] rev 2073
Implement data inlined with the index file
This patch allows you to optionally inline data bytes with the
revlog index file. It saves considerable space and checkout
time by reducing the number of inodes, wasted partial blocks and
system calls.
To use the inline data add this to your .hgrc
[revlog]
# inline data only works with revlogng
format=1
# inline is the only valid flag right now.
flags=inline
mason@suse.com [Tue, 04 Apr 2006 16:38:43 -0400] rev 2072
Implement revlogng.
revlogng results in smaller indexes, can address larger data files, and
supports flags and version numbers.
By default the original revlog format is used. To use the new format,
use the following .hgrc field:
[revlog]
# format choices are 0 (classic revlog format) and 1 revlogng
format=1
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 13 Apr 2006 17:42:49 -0700] rev 2071
import: use gpatch if present on system. patch is broken on solaris.
fixes issue 205.
add new useful function, util.find_in_path.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 13 Apr 2006 17:12:09 -0700] rev 2070
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 13 Apr 2006 17:11:35 -0700] rev 2069
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 13 Apr 2006 17:11:04 -0700] rev 2068
let run-tests run optional code coverage tests.
to enable, set env var TEST_COVERAGE to non-empty string. run-tests will
print report after running.
after coverage run, file tests/.coverage will contain coverage data. use
tests/coverage.py to get more info, like annotated source code.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 13 Apr 2006 17:06:57 -0700] rev 2067
fix bugs in coverage.py.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 13 Apr 2006 15:10:03 -0700] rev 2066
add coverage.py module to tests directory.
written by ned batchelder and gareth rees.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Fri, 14 Apr 2006 00:41:50 +0200] rev 2065
fix update when a locally added file match the target revision
the dirstate entry for the added file wasn't updated.
fix issue207
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 13 Apr 2006 13:46:56 -0700] rev 2064
util.unlink should only catch OSError.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 13 Apr 2006 13:46:05 -0700] rev 2063
benoit asked for comment to make avoid of recursive repo clearer.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 13 Apr 2006 12:44:40 -0700] rev 2062
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 31 Mar 2006 17:00:09 -0800] rev 2061
support nested repositories.
mercurial will not recurse into a subdirectory that contains a .hg
directory. it is treated as a separate repository.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 12 Apr 2006 17:57:44 +0200] rev 2060
Don't use -u option for diff on SunOS, too.
This makes the tests work without using GNU diff on Solaris 8.
Sascha Wilde <wilde@sha-bang.de> [Wed, 12 Apr 2006 17:53:04 +0200] rev 2059
run-tests: Use appropriate (that is: none) diff options on HP-UX.
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 11 Apr 2006 12:44:13 +0200] rev 2058
Use the new format of setting tags in view extension (Debian bug #361897)
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 11 Apr 2006 08:42:07 +0200] rev 2057
Never exit directly from commands.dispatch(), but pass return code to caller.
Usually the caller is commands.run().
Some extensions still use sys.exit(), this is catched, too.
Fixed wrong return statement in commands.recover() yielding a zero exit code.
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 11 Apr 2006 07:08:16 +0200] rev 2056
Polished exception handling when importing extensions:
- Warning about failed import is printed on one line.
- For this warning the [extensions] section key is used, because the value
doesn't have to be set.
- Whan a --traceback is requested, exit immediately to not mix up problems
when importing an extension with other problems.
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 11 Apr 2006 06:34:27 +0200] rev 2055
Added doc/gendoc.py to MANIFEST.in, so docs can be regenerated on demand.
Vadim Gelfer <vadim.gelfer@gmail.com> [Sat, 08 Apr 2006 14:12:43 -0700] rev 2054
fix exception handling on windows.
move win32 code into util_win32.py.
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 08 Apr 2006 10:14:04 +0200] rev 2053
Include tests/md5sum.py in manifest.
Matt Mackall <mpm@selenic.com> [Fri, 07 Apr 2006 20:08:11 -0500] rev 2052
Added tag 0.8.1 for changeset 6a03cff2b0f5d30281e6addefe96b993582f2eac
Radoslaw Szkodzinski <astralstorm@gorzow.mm.pl> [Fri, 07 Apr 2006 22:31:54 +0200] rev 2051
Try to use /usr/bin/test or /bin/test to work around missing features.
The builtin "test" of Solaris 8 /bin/sh doesn't understand -nt.
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 05 Apr 2006 17:17:07 -0700] rev 2050
util.copyfiles: only switch to copy if hardlink raises IOError or OSError.
before this, interrupting clone would give "file a same as file b" error
because caught KeyboardInterrupt.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 05 Apr 2006 19:07:50 +0200] rev 2049
Make completion for debugindex<tab><tab> show debugindexdot, too.
The special handling for commands with names that are substrings of other
commands (e.g. with st and strip) wasn't used with debug commands before.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 05 Apr 2006 15:39:48 +0200] rev 2048
Set correct exception for another possible malloc error in mpatch.c
Edouard Gomez <ed.gomez@free.fr> [Tue, 04 Apr 2006 16:35:20 -0700] rev 2047
Register qversion as a non repository related command
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 04 Apr 2006 15:21:20 +0200] rev 2046
Show remote ssh noise only with --debug and increase the limit to 500 lines.
Messages can already be sent to the user over stderr, if one really wants this.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Mon, 03 Apr 2006 22:47:18 +0200] rev 2045
document the possible race in "hg undo"
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 03 Apr 2006 21:38:59 +0200] rev 2044
Don't allow --style and --template for hg update and hg merge.
The only way that changesets will be shown with these command is in an error
message when trying to update to an ambiguous branch name.
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 03 Apr 2006 21:01:33 +0200] rev 2043
Minor fix for revert: No need to make a backup when forgetting added files.
echo foo > foo && hg add foo && hg revert foo
creates foo.orig, though foo is not changed or deleted.
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 03 Apr 2006 10:02:09 -0700] rev 2042
small changes to revert command.
fix bug 93: work with files that are in target manifest but not
dirstate.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Mon, 03 Apr 2006 14:56:00 +0200] rev 2041
bash_completion: completion for commands provided by extensions
Make the bash_completion function call _hg_cmd_$cmd to generate
completion candidates for $cmd if that function exists.
Add basic completion functions for:
- mq:
- qpop
- qpush
- qdelete
- qsave
- qcommit
- strip
- hbisect:
- bisect
- patchbomb:
- email
- gpg:
- sign
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 02 Apr 2006 22:12:56 +0200] rev 2040
Don't enter an endless loop if remote hg doesn't answer, show remote noise.
The endless loop is not only triggered if the remote shell is too noisy, but
even if the local ssh command dies due to an error.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sun, 02 Apr 2006 18:20:52 +0200] rev 2039
bash_completion: small optimization
Right now we always call "hg help $cmd" to get the canonical name of $cmd
(i.e. to go from "co" to "update").
This patch optimistically assumes that $cmd is already the canonical form
and tries to generate completions for it. If that fails, it falls back
to canonicalizing $cmd and trying again.
This means that:
- if a command or alias is explicitly handled by the
_hg_command_specific function, things get somewhat faster
- as long as the canonical $cmd is handled by _hg_command_specific, all
its aliases and abbreviations are also handled.
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 02 Apr 2006 18:16:06 +0200] rev 2038
Tell the user the real "hg update -C" command, not just "-C" when aborting.
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 02 Apr 2006 08:19:41 +0200] rev 2037
Merged with crew.