timeless <timeless@gmail.com> [Tue, 20 Jul 2010 20:53:48 +0200] rev 12744
progress: dropping superfluous space from units
Adrian Buehlmann <adrian@cadifra.com> [Sat, 16 Oct 2010 18:09:01 +0200] rev 12743
check-code: add 'no tab indent' check for unified tests
and fix the offending tests accordingly
Mads Kiilerich <mads@kiilerich.com> [Sun, 17 Oct 2010 04:14:06 +0200] rev 12742
url: validity (notBefore/notAfter) is checked by OpenSSL (issue2407)
Removing the check from our code makes https with cacerts check work with
Python < 2.6.
Mads Kiilerich <mads@kiilerich.com> [Sun, 17 Oct 2010 04:13:50 +0200] rev 12741
test-https: test web.cacerts functionality
Mads Kiilerich <mads@kiilerich.com> [Sun, 17 Oct 2010 04:13:35 +0200] rev 12740
serve: fix https mode and add test
The https mode failed in super because BaseRequestHandler is an old-style
class.
This introduces the first test of https client/server functionality - and
"hghave ssl". The test is currently only run on Python 2.6.
Augie Fackler <durin42@gmail.com> [Sat, 16 Oct 2010 17:29:04 -0500] rev 12739
hgweb: don't send a body or illegal headers during 304 response
Without this fix, mod_wsgi and spawning get in a wedged state after
sending a 304 response. Not sending a body fixed that problem. The
header change was discovered by using wsgiref.validate.validator to
check for other errors.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 16 Oct 2010 22:40:46 +0200] rev 12738
merge with stable
Augie Fackler <durin42@gmail.com> [Tue, 12 Oct 2010 11:02:45 -0500] rev 12737
test-url: skip test when ssl module is unavailable
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 16 Oct 2010 18:50:53 +0200] rev 12736
revset: use 'requires' instead of 'wants' in error message
Nicolas Dumazet <nicdumz.commits@gmail.com> [Fri, 15 Oct 2010 05:21:51 +0200] rev 12735
outgoing: unify common graphlog.outgoing and hg.outgoing code
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 14 Oct 2010 22:41:43 +0200] rev 12734
bundlerepo: unify common code into a new getremotechanges
The pattern where we fetch incoming remote changes and return
them as a local bundlerepo seems common. It's nicer to have this
code unified.
Augie Fackler <durin42@gmail.com> [Tue, 12 Oct 2010 23:33:43 -0500] rev 12733
revset id(): fix error text to say "id wants..." instead of "rev wants..."
Christian Ebert <blacktrash@gmx.net> [Thu, 14 Oct 2010 22:53:17 +0200] rev 12732
keyword: only use expensive fctx.cmp when needed
Restrict expensive cmp to cases when:
- comparing against working directory
and
- encode filters active
or
- path is configured for keyword expansion
Christian Ebert <blacktrash@gmx.net> [Thu, 14 Oct 2010 22:47:50 +0200] rev 12731
context: narrow down filter special case in filectx.cmp()
cmp via filelog when encode filters are present, but only when
actually comparing to the working directory.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 14 Oct 2010 21:36:00 +0200] rev 12730
incoming: unify code for incoming and graphlog.incoming
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 14 Oct 2010 21:37:00 +0200] rev 12729
incoming: rename variable
Groundwork so that incoming and graphlog.incoming code look the same and get
easier to unify.
Mads Kiilerich <mads@kiilerich.com> [Thu, 14 Oct 2010 01:28:29 +0200] rev 12728
import: only the first hg patch marker should be processed (issue2417)
Proper use of the hgpatch state variable had been lost in the final edits of
d7452292f9d3 - now it works more like intended.
Gilles Moris <gilles.moris@free.fr> [Fri, 10 Sep 2010 10:28:18 +0200] rev 12727
backout: provide linear backout as a default (without --merge option)
This changes backouts changeset to retain linear history, .e. it is committed
as a child of the working directory parent, not the reverted changeset
parent.
The default behavior was previously to just commit a reverted change as a
child of the backed out changeset - thus creating a new head. Most of
the time, you would use the --merge option, as it does not make sense to
keep this dangling head as is.
The previous behavior could be obtained by using 'hg update --clean .' after a
'hg backout --merge'.
The --merge option itself is not affected by this change. There is also
still an autocommit of the backout if a merge is not needed, i.e. in case
the backout is the parent of the working directory.
Previously we had (pwd = parent of the working directory):
pwd older
backout auto merge
backout --merge auto commit
With the new linear approach:
pwd older
backout auto commit
backout --merge auto commit
auto: commit done by the backout command
merge: backout also already committed but explicit merge and commit needed
commit: user need to commit the update/merge
Augie Fackler <durin42@gmail.com> [Mon, 11 Oct 2010 10:07:42 -0500] rev 12726
update: use revsingle to enable use of revsets as update targets (issue1993)
Augie Fackler <durin42@gmail.com> [Tue, 12 Oct 2010 11:02:45 -0500] rev 12725
test-url: skip test when ssl module is unavailable
Augie Fackler <durin42@gmail.com> [Tue, 12 Oct 2010 11:02:05 -0500] rev 12724
test-url: remove trailing whitespace
Christian Ebert <blacktrash@gmx.net> [Tue, 12 Oct 2010 12:49:23 +0100] rev 12723
keyword: code cleanup
- move preselection of expansion candidates for rollback
and record into helper function
- same overwrite order in rollback and record:
1. modified, 2. added
- self.wlock() inside kwrepo class instead of repo.wlock()
Yuya Nishihara <yuya@tcha.org> [Sat, 02 Oct 2010 22:59:29 +0900] rev 12722
tests: asciify output of test-encoding-align.t
Yuya Nishihara <yuya@tcha.org> [Sat, 02 Oct 2010 22:57:25 +0900] rev 12721
tests: accept \-escaped test output
It changes tsttest to accept expected outputs in python-style \-escapes.
It aims to avoid trouble with outputs for non-ascii, color and progress
tests.
Matt Mackall <mpm@selenic.com> [Tue, 12 Oct 2010 16:26:03 -0500] rev 12720
merge with crew
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 12 Oct 2010 08:30:15 -0500] rev 12719
parentdelta: compress.py extension is no longer necessary
Using `hg --config format.parentdelta=True clone --pull src dst` is equivalent.
Matt Mackall <mpm@selenic.com> [Tue, 12 Oct 2010 16:25:38 -0500] rev 12718
merge with stable
Brodie Rao <brodie@bitheap.org> [Fri, 01 Oct 2010 10:15:04 -0500] rev 12717
convert/darcs: support changelogs with bytes 0x7F-0xFF (issue2411)
This is a followup to 4481f8a93c7a, which only fixed the conversion of
patches with UTF-8 metadata.
This patch allows a changelog to have any bytes with values
0x7F-0xFF. It parses the XML changelog as Latin-1 and uses
converter_source.recode() to decode the data as UTF-8/Latin-1.
Caveats:
- Since the convert extension doesn't provide any way to specify the
source encoding, users are still limited to UTF-8 and Latin-1.
- etree will still complain if the changelog has bytes with values
0x00-0x19. XML only allows printable characters.
Augie Fackler <durin42@gmail.com> [Mon, 11 Oct 2010 09:44:19 -0500] rev 12716
revset: add id() and rev() to allow explicitly referring to changes by hash or rev
Augie Fackler <durin42@gmail.com> [Sun, 10 Oct 2010 12:41:36 -0500] rev 12715
revset: rename tagged() to tag() and allow it to take an optional tag name
Augie Fackler <durin42@gmail.com> [Sun, 10 Oct 2010 12:40:25 -0500] rev 12714
bookmarks: add revset for referencing bookmarks
Augie Fackler <durin42@gmail.com> [Sun, 10 Oct 2010 12:03:28 -0500] rev 12713
hgweb help: fix double help links
Adrian Buehlmann <adrian@cadifra.com> [Mon, 11 Oct 2010 11:17:48 +0200] rev 12712
tests: add testcase for --config format.dotencode=false
Matt Mackall <mpm@selenic.com> [Mon, 11 Oct 2010 14:39:13 -0500] rev 12711
fetch: fix and document exit codes (issue2356)
Adrian Buehlmann <adrian@cadifra.com> [Sun, 10 Oct 2010 23:32:09 +0200] rev 12710
doc: add [format] dotencode description
Nicolas Dumazet <nicdumz.commits@gmail.com> [Tue, 27 Jul 2010 23:07:30 +0900] rev 12709
filectx: use ctx.size comparisons to speed up ctx.cmp
Comparing sizes is cheaper than comparing file contents, as it does not
involve reading the file on disk or from the filelog.
It is however not always possible: some extensions, or encode filters,
change data when extracting it to the working directory.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sun, 10 Oct 2010 18:58:45 +0200] rev 12708
localrepo: use propertycaches to access encode/decode filters
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sun, 10 Oct 2010 19:10:16 +0200] rev 12707
localrepo: load filter patterns outside of _filter
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sun, 10 Oct 2010 19:07:58 +0200] rev 12706
localrepo: have _loadfilter return the loaded filter patterns
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Mon, 11 Oct 2010 13:26:29 -0500] rev 12705
merge with mpm
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Mon, 11 Oct 2010 12:47:11 -0500] rev 12704
wireproto/http: drain the incoming bundle in case of errors
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Mon, 11 Oct 2010 12:45:36 -0500] rev 12703
wireproto: introduce pusherr() to deal with "unsynced changes" error
The behaviour between http and ssh still differ:
- the "unsynced changes" is seen as a remote output in the http cases
- but it is correctly seen as a push error for ssh
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Mon, 11 Oct 2010 12:44:33 -0500] rev 12702
wireproto: redirect the output earlier
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Mon, 11 Oct 2010 12:44:11 -0500] rev 12701
wireproto: return in finally was messing with the return inside the block
Dirkjan Ochtman <dirkjan@ochtman.nl> [Mon, 11 Oct 2010 13:51:10 +0200] rev 12700
tests: use a glob for all of the host, might not be localhost
Dirkjan Ochtman <dirkjan@ochtman.nl> [Mon, 11 Oct 2010 13:49:53 +0200] rev 12699
commands: add move alias for the rename command
svn provides move, and it's also a standard tool on Windows.
Matt Mackall <mpm@selenic.com> [Sun, 10 Oct 2010 18:02:52 -0500] rev 12698
util: make wrap() require a width argument
This keeps hgweb's help engine from poking at file descriptors that
don't exist.
Brodie Rao <brodie@bitheap.org> [Sat, 09 Oct 2010 16:55:33 -0500] rev 12697
showconfig: don't accept multiple sections and one config item
Showconfig now behaves as documented and only accepts one section.name argument
or a number of section names.
Matt Mackall <mpm@selenic.com> [Sun, 10 Oct 2010 17:35:28 -0500] rev 12696
hgweb: another fix for the help termwidth bug
Brodie Rao <brodie@bitheap.org> [Sun, 10 Oct 2010 12:21:49 -0500] rev 12695
pager: don't run pager if nothing is written to stdout/stderr
This decides when to run the pager based on the first call to
ui.write() and ui.write_err(). This has the side effect of not the
output of subprocesses that write output before hg does.
Brodie Rao <brodie@bitheap.org> [Sun, 10 Oct 2010 12:21:48 -0500] rev 12694
pager: add global --pager=<auto/boolean> option
Brodie Rao <brodie@bitheap.org> [Sun, 10 Oct 2010 12:21:36 -0500] rev 12693
color: add global option in extsetup() instead of globally
This prevents side effects from occurring when importing the color
extension.
Matt Mackall <mpm@selenic.com> [Sun, 10 Oct 2010 11:05:06 -0500] rev 12692
hgweb: more ui fiddling
Augie Fackler <durin42@gmail.com> [Sun, 10 Oct 2010 10:42:44 -0500] rev 12691
hgweb: fix hgweb_mod as well as hgwebdir_mod
Augie Fackler <durin42@gmail.com> [Sun, 10 Oct 2010 10:07:17 -0500] rev 12690
hgwebdir_mod: use fake termwidth to avoid mod_wsgi's wrath
Augie Fackler <durin42@gmail.com> [Sun, 10 Oct 2010 10:06:36 -0500] rev 12689
termwidth: move to ui.ui from util
Kevin Bullock <kbullock@ringworld.org> [Thu, 07 Oct 2010 23:34:21 -0500] rev 12688
help: improve description of update --check
Adrian Buehlmann <adrian@cadifra.com> [Sat, 09 Oct 2010 21:54:50 +0200] rev 12687
store: encode first period or space in filenames (issue1713)
- Mac OS X has problems with filenames starting with '._'
(e.g. '.FOO' -> '._f_o_o' is now encoded as '~2e_f_o_o')
- Explorer of Windows Vista and Windows 7 strip leading spaces of
path elements of filenames when copying trees
Above problems are avoided by encoding the first space (as '~20') or
period (as '~2e') of all path elements.
This introduces a new entry 'dotencode' in .hg/requires, that is,
a new repository filename layout (inside .hg/store).
Newly created repositories require 'dotencode' by default. Specifying
[format]
dotencode = False
in a config file will use the old format instead.
Prior Mercurial versions will abort with the message
abort: requirement 'dotencode' not supported!
when trying to access a local repository that requires 'dotencode'.
New 'dotencode' repositories can be converted to the previous
repository format with
hg --config format.dotencode=0 clone --pull repoA repoB
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Tue, 14 Sep 2010 23:00:39 +0200] rev 12686
demandimport: fix an obscure corner-case.
Python's __import__() function has 'level' as the fourth argument, not the
third. The code path in question probably never worked.
(This was seen trying to run Mercurial in PyPy. Fixing this made it
die somewhere else...)
Christian Ebert <blacktrash@gmx.net> [Sun, 10 Oct 2010 00:38:57 +0100] rev 12685
keyword: enforce subn method via boolean switch
There are only 2 patterns to choose, and so far only 1 case
where kwtemplater.re_kw.subn is applied on data read from
the working directory: when recording added files.
With this change the code reflects more closely the boolean
character of the switch and underlines the special case.