David Soria Parra <dsp@php.net> [Thu, 24 Feb 2011 14:38:50 +0100] rev 13478
bookmarks: restrict moving a bookmark to its descendants (
issue1502)
A bookmark can only move to a descendant on commit, pull or
unbundle. Bookmarks cannot jump between heads anymore. This fixese
issue 1502.
We explicitly use new.node(), to emphasise that we are updating the
current bookmark to the new node.
Kevin Bullock <kbullock@ringworld.org> [Fri, 18 Feb 2011 17:09:08 -0600] rev 13477
id: add bookmarks to id
Since bookmarks are no longer merged with repo.tags() as of
d012d95499f7, they don't show up in `hg id` as they used to. This adds
them back into the summary that `hg id` prints, and adds a
-B/--bookmarks flag alongside the -t/--tags and -b/--branch options.
Note this introduces a slight backwards-incompatibility: the summary
printed by `hg id` now separates bookmarks from tags with a space, as
seen below, instead of running it into the tags list.
Default summary output:
$ hg id
db815d6d32e6 tip/tag1 bm1/bm2
Output with --bookmarks:
$ hg id --bookmarks
bm1 bm2
See also
afc84a879ac8 which adds bookmarks back into `hg summary`.
Kevin Bullock <kbullock@ringworld.org> [Wed, 23 Feb 2011 20:47:00 -0600] rev 13476
workingctx: overload bookmarks() to return parents' bookmarks
This implements workingctx.bookmarks() parallel to workingctx.tags(),
overloading the implementation from changectx.
Martin Geisler <mg@aragost.com> [Fri, 25 Feb 2011 12:32:15 +0100] rev 13475
eol: handle LockUnavailable error (
issue2569)
If the repository is not locked when clearing the dirstate, then
running test-eol.t in a loop fails sooner or later with:
ERROR: /home/mg/src/mercurial-crew/tests/test-eol.t output changed
--- /home/mg/src/mercurial-crew/tests/test-eol.t
+++ /home/mg/src/mercurial-crew/tests/test-eol.t.err
@@ -343,6 +343,7 @@
% hg status (eol activated)
M win.txt
% hg commit
+ nothing changed
% hg status
$ testmixed CRLF
However, if we cannot lock the repository, then we can also not make a
commit and so we can simply ignore a LockUnavailable error.
David Soria Parra <dsp@php.net> [Thu, 24 Feb 2011 19:15:00 +0100] rev 13474
tests: check if the bookmarks extension is ignored
Jonathan Nieder <jrnieder@gmail.com> [Fri, 11 Feb 2011 21:17:27 -0600] rev 13473
backout: clarify which changesets are new in help text
Plus another wording tweak ("default behavior -> "behavior without
--merge").
Suggested by Kevin Bullock.
Martin Geisler <mg@aragost.com> [Fri, 25 Feb 2011 11:39:19 +0100] rev 13472
commands: update year to 2011 in version string
Martin Geisler <mg@aragost.com> [Fri, 25 Feb 2011 10:52:37 +0100] rev 13471
eol: clarify where the .hgeol file is located
Martin Geisler <mg@aragost.com> [Thu, 24 Feb 2011 15:35:22 +0100] rev 13470
commands: mark strings for translation
David Soria Parra <dsp@php.net> [Thu, 24 Feb 2011 03:13:48 +0100] rev 13469
tests: remove bookmark extension configuration
Matt Mackall <mpm@selenic.com> [Wed, 23 Feb 2011 17:27:05 -0600] rev 13468
context: generate file ancestors in reverse revision order (
issue2642)
The related() function in copies assumes that revisions are generated
in reverse revision order, so it was getting confused in some situations.
Waqas Hussain <waqas20@gmail.com> [Wed, 23 Feb 2011 13:21:55 +0500] rev 13467
export: only close files which export itself has opened
Eric Eisner <ede@mit.edu> [Wed, 23 Feb 2011 10:59:36 -0500] rev 13466
subrepo: only attempt pulling from git's origin
git fetch does not accept repository URLs as arguments, and the intended
logic of this code was not actually doing anything.
Eric Eisner <ede@mit.edu> [Wed, 23 Feb 2011 10:17:44 -0500] rev 13465
subrepo: disallow all unknown git ref types
Adrian Buehlmann <adrian@cadifra.com> [Wed, 23 Feb 2011 11:42:41 +0100] rev 13464
sshrepo: catch passwords in ssh urls
see also
e4b02eb825b1
David Soria Parra <dsp@php.net> [Wed, 23 Feb 2011 00:25:18 +0100] rev 13463
hgk: display bookmark in commit diff window
David Soria Parra <dsp@php.net> [Wed, 23 Feb 2011 00:25:01 +0100] rev 13462
hgk: display bookmarks as gray labels in the commitline
David Soria Parra <dsp@php.net> [Wed, 23 Feb 2011 00:24:21 +0100] rev 13461
hgk: read bookmarks
Eric Eisner <ede@mit.edu> [Tue, 22 Feb 2011 15:11:10 -0500] rev 13460
subrepo: expand relative sources for git subrepos
Jim Hague <jim.hague@acm.org> [Tue, 22 Feb 2011 16:31:01 +0100] rev 13459
changegroup: fix typo introduced in
9f2c407caf34
Mads Kiilerich <mads@kiilerich.com> [Tue, 22 Feb 2011 03:10:37 +0100] rev 13458
changegroup: don't accept odd chunk headers
Mads Kiilerich <mads@kiilerich.com> [Tue, 22 Feb 2011 03:03:39 +0100] rev 13457
changegroup: verify all stream reads
Mercurial often failed with struct.error or mpatch.mpatchError if incomplete
data was received from a server.
Now we validate all changegroup reads and aborts with
abort: stream ended unexpectedly (got %d bytes, expected %d)
if less than requested was read.
Mads Kiilerich <mads@kiilerich.com> [Tue, 22 Feb 2011 03:02:50 +0100] rev 13456
changegroup: don't accept streams without proper termination
Streams should be terminated with a zero size changegroup, and read should
never be permitted to return less than requested.
Wagner Bruna <wbruna@softwareexpress.com.br> [Mon, 21 Feb 2011 20:58:54 -0300] rev 13455
rollback, i18n: avoid parameterized message
David Soria Parra <dsp@php.net> [Mon, 21 Feb 2011 23:27:45 +0100] rev 13454
summary: add bookmarks to summary
David Soria Parra <dsp@php.net> [Mon, 21 Feb 2011 22:22:12 +0100] rev 13453
bookmarks: issue a warning if remote doesn't support comparing bookmarks
We want to issue a warning and abort comparing bookmarks if remote doesn't
support it. Otherwise hg out -B will list you outgoing bookmarks that cannot
be pushed to the remote repository using hg push -B.
Matt Mackall <mpm@selenic.com> [Mon, 21 Feb 2011 11:24:23 -0600] rev 13452
merge with i18n
Wagner Bruna <wbruna@softwareexpress.com.br> [Wed, 16 Feb 2011 22:42:03 -0200] rev 13451
i18n-pt_BR: synchronized with
ed720c7cc97d
David Soria Parra <dsp@php.net> [Mon, 21 Feb 2011 00:37:55 +0100] rev 13450
wireproto: catch possible cast error in pushkey
The server can return an unexpected answer like 'ssl required'. We catch those
possible cast errors and abort the operation.
Gilles Moris <gilles.moris@free.fr> [Sun, 20 Feb 2011 18:06:05 +0100] rev 13449
test-push-http: use killdaemons.py instead of kill to avoid test unreliability
David Soria Parra <dsp@php.net> [Sun, 20 Feb 2011 00:57:55 +0100] rev 13448
bookmarks: mark new bookmark as current if it points to the current dirstate
hg bookmark -r ancestorrev X will not mark X as the current bookmark anymore.
If you want to point a bookmark to a ancestor rev you will use hg update to
move to it. This will set the current bookmark.
Adrian Buehlmann <adrian@cadifra.com> [Fri, 18 Feb 2011 20:25:25 +0100] rev 13447
introduce new RequirementError (
issue2649)
This improves the misleading error message
$ hg identify
abort: there is no Mercurial repository here (.hg not found)!
to the more explicit
$ hg identify
abort: requirement 'fake' not supported!
for all commands in commands.optionalrepo, which includes the identify
and serve commands in particular.
This is for the case when a new entry in .hg/requires will be defined
in a future Mercurial release.
Gilles Moris <gilles.moris@free.fr> [Thu, 10 Feb 2011 09:03:06 +0100] rev 13446
rollback: clarifies the message about the reverted state (
issue2628)
Previously, when rolling back a transaction, some users could be confused
between the level to which the store is rolled back, and the new parents
of the working directory.
$ hg rollback
rolling back to revision 4 (undo commit)
With this change:
$ hg rollback
repository tip rolled back to tip revision 4 (undo commit)
working directory now based on revision 2 and 1
So now the user can realize that the store has been rolled back to an older
tip, but also that the working directory may not on the tip (here we are
rolling back the merge of the heads 2 and 1)
Mads Kiilerich <mads@kiilerich.com> [Mon, 21 Feb 2011 00:57:19 +0100] rev 13445
hgweb: handle invalid requests with both form data and querystring
Invalid requests could give an unhandled ErrorResponse.
Now this ErrorResponse is handled like other ErrorResponses so the client gets
an error message which also is logged on the server.
Mads Kiilerich <mads@kiilerich.com> [Mon, 21 Feb 2011 00:52:26 +0100] rev 13444
hgweb: give ErrorResponse a descriptive string/Exception representation
Very handy if the exception should appear in output.
Mads Kiilerich <mads@kiilerich.com> [Mon, 21 Feb 2011 00:52:23 +0100] rev 13443
serve: catch and log all Exceptions, not only StandardException
Other exceptions than StandardExceptions were left to the default error handler
which was muted when running in daemon mode.
Now all Exceptions are handled and logged to the log file.
Martin Geisler <mg@lazybytes.net> [Sun, 20 Feb 2011 13:35:30 +0100] rev 13442
test-i18n: make test conditional on msgfmt availability
Steve Borho <steve@borho.org> [Fri, 18 Feb 2011 10:28:20 -0600] rev 13441
match: fix subtle error in _buildmatch
The trailing comma was causing a ValueError. See
https://bitbucket.org/tortoisehg/thg/issue/132
Mads Kiilerich <mads@kiilerich.com> [Fri, 18 Feb 2011 23:41:13 +0100] rev 13440
statichttprepo: don't modify localrepo class variables
This happened to crash in subrepo setups when the base class variable was
modified twice.
Now we don't modify the class variable but an instance copy.
Mads Kiilerich <mads@kiilerich.com> [Fri, 18 Feb 2011 03:35:01 +0100] rev 13439
util: flush stdout before calling external processes
stdout could have content in its buffer while a subprocess ran and emitted
output.
Flushing stdout ensures that output now comes in the right order.
Mads Kiilerich <mads@kiilerich.com> [Fri, 18 Feb 2011 03:34:47 +0100] rev 13438
tests: update test-https.t output
I must have lost the insecure cert warning in a last minute patch series
cleanup of
08f9c587141f.
Oleg Stepanov <oleg.stepanov@jetbrains.com> [Wed, 16 Feb 2011 08:56:11 -0800] rev 13437
Do not allow merging with uncommitted changes in a subrepo
Wagner Bruna <wbruna@softwareexpress.com.br> [Thu, 17 Feb 2011 18:05:27 -0200] rev 13436
hgwebdir: reduce memory usage for index generation
The archive list generator was holding a reference to each
temporary ui copy passed by rawentries(), so the memory
usage for index generation growed proportionally to the
ui object size and the amount of repositories. By returning a
list instead, the temporary reference is dropped immediately.
Wagner Bruna <wbruna@softwareexpress.com.br> [Thu, 17 Feb 2011 13:37:52 -0200] rev 13435
pure: fix index parsing on empty repositories
Steve Losh <steve@stevelosh.com> [Thu, 17 Feb 2011 17:15:32 -0500] rev 13434
alias: add test cases for $ escaping in shell aliases
Augie Fackler <durin42@gmail.com> [Wed, 16 Feb 2011 17:36:31 -0600] rev 13433
bookmarks: verify switching bookmarks works properly
Martin Geisler <mg@aragost.com> [Thu, 17 Feb 2011 09:20:44 +0100] rev 13432
subrepo: break long line found by check-code
Martin Geisler <mg@aragost.com> [Thu, 17 Feb 2011 09:19:15 +0100] rev 13431
test-convert: update output to match
0079fb98e8d0