Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Mon, 17 Jul 2006 01:58:59 +0200] rev 2651
correct the handling of linkrev with nullid
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Mon, 17 Jul 2006 01:58:50 +0200] rev 2650
lookup should allow -1 to represent nullid (if passed an int as arg)
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Mon, 24 Jul 2006 13:47:29 -0700] rev 2649
make convert-repo deal with git symbolic refs.
Problem noticed by Sébastien Pierre
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 24 Jul 2006 09:22:47 -0700] rev 2648
util.getuser: better comments
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 24 Jul 2006 09:19:25 -0700] rev 2647
util.getuser: raise exception if win32api not available.
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 24 Jul 2006 09:12:16 -0700] rev 2646
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 24 Jul 2006 09:11:26 -0700] rev 2645
fix windows username problem.
Brendan Cully <brendan@kublai.com> [Thu, 20 Jul 2006 21:58:25 -0700] rev 2644
Make hgweb threads into daemon threads.
This fixes the problem that an interrupted hg serve will not terminate
until the next request has been received.
Brendan Cully <brendan@kublai.com> [Fri, 21 Jul 2006 02:36:17 +0200] rev 2643
Preserve multibyte UTF-8 characters when obfuscating.
This version uses the unicode 'replace' option, so non-UTF-8
encodings will still be mangled. Luckily, there aren't any
of those.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Fri, 21 Jul 2006 02:31:59 +0200] rev 2642
spelling fix
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Fri, 21 Jul 2006 01:40:07 +0200] rev 2641
change 'hg tag' to tag the parent rev instead of tip
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 19 Jul 2006 07:56:40 -0700] rev 2640
fix tests.
Brendan Cully <brendan@kublai.com> [Wed, 19 Jul 2006 07:52:16 -0700] rev 2639
Add an option '-C|--copies' to hg status to show the source of copied files.
Copied files are displayed in the form:
A newname
oldname
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 19 Jul 2006 07:51:56 -0700] rev 2638
merge
"Mathieu Clabaut <mathieu.clabaut@gmail.com>" [Wed, 19 Jul 2006 09:28:59 +0200] rev 2637
HGcommand.vim : the status was read for the wrong file as we changed the current directory before
"Mathieu Clabaut <mathieu.clabaut@gmail.com>" [Tue, 18 Jul 2006 18:35:47 +0200] rev 2636
Do not try to get revision and branch information for file which are not tracked
"Mathieu Clabaut <mathieu.clabaut@gmail.com>" [Tue, 18 Jul 2006 18:35:47 +0200] rev 2635
Correction of commit with a log message in a file
"Mathieu Clabaut <mathieu.clabaut@gmail.com>" [Tue, 18 Jul 2006 18:35:47 +0200] rev 2634
Test if file is below an HG root before doing anything
"Mathieu Clabaut <mathieu.clabaut@gmail.com>" [Sat, 15 Jul 2006 13:09:46 +0200] rev 2633
[mq]: merge marker
Christian Ebert <blacktrash@gmx.net> [Wed, 19 Jul 2006 13:37:05 +0200] rev 2632
fix logfile option for HGFinishCommit
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 18 Jul 2006 00:32:18 +0200] rev 2631
codingstyle: use spaces instead of tabs
Matt Mackall <mpm@selenic.com> [Mon, 17 Jul 2006 11:30:33 -0500] rev 2630
Merge with tonfa
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 16 Jul 2006 16:40:24 +0200] rev 2629
context.py: various fixes
- use a normal changeset instead of a context
- define _filenode instead of _node to match the else clause
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 16 Jul 2006 16:39:03 +0200] rev 2628
context.py: filectxs was using a keyword arg, add it to filectx
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 16 Jul 2006 16:39:02 +0200] rev 2627
context.py: self.repo is not defined, change to self._repo
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 16 Jul 2006 11:32:37 +0200] rev 2626
walkchangerevs: fix race in fast path
do not yield revs if the corresponding cl entry does not exists,
it avoids a race in the fastpath (where we walk in the filelog) with
an ongoing transaction.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 16 Jul 2006 00:02:05 +0200] rev 2625
mention the bts for bug reporting in traceback message
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 16 Jul 2006 00:01:41 +0200] rev 2624
expand the path if destination is not a directory
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 17 Jul 2006 07:43:15 -0700] rev 2623
fix problem with uncompressed clone and python 2.3.
Vadim Gelfer <vadim.gelfer@gmail.com> [Sun, 16 Jul 2006 10:04:16 -0700] rev 2622
rename stream hgrc option to compressed.
Vadim Gelfer <vadim.gelfer@gmail.com> [Sat, 15 Jul 2006 16:06:35 -0700] rev 2621
clone: disable stream support on server side by default.
enable in hgrc like this:
[server]
stream=True
Vadim Gelfer <vadim.gelfer@gmail.com> [Sat, 15 Jul 2006 16:06:05 -0700] rev 2620
clone: change name of --stream to --uncompressed.
mpm asked for this.
Vadim Gelfer <vadim.gelfer@gmail.com> [Sat, 15 Jul 2006 09:19:40 -0700] rev 2619
update test-backout.out
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 15 Jul 2006 17:01:01 +0200] rev 2618
merge with crew
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 15 Jul 2006 17:00:23 +0200] rev 2617
fix bug introduced in b13a98bd078e
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 14 Jul 2006 23:20:08 -0700] rev 2616
merge.
Rafael Villar Burke <pachi@mmn-arquitectos.com> [Fri, 14 Jul 2006 22:38:21 -0700] rev 2615
contrib: add sample.hgrc
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 14 Jul 2006 23:19:15 -0700] rev 2614
backout: allow backout of merge changeset with --parent option.
--parent allows to choose which parent of merge to revert to.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 14 Jul 2006 14:51:36 -0700] rev 2613
clone: do not make streaming default. add --stream option instead.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 14 Jul 2006 11:17:22 -0700] rev 2612
add support for streaming clone.
existing clone code uses pull to get changes from remote repo. is very
slow, uses lots of memory and cpu.
new clone code has server write file data straight to client, client
writes file data straight to disk. memory and cpu used are very low,
clone is much faster over lan.
new client can still clone with pull, can still clone from older servers.
new server can still serve older clients.
Lee Cantey <lcantey@gmail.com> [Thu, 13 Jul 2006 09:50:51 -0700] rev 2611
Add merge to list of required tools.
Lee Cantey <lcantey@gmail.com> [Thu, 13 Jul 2006 11:19:35 -0700] rev 2610
Fix sed expression for OS X and Solaris 2.6.
Matches previous fixes in other tests.
Chris Mason <mason@suse.com> [Thu, 13 Jul 2006 09:40:01 -0700] rev 2609
util.parsedate should understand dates from hg export
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 12 Jul 2006 15:47:12 -0700] rev 2608
merge with mathieu clabaut.
"Mathieu Clabaut <mathieu.clabaut@gmail.com>" [Thu, 13 Jul 2006 00:02:26 +0200] rev 2607
HGcommand.vim : HGCommandEnableBufferSetup on by default
"Mathieu Clabaut <mathieu.clabaut@gmail.com>" [Wed, 12 Jul 2006 23:52:13 +0200] rev 2606
HGcommand.vim : HGGetStatusLine accept to display an empty 'branch' value
"Mathieu Clabaut <mathieu.clabaut@gmail.com>" [Wed, 12 Jul 2006 23:52:13 +0200] rev 2605
HGcommand.vim : suppress CVS relief
"Mathieu Clabaut <mathieu.clabaut@gmail.com>" [Wed, 12 Jul 2006 23:52:08 +0200] rev 2604
HGcommand.vim : doc review.
"Mathieu Clabaut <mathieu.clabaut@gmail.com>" [Wed, 12 Jul 2006 23:50:34 +0200] rev 2603
HGcommand.vim : doc integration
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 12 Jul 2006 15:44:51 -0700] rev 2602
contrib/hgsh: make to work with remote clone over ssh.
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 12 Jul 2006 08:59:20 -0700] rev 2601
move most of tag code to localrepository class.
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 12 Jul 2006 08:28:00 -0700] rev 2600
clean up trailing white space.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 12 Jul 2006 09:01:10 +0200] rev 2599
Added tests for local and remote init.
This tests the changes done in edb66cb05ded and b898afee9d0d.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 12 Jul 2006 08:57:18 +0200] rev 2598
Add ui method to set --ssh/--remotecmd, use it in init/clone/pull/push/in/out.
The only user visible change is that 'hg init' now accepts this options, too.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 11 Jul 2006 16:18:53 -0700] rev 2597
clone: move code into hg module. make doc better.
api in commands module is still same, but version in hg is best for
calling within python now.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 11 Jul 2006 15:52:56 -0700] rev 2596
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 11 Jul 2006 15:52:36 -0700] rev 2595
parse url schemes more strictly.
previous code mistook repo named "hg" for scheme named "hg".
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 11 Jul 2006 15:51:16 -0700] rev 2594
add missed tests for diff -b/-B
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 11 Jul 2006 13:47:51 -0700] rev 2593
merge with crew.
"Mathieu Clabaut <mathieu.clabaut@gmail.com>" [Mon, 10 Jul 2006 23:45:16 +0200] rev 2592
Vim script: Adaptation from CVS to Mercurial
"Mathieu Clabaut <mathieu.clabaut@gmail.com>" [Mon, 10 Jul 2006 23:39:08 +0200] rev 2591
Addition of CVScommand vim script as a base for HGcommand
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 11 Jul 2006 22:36:52 +0200] rev 2590
Additional information about URLs in pull/push/clone/init:
- clone to ssh://
- init via ssh://
- example for pull from an absolute directory via ssh://
- push to http:// and https://
"Aurelien Jacobs <aurel@gnuage.org>" [Tue, 11 Jul 2006 22:19:49 +0200] rev 2589
disambiguate help about url syntax
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 10 Jul 2006 09:36:56 -0700] rev 2588
merge with crew.
Sébastien Pierre <sebastien@xprima.com> [Mon, 10 Jul 2006 12:19:37 -0400] rev 2587
darcs2hg: pause and resume support, date extraction from commit hash, does not break on empty commits
Sébastien Pierre <sebastien@xprima.com> [Mon, 10 Jul 2006 09:24:04 -0700] rev 2586
darcs2hg: improved logging
Nils Decker <mercurial@ndecker.de> [Sun, 09 Jul 2006 21:41:00 -0700] rev 2585
darcs2hg.py: use darcs patch hash as patch identifier
The use of the patch name is dangerous when duplicate names exist.
In case of a duplicate name the second patch and all its dependancies
are merged into a single mercurial patch.
The patch identifier (hash) is always unique.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 09 Jul 2006 14:42:18 +0200] rev 2584
merge with crew
Valentino Volonghi aka dialtone <dialtone@divmod.com> [Sun, 09 Jul 2006 14:12:19 +0200] rev 2583
adding local_hostname option to smtp configuration
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Fri, 07 Jul 2006 14:33:51 -0300] rev 2582
Respect "Connection: close" headers sent by HTTP clients.
A HTTP client can indicate that it doesn't support (or doesn't want)
persistent connections by sending this header.
This not only makes the server more compliant with the RFC, but also
reduces the run time of test-http-proxy when run with python 2.3 from
~125s to ~5s (it doesn't affect it with python 2.4, which was already
~5s).
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 09 Jul 2006 11:10:11 +0200] rev 2581
allow use of extensions in python hooks
extensions are loaded with hgext_ prefix, try to use them if
the module is not found in the normal path
Haakon Riiser <haakon.riiser@fys.uio.no> [Thu, 29 Jun 2006 15:16:25 +0200] rev 2580
diff: add -b/-B options
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 09 Jul 2006 01:30:30 +0200] rev 2579
use __contains__, index or split instead of str.find
str.find return -1 when the substring is not found, -1 evaluate
to True and is a valid index, which can lead to bugs.
Using alternatives when possible makes the code clearer and less
prone to bugs. (and __contains__ is faster in microbenchmarks)
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 08 Jul 2006 16:55:49 +0200] rev 2578
coding style: use spaces instead of tabs
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 07 Jul 2006 15:02:55 -0700] rev 2577
bdiff: improve worst case behavior by 100x.
on 5.8MB (244.000 lines) text file with similar lines, hash before
this change made diff against empty file take 75 seconds. this change
improves performance to 0.6 seconds. result is that clone of smallish
repo (137MB) with some files like this takes 1 minute instead of 10
minutes.
common case of diff is 10% slower now, probably because of worse cache
locality. but diff does not affect overall performance in common case
(less than 1% of runtime is in diff when it is working ok), so this
tradeoff looks good.
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 07 Jul 2006 11:23:53 +0200] rev 2576
Changed default timeout for run-tests.py from 30 to 180 seconds.
As e.g. test-http-proxy already takes quite some time (about a minute here)
and tests usually should clean up after themselves, the timeout should only be
hit in case of other problems.
Lee Cantey <lcantey@gmail.com> [Thu, 06 Jul 2006 09:26:31 -0700] rev 2575
Redirect MacPython link to point to python.org
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 06 Jul 2006 15:04:10 -0700] rev 2574
merge with mpm.
Matt Mackall <mpm@selenic.com> [Thu, 06 Jul 2006 14:15:24 -0500] rev 2573
Fix annotate breakage
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 06 Jul 2006 15:03:34 -0700] rev 2572
fix problems with external module handling. found by benoit boissinot.
first fix is to not store module objects in commands.external dict,
instead use module names for key into sys.modules. this prevents circular
reference during cleanup of aborted transaction.
second is to get name right during import of external module.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 06 Jul 2006 11:49:19 -0700] rev 2571
tests: record few more daemon pids to be safe
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 06 Jul 2006 11:45:34 -0700] rev 2570
tests: add timeouts, make run-tests.py clean up dead daemon processes
test timeout feature is needed for test with python 2.5 beta. if test
does not complete in time (30 seconds is default), it is killed.
some times daemon process used in test can be alive after the test
is killed by user or by timeout. tests now record daemon pids into
$DAEMON_PIDS and run-tests.py kills all living daemons after every test.
final little change is to add newline to end of pid file printed by
"hg serve", else "cat hg.pid >> $DAEMON_FILES" gives garbage.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 06 Jul 2006 10:09:24 -0700] rev 2569
run-tests.py: make tests use same python interpreter as test harness.
this is wanted because some tests run python interpreter directly.
must use same python interpreter in tests as in main harness or problems
will happen because of e.g. different python abi if run-tests.py run
with python 2.5 but system python is 2.4.
fix is to see if system python is used and is named python. if no,
put symlink called python at front of shell search path.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Thu, 06 Jul 2006 03:14:55 -0300] rev 2568
HTTPS: fix python2.3, persistent connections, don't explode if SSL is not available
The urllib2 differences between python 2.3 and 2.4 are hidden by
using keepalive.py, which also gives us support for persistent
connections.
Support for HTTPS is enabled only if there's a HTTPSHandler class in
urllib2.
It's not possible to have separate classes as handlers for HTTP and
HTTPS: to support persistent HTTPS connections, we need a class that
inherits from both keepalive.HTTPHandler and urllib2.HTTPSHandler. If
we try to pass (an instance of) this class and (an instance of) the
httphandler class to urllib2.build_opener, this function ends up getting
confused, since both classes are subclasses of the HTTPHandler default
handler, and raises an exception.
Matt Mackall <mpm@selenic.com> [Wed, 05 Jul 2006 13:28:25 -0500] rev 2567
Merge context patches
Matt Mackall <mpm@selenic.com> [Wed, 28 Jun 2006 17:42:17 -0500] rev 2566
Convert hg annotate to context api
Matt Mackall <mpm@selenic.com> [Wed, 28 Jun 2006 17:11:42 -0500] rev 2565
convert hg cat to new context api
Matt Mackall <mpm@selenic.com> [Wed, 28 Jun 2006 17:08:10 -0500] rev 2564
Add context helper functions to localrepo
Matt Mackall <mpm@selenic.com> [Wed, 28 Jun 2006 17:07:46 -0500] rev 2563
Add context.py: changeset and file revision contexts
Matt Mackall <mpm@selenic.com> [Wed, 28 Jun 2006 17:06:56 -0500] rev 2562
simplify make_filename, fix hg cat bug
hg cat was using file-level rev/node ids for generating filename
templates. This simplifies make_filename to only use changeset
rev/node ids.
Matt Mackall <mpm@selenic.com> [Wed, 28 Jun 2006 16:52:42 -0500] rev 2561
revlog: make lookup handle binary nodes
Matt Mackall <mpm@selenic.com> [Wed, 28 Jun 2006 15:49:33 -0500] rev 2560
revlog: handle integer arguments to lookup
Brendan Cully <brendan@kublai.com> [Tue, 04 Jul 2006 15:36:05 -0700] rev 2559
templater.firstline should handle empty strings
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Mon, 03 Jul 2006 00:33:19 -0300] rev 2558
hgweb: fix unbundle.
After the WSGI changes, even if a push over HTTP succeeds, apache
complains about "Premature end of script headers: hgwebdir.cgi" and
returns a "HTTP Error 500: Internal Server Error", making the local hg
abort.
The change to either of the files touched by this patch is enough to fix
this, but I think changing both is a more robust solution.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Mon, 03 Jul 2006 00:23:58 -0300] rev 2557
Fix push over https.
Without this patch, python gives me a
TypeError: write() argument 1 must be string or read-only buffer, not file
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Mon, 03 Jul 2006 00:23:56 -0300] rev 2556
Allow http://user@example.com URLs (i.e. without passwords)