Matt Mackall <mpm@selenic.com> [Fri, 18 Jun 2010 17:34:13 -0500] rev 11385
revset: nicer exception for empty queries
Martin Geisler <mg@lazybytes.net> [Fri, 18 Jun 2010 21:35:21 +0200] rev 11384
commands: advertise "hg help revsets" in help for log
Martin Geisler <mg@lazybytes.net> [Fri, 18 Jun 2010 21:31:19 +0200] rev 11383
revset: all your error messages are belong to _
Martin Geisler <mg@lazybytes.net> [Thu, 17 Jun 2010 17:21:39 +0300] rev 11382
help: new revsets topic
Based on a patch by timeless which in turn is based on
http://selenic.com/pipermail/mercurial-devel/2010-June/021638.html
Martin Geisler <mg@lazybytes.net> [Fri, 18 Jun 2010 20:06:32 +0200] rev 11381
Merge with main
Lee Cantey <lcantey@gmail.com> [Fri, 18 Jun 2010 10:45:40 -0700] rev 11380
Ignore mercurial.egg-info build output
Matt Mackall <mpm@selenic.com> [Thu, 17 Jun 2010 15:54:26 -0500] rev 11379
bookmarks: add support for push --bookmark to export bookmarks
Matt Mackall <mpm@selenic.com> [Thu, 17 Jun 2010 14:26:23 -0500] rev 11378
bookmarks: add support for pull --bookmark to import remote bookmarks
Dirkjan Ochtman <dirkjan@ochtman.nl> [Thu, 17 Jun 2010 15:51:27 +0200] rev 11377
patch: inline small, single-use 'write' function
Dirkjan Ochtman <dirkjan@ochtman.nl> [Thu, 17 Jun 2010 15:50:35 +0200] rev 11376
patch: inline small, single-use 'close' function
Dirkjan Ochtman <dirkjan@ochtman.nl> [Thu, 17 Jun 2010 15:53:26 +0200] rev 11375
mq: __str__ falls back to __repr__
Matt Mackall <mpm@selenic.com> [Thu, 17 Jun 2010 12:22:21 -0500] rev 11374
bookmarks: update known bookmarks on the target on push
Matt Mackall <mpm@selenic.com> [Thu, 17 Jun 2010 12:10:47 -0500] rev 11373
bookmarks: pull known bookmarks from server that are newer
Matt Mackall <mpm@selenic.com> [Thu, 17 Jun 2010 11:01:51 -0500] rev 11372
bookmarks: add pushkey server-side support
Matt Mackall <mpm@selenic.com> [Wed, 16 Jun 2010 16:05:47 -0500] rev 11371
pushkey: add debugpushkey command for testing
Matt Mackall <mpm@selenic.com> [Wed, 16 Jun 2010 16:05:19 -0500] rev 11370
pushkey: add http support
pushkey requires the same permissions as push
listitems requires the same permissions as pull
Matt Mackall <mpm@selenic.com> [Wed, 16 Jun 2010 16:05:13 -0500] rev 11369
pushkey: add ssh support
Matt Mackall <mpm@selenic.com> [Wed, 16 Jun 2010 16:04:46 -0500] rev 11368
pushkey: add localrepo support
Matt Mackall <mpm@selenic.com> [Wed, 16 Jun 2010 16:04:44 -0500] rev 11367
pushkey: add pushkey core
Matt Mackall <mpm@selenic.com> [Wed, 16 Jun 2010 15:01:09 -0500] rev 11366
sshrepo: sort arguments
All current commands have zero or one args. Future multi-arg commands
will want args to appear in a deterministic order.
Greg Ward <greg-hg@gerg.ca> [Wed, 16 Jun 2010 22:00:02 -0400] rev 11365
mq: make 'qdelete <patchidx>' work again.
This just backs out
1abd9442727c (a minor code cleanup that
accidentally broke qdelete) and adds a test.
Renato Cunha <renatoc@gmail.com> [Tue, 15 Jun 2010 19:49:56 -0300] rev 11364
bdiff.c: Added support for py3k.
This patch adds support for py3k in bdiff.c. This is accomplished by including
a header file responsible for abstracting the API differences between python 2
and python 3.
Renato Cunha <renatoc@gmail.com> [Tue, 15 Jun 2010 19:49:56 -0300] rev 11363
diffhelpers.c: Added support for py3k.
This patch adds support for py3k in diffhelpers.c. This is accomplished by
including a header file responsible for abstracting the API differences between
python 2 and python 3.
Renato Cunha <renatoc@gmail.com> [Tue, 15 Jun 2010 19:49:56 -0300] rev 11362
base85.c: Added support for py3k.
This patch adds support for py3k in base85.c. This is accomplished by including
a header file responsible for abstracting the API differences between python 2
and python 3.
Renato Cunha <renatoc@gmail.com> [Tue, 15 Jun 2010 19:49:56 -0300] rev 11361
parsers.c: Added support for py3k.
This patch adds support for py3k in parsers.c. This is accomplished by including
a header file responsible for abstracting the API differences between python 2
and python 3.
Renato Cunha <renatoc@gmail.com> [Tue, 15 Jun 2010 19:49:56 -0300] rev 11360
mpatch.c: Added preliminary support for py3k.
This is done by including the util.h header file, that defines appropriate
macros according to the current python version.
Renato Cunha <renatoc@gmail.com> [Tue, 15 Jun 2010 19:49:56 -0300] rev 11359
osutil.c: Support for py3k added.
This patch adds support for py3k in osutil.c. This is accomplished by including
a header file responsible for abstracting the API differences between python 2
and python 3.
listdir_stat_type is also changed in the following way: A previous call to
PyObject_HEAD_INIT is substituted to a call to PyVarObject_HEAD_INIT, which
makes the object buildable in both python 2.x and 3.x without weird warnings.
After testing on windows, some modifications were also made in the posixfile
function, as it calls PyFile_FromFile and PyFile_SetBufSize, which are gone in
py3k. In py3k the PyFile_* API is, actually a wrapper over the io module, and
code has been adapted accordingly to fit py3k.
Renato Cunha <renatoc@gmail.com> [Tue, 15 Jun 2010 19:49:56 -0300] rev 11358
util.h: Utility macros for handling different Python APIs.
If we are in py3k, a IS_PY3K symbol is defined. Apart from that, byte strings
use the API defined in Python 2.6+ (_?PyBytes_.*). For Python < 2.6, the bytes
API is defined accordingly for mercurial usage (shameless copy from
bytesobject.h from Python's code). Some macros were backported from 2.6, as
inspired by rPath's pycompat.h.
Martin Geisler <mg@aragost.com> [Wed, 16 Jun 2010 12:22:14 +0200] rev 11357
relink: ensure deterministic directory walk in collect
Faheem Mitha <faheem@email.unc.edu> [Wed, 16 Jun 2010 15:20:22 +0530] rev 11356
help: add "glossary" topic
Joint work with Vishakh Harikumar, Pradeepkumar Gayam, David Champion,
Mark Booth, timeless, Matt Mackall, Heinrik Stuart, Greg Ward, and
Martin Geisler.
timeless <timeless@gmail.com> [Thu, 10 Jun 2010 15:35:06 +0200] rev 11355
relink/progress: Adding progress for collecting stage
timeless <timeless@gmail.com> [Thu, 10 Jun 2010 13:09:50 +0200] rev 11354
relink/progress: Adding progress for pruning stage
Greg Ward <greg-hg@gerg.ca> [Mon, 14 Jun 2010 16:06:52 -0400] rev 11353
merge: when current branch has 1 or > 2 heads, actually abort.
Currently merge just prints abort-like messages to stderr and then
exits with a misleading status 0 (cleverly disguised as "False").
With this change it raises Abort, just like every other fatal error.
Greg Ward <greg-hg@gerg.ca> [Tue, 15 Jun 2010 16:10:32 -0400] rev 11352
tags: remove inactive debugging code.
It was left in just in case things went wrong with the tag cache in
Mercurial 1.4, so we could easily crank up the verbosity with a
one-line change. There have been no problems in 1.4 or 1.5, so it
should be safe to drop this now.
Greg Ward <greg-hg@gerg.ca> [Tue, 15 Jun 2010 15:02:54 -0400] rev 11351
tags: remove the old non-caching implementation of findglobaltags().
It was left behind just in case the tag cache blew up in Mercurial
1.4, so we could easily revert to the non-caching code. There have
been no problems with the tag cache in 1.4 or 1.5, so it should be
safe to get rid of this code now.
Christian Ebert <blacktrash@gmx.net> [Tue, 15 Jun 2010 17:15:31 +0200] rev 11350
keyword: postpone manifest calculation in kwtemplater.overwrite
We can check for file existence in the working directory (needed
in case of recording) by simply using the given context and
calculate the manifest only when there are in fact candidates
for expansion/shrinking.
Georg Brandl <georg@python.org> [Sun, 13 Jun 2010 23:25:27 +0200] rev 11349
revset: fix call to ctx.extra() in closed()
Martin Geisler <mg@aragost.com> [Tue, 15 Jun 2010 11:05:17 +0200] rev 11348
p4: fix long line and bad spacing around %
Frank Kingswood <frank@kingswood-consulting.co.uk> [Mon, 14 Jun 2010 16:38:36 +0100] rev 11347
Fix shell quoting on p4 conversion
Greg Ward <greg-hg@gerg.ca> [Mon, 14 Jun 2010 13:39:00 -0400] rev 11346
tests: rename test-merge3 to test-add-remove.
It tests that 'hg commit' does not crash if the user removes a newly
added file, which has nothing to do with merging.
Martin Geisler <mg@aragost.com> [Tue, 15 Jun 2010 10:01:55 +0200] rev 11345
check-code: reformat long lines
Martin Geisler <mg@aragost.com> [Tue, 15 Jun 2010 10:00:07 +0200] rev 11344
dagparser: replace format with str
Martin Geisler <mg@aragost.com> [Tue, 15 Jun 2010 09:55:59 +0200] rev 11343
check-code: catch format(), introduced in Python 2.6
Martin Geisler <mg@aragost.com> [Tue, 15 Jun 2010 09:53:50 +0200] rev 11342
commands: get rid of generic exception in debugbuilddag
Martin Geisler <mg@aragost.com> [Tue, 15 Jun 2010 09:51:52 +0200] rev 11341
check-code: fix check for any/all function
The old check would only detect any/all at the beginning of a line.
The regexp was probably just modeled after the preceding regexp which
(correctly) finds the 'with' keyword at the beginning of a line.
We now complain about 'any(' and 'all(' anywhere in a line, unless it
is preceded by 'def'. This allows us to define our own compatibility
wrapper in util and use 'util.any(' in the code.
Renato Cunha <renatoc@gmail.com> [Mon, 14 Jun 2010 16:56:20 -0300] rev 11340
hgext/zeroconf/__init__.py: Separate relative and absolute imports.
2to3 complains when relative and absolute imports are mixed, this fix just
separates them on the zeroconf extension. According to 2to3, the other modules
are fine.
Matt Mackall <mpm@selenic.com> [Fri, 11 Jun 2010 15:30:12 -0500] rev 11339
revset: improve filter argument handling
Martin Geisler <mg@aragost.com> [Fri, 11 Jun 2010 18:54:10 +0200] rev 11338
commands: format is a Python2.6 function
Peter Arrenbrecht <peter.arrenbrecht@gmail.com> [Thu, 10 Jun 2010 11:49:48 +0200] rev 11337
debugbuilddag: build a changelog dag from a concise description
Useful in tests to quickly build a complex DAG in an empty repo.
Handles local tags and named branches.
Options to, at each rev,
- create a new file,
- overwrite the same file,
- append to the same file,
- write to a specific line in a mergeable file.
Can run shell commands during DAG buildup.
Peter Arrenbrecht <peter.arrenbrecht@gmail.com> [Thu, 10 Jun 2010 11:48:45 +0200] rev 11336
debugdag and debugindexdag: emit changelog/revlog DAGs as concise text
Mainly useful for reusing DAGs somewhere else, for example for attaching
them to a bug report, or for importing them into other environments
(like my test environment for incoming/outgoing discovery).
Peter Arrenbrecht <peter.arrenbrecht@gmail.com> [Thu, 10 Jun 2010 11:48:15 +0200] rev 11335
dagparser: parses and formats DAGs as concise text
As discussed during the sprint. See the doc comment and doctests
for specification and examples. This is used in subsequent patches
to export revlog and changelog DAGs, and to generate a repo with
a given changelog DAG.
Matt Mackall <mpm@selenic.com> [Thu, 10 Jun 2010 15:30:15 -0500] rev 11334
tests: fix up webraw encoding
Matt Mackall <mpm@selenic.com> [Thu, 10 Jun 2010 15:23:31 -0500] rev 11333
strip: backup bundles should use the .hg extension
Julian Cowley <julian@lava.net> [Wed, 09 Jun 2010 12:41:44 -1000] rev 11332
hgweb: specify a charset when sending raw text files
Gets the charset from encoding.encoding parameter.
Matt Mackall <mpm@selenic.com> [Wed, 09 Jun 2010 16:39:25 -0500] rev 11331
summary: report copies and renames
Chad Dombrova <chadrik@gmail.com> [Thu, 10 Jun 2010 09:32:19 -0700] rev 11330
provide pre- and post- hooks with parsed command line arguments.
python hooks are passed two new keyword arguments:
- opts: a dict of options; unsepcified options are set to their default
- pats: a list of arguments
shell hooks receive two new variables containing string representations
of the above data:
- $HG_OPTS
- $HG_PATS
for example, the opts and pats for 'hg -f v1.1' would be:
{'force': True, 'message': '', 'rev': '', 'user': '', 'date': '', 'local': None, 'remove': None, 'mq': None}
['v1.1']
Matt Mackall <mpm@selenic.com> [Wed, 09 Jun 2010 16:25:28 -0500] rev 11329
tests: fix some branch head fallout
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Mon, 07 Jun 2010 15:34:48 +0200] rev 11328
pager: set ui.formatted() prior to redirecting stdout.
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Mon, 07 Jun 2010 15:33:03 +0200] rev 11327
mq: use ui.formatted() instead of ui.plain().
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Mon, 07 Jun 2010 15:28:54 +0200] rev 11326
color: use ui.formatted().