Mads Kiilerich <mads@kiilerich.com> [Fri, 27 Jan 2012 03:00:32 +0100] rev 16014
tests: don't rely on 'false' exit code in test-run-tests.t
On Solaris:
$ sh -c 'false ; echo $?'
255
Mads Kiilerich <mads@kiilerich.com> [Fri, 27 Jan 2012 03:00:03 +0100] rev 16013
tests: don't use alias
alias doesn't work in Solaris sh.
Mads Kiilerich <mads@kiilerich.com> [Fri, 27 Jan 2012 02:59:59 +0100] rev 16012
tests: don't include plain 'diff -U0' content in test-diff-unified.t
The only purpose of 'diff -U0' was to show that 'hg diff -U0' did almost the same.
Unfortunately 'diff -U0' on Solaris gives incorrect line numbers. Masking it
with globs wouldn't it make sense, so removing it is the best solution.
Matt Mackall <mpm@selenic.com> [Fri, 27 Jan 2012 18:43:41 -0600] rev 16011
help: add examples to phases topic
Kevin Bullock <kbullock@ringworld.org> [Fri, 27 Jan 2012 13:12:56 -0600] rev 16010
update: note updated bookmark
This brings update in line with pull: we notify the user when an action
indirectly updates a bookmark.
Augie Fackler <durin42@gmail.com> [Fri, 27 Jan 2012 14:19:32 -0600] rev 16009
resolve: mention merge-tools topic in help
FUJIWARA Katsunori <foozy@lares.dti.ne.jp> [Fri, 27 Jan 2012 22:29:58 +0900] rev 16008
revset: add tests for 'remote()' predicate
FUJIWARA Katsunori <foozy@lares.dti.ne.jp> [Fri, 27 Jan 2012 22:29:58 +0900] rev 16007
revset: fix documentation for 'remote()' predicate
current documentation for 'remote()' predicate is wrong about
specification of parameters.
there are 3 patterns:
# of
param: id: remote:
- 0 current branch "defult" remote
- 1 specified "defult" remote
- 2 specified specified
FUJIWARA Katsunori <foozy@lares.dti.ne.jp> [Fri, 27 Jan 2012 22:29:58 +0900] rev 16006
revset: fix 'remote()' failure when remote repo has more revs than local
current 'remote()' implementation uses 'r' variable, even if it is not
initialized when 'if n in repo' is not true.
this causes unexpected exception.
Wagner Bruna <wbruna@softwareexpress.com.br> [Fri, 27 Jan 2012 12:52:13 -0200] rev 16005
help/config: fix help command markup
Matt Mackall <mpm@selenic.com> [Fri, 27 Jan 2012 18:43:31 -0600] rev 16004
merge with i18n
Alexander Sauta <demosito@gmail.com> [Fri, 27 Jan 2012 12:25:02 +0400] rev 16003
i18n-ru: synchronized with bf502ccc46d7; fuzzies removed
Nikolaj Sjujskij <sterkrig@myopera.com> [Thu, 26 Jan 2012 16:56:11 +0400] rev 16002
i18n-ru: fix typos in `resolve` help
* help entry is called 'merge-tools', not 'merge-tool';
* envvar is called HGMERGE, not HGEMERGT.
Matt Mackall <mpm@selenic.com> [Thu, 26 Jan 2012 20:34:57 -0600] rev 16001
merge: defer symlink flag merging to filemerge (issue3200)
Previously, we could change a normal file into a corrupt symlink when
trying to merge a symlink flag. Now, we leave the flag alone and let
filemerge deal with it (usually by a prompt).
We also drop a redundant flag setting after filemerge (now dealt with
by ms.resolve) that would cause similar corruption.
Matt Mackall <mpm@selenic.com> [Thu, 26 Jan 2012 17:54:52 -0600] rev 16000
help: fix publish option spelling in phases topic
Matt Mackall <mpm@selenic.com> [Thu, 26 Jan 2012 17:54:22 -0600] rev 15999
help: add missing phase config items to config topic
Wagner Bruna <wbruna@softwareexpress.com.br> [Thu, 26 Jan 2012 17:23:43 -0200] rev 15998
help/phases: remove trailing whitespace
Matt Mackall <mpm@selenic.com> [Thu, 26 Jan 2012 11:23:15 -0600] rev 15997
sslutil: more helpful fingerprint mismatch message
This will aid debugging for users of sites that renew certs.
Matt Mackall <mpm@selenic.com> [Thu, 26 Jan 2012 11:23:14 -0600] rev 15996
help: add phases topic
Wagner Bruna <wbruna@softwareexpress.com.br> [Thu, 26 Jan 2012 12:09:14 -0200] rev 15995
i18n-pt_BR: synchronized with 0b05e0bfdc1c
Matt Mackall <mpm@selenic.com> [Wed, 25 Jan 2012 17:14:10 -0600] rev 15994
copies: remove stray print
Matt Mackall <mpm@selenic.com> [Wed, 25 Jan 2012 17:14:08 -0600] rev 15993
scmutil: unify some 'no changes found' messages
This keeps the wording more consistent for secret csets
Alain Leufroy <alain.leufroyATgmailMYDOTcom> [Wed, 25 Jan 2012 19:41:34 +0100] rev 15992
outgoing: display info about secret changets while no sharable changeset found
Alain Leufroy <alain.leufroyATgmailMYDOTcom> [Wed, 25 Jan 2012 19:05:16 +0100] rev 15991
bundle: display info about secret changets while no sharable changeset found
Augie Fackler <durin42@gmail.com> [Mon, 23 Jan 2012 12:26:01 -0600] rev 15990
test-rebase-collapse: Add test for rebase regression introduced in 12309c09d19a
Idan Kamara <idankk86@gmail.com> [Thu, 26 Jan 2012 00:21:55 +0200] rev 15989
test-commandserver: test that phase data is being refreshed
Idan Kamara <idankk86@gmail.com> [Thu, 26 Jan 2012 00:21:54 +0200] rev 15988
localrepo: delete _phaserev when invalidating caches
Idan Kamara <idankk86@gmail.com> [Thu, 26 Jan 2012 00:21:53 +0200] rev 15987
localrepo: fix phaseroots filecache definition
it's in .hg/store
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 24 Jan 2012 19:49:30 +0100] rev 15986
discovery: fix regression when checking heads for pre 1.4 client (issue3218)
This code is not run by the test suite and silly name error were lurking here.
Jens Bäckman <jens.backman@gmail.com> [Wed, 25 Jan 2012 14:06:04 -0600] rev 15985
help: mark strings for translation
David Soria Parra <dsp@php.net> [Wed, 25 Jan 2012 20:03:46 +0100] rev 15984
bookmarks: respect --debug during incoming/outgoing
Na'Tosha Bard <natosha@unity3d.com> [Wed, 25 Jan 2012 16:52:16 +0100] rev 15983
largefiles: fix revert on missing largefile (issue3217)
Na'Tosha Bard <natosha@unity3d.com> [Wed, 25 Jan 2012 14:10:01 +0100] rev 15982
largefiles: fix transplant for all cases (issue3192)
Andrei Polushin <polushin@gmail.com> [Wed, 25 Jan 2012 03:01:19 +0700] rev 15981
i18n-ru: synchronized with 9f2ed48f8cda
Jens Bäckman <jens.backman@gmail.com> [Wed, 25 Jan 2012 10:13:06 +0100] rev 15980
i18n-sv: translated phase
Jens Bäckman <jens.backman@gmail.com> [Wed, 25 Jan 2012 09:33:48 +0100] rev 15979
i18n-sv: translating strings for add, annotate, debuginstall
Jens Bäckman <jens.backman@gmail.com> [Wed, 25 Jan 2012 08:48:52 +0100] rev 15978
i18n-sv: synchronized with c2e6c5ef4555
Matt Mackall <mpm@selenic.com> [Tue, 24 Jan 2012 17:17:37 -0600] rev 15977
merge with i18n
Matt Mackall <mpm@selenic.com> [Tue, 24 Jan 2012 17:16:29 -0600] rev 15976
copies: eliminate criss-crosses when chaining
Before the copies refactoring, we declared that if a and b were
present in source and destination, we ignored copies between them. The
refactored code could however report b was a copy of a and vice versa
in a situation where we looked for differences between two identical
changesets that copy a to b.
y
/
x
\
y'
Wagner Bruna <wbruna@softwareexpress.com.br> [Mon, 23 Jan 2012 16:12:32 -0200] rev 15975
i18n-pt_BR: synchronized with f7c8d6ee6056
Wagner Bruna <wbruna@softwareexpress.com.br> [Mon, 23 Jan 2012 16:11:37 -0200] rev 15974
merge with i18n
Jens Bäckman <jens.backman@gmail.com> [Fri, 20 Jan 2012 11:11:36 +0100] rev 15973
i18n-sv: synchronized with 7ed056f1e97d
Augie Fackler <durin42@gmail.com> [Sat, 21 Jan 2012 21:39:27 -0600] rev 15972
mq: pass qbase node instead of mq statusentry in phasedefaults
This was breaking my remotebranches extension in a completely
mystifying way, because repo.lookup was failing to resolve the
statusentry. I'm not sure how this works absent my remotebranches
extension, but doing it this way looks more correct and doesn't break
anything.
Jesus Espino Garcia <jesus.espino@kaleidos.net> [Sat, 21 Jan 2012 23:50:58 +0100] rev 15971
patch: a little bit more robust line counting on diff --stat (issue3183)
Jesus Espino Garcia <jesus.espino@kaleidos.net> [Sat, 21 Jan 2012 13:31:41 +0100] rev 15970
convert: subversion convert abort on revision not found (issue 3205)
Jesus Espino Garcia <jesus.espino@kaleidos.net> [Sat, 21 Jan 2012 00:40:18 +0100] rev 15969
bash_completion: added -o filename option to _hg_status (issue3101)
Pierre-Yves David <pierre-yves.david@ens-lyon.org> [Sun, 22 Jan 2012 21:30:09 +0100] rev 15968
phase: alway return a value
With the previous code, the phase command was returning None when displaying
phase and 0 or 1 when moving them.
This seemed an bit odd and displaying phase return 0 too now.
Na'Tosha Bard <natosha@unity3d.com> [Mon, 23 Jan 2012 13:24:32 +0100] rev 15967
largefiles: fix addremove when no largefiles are specified
Matt Mackall <mpm@selenic.com> [Fri, 20 Jan 2012 23:52:31 -0600] rev 15966
revset: include the correct first ancestor change for follow(file)
Previously we always included '.', which may not touch a file.
Instead, find the file revision present in '.' and add its linkrev.
This matches the results of 'hg log --follow file'.
Matt Mackall <mpm@selenic.com> [Fri, 20 Jan 2012 23:10:13 -0600] rev 15965
revset: remove unreferenced followfile function
Matt Mackall <mpm@selenic.com> [Fri, 20 Jan 2012 23:05:04 -0600] rev 15964
revsets: provide contexts for filesets
Before this change, revsets containing fileset patterns failed. This
allows queries like:
hg log -r "contains('set: added() and symlink()')"
Matt Mackall <mpm@selenic.com> [Fri, 20 Jan 2012 22:19:40 -0600] rev 15963
fileset: don't attempt to check data predicates against removed files
Matt Mackall <mpm@selenic.com> [Fri, 20 Jan 2012 19:22:09 -0600] rev 15962
revset: simplify help not about quoting
Matt Mackall <mpm@selenic.com> [Fri, 20 Jan 2012 15:30:28 -0600] rev 15961
Added signature for changeset db33555eafea
Matt Mackall <mpm@selenic.com> [Fri, 20 Jan 2012 15:30:25 -0600] rev 15960
Added tag 2.1-rc for changeset db33555eafea
Matt Mackall <mpm@selenic.com> [Fri, 20 Jan 2012 15:25:39 -0600] rev 15959
bookmarks: correct correction of -i
Idan Kamara <idankk86@gmail.com> [Fri, 20 Jan 2012 23:05:14 +0200] rev 15958
commands: drop exclamation mark in abort message
Kevin Bullock <kbullock@ringworld.org> [Thu, 19 Jan 2012 16:10:26 -0600] rev 15957
update: note ways to avoid moving bookmark
Pierre-Yves David <pierre-yves.david@ens-lyon.org> [Fri, 20 Jan 2012 21:21:13 +0100] rev 15956
push: prevent moving phases outside of the pushed subset
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 20 Jan 2012 19:41:18 +0100] rev 15955
discovery: ensure that missingheads are always heads of everything we tried
This only alter the third block executed when:
* repo have secret changeset
* onlyheads is not None
In other case findcommonoutgoing already had this behavior
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 20 Jan 2012 19:23:53 +0100] rev 15954
phase: extracts heads computation logics from analyzeremotephases
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 20 Jan 2012 19:18:09 +0100] rev 15953
phase: fix warning text from invalid remote phase
add missing end of line and substitution.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 20 Jan 2012 18:45:29 +0100] rev 15952
mq-safety: don't apply safety on non-outgoing changeset
When mq changeset are secret, they don't appear in outgoing and won't be
pushed. So it's not necessary to abort the push.
The checkpush call is protected by lock to prevent race on phase.
Pierre-Yves David <pierre-yves.david@ens-lyon.org> [Fri, 20 Jan 2012 00:27:11 +0100] rev 15951
phases: properly register excluded changeset when revision are specified
There was no other drawback than a bad UI message for now.
Matt Mackall <mpm@selenic.com> [Fri, 20 Jan 2012 14:19:13 -0600] rev 15950
bookmarks: make -i summary simpler and more accurate
Matt Mackall <mpm@selenic.com> [Fri, 20 Jan 2012 14:18:51 -0600] rev 15949
revset: allow slashes in symbols
suggested by Ryan Kelly
Wagner Bruna <wbruna@softwareexpress.com.br> [Fri, 20 Jan 2012 13:19:32 -0200] rev 15948
phases: do not mark debug message for translation
Wagner Bruna <wbruna@softwareexpress.com.br> [Fri, 20 Jan 2012 13:10:01 -0200] rev 15947
templatekw: fix phase keywords
Wagner Bruna <wbruna@softwareexpress.com.br> [Fri, 20 Jan 2012 12:57:13 -0200] rev 15946
phases: fix typo in warning message
Wagner Bruna <wbruna@softwareexpress.com.br> [Fri, 20 Jan 2012 12:04:45 -0200] rev 15945
rebase: drop uppercase in abort message
Na'Tosha Bard <natosha@unity3d.com> [Fri, 02 Dec 2011 18:20:32 +0100] rev 15944
largefiles: add --normal option to hg add (issue3061)
Na'Tosha Bard <natosha@unity3d.com> [Fri, 20 Jan 2012 11:56:12 +0100] rev 15943
largefiles: fix caching largefiles from an aliased repo (issue3212)
Mads Kiilerich <mads@kiilerich.com> [Sat, 14 Jan 2012 01:56:27 +0100] rev 15942
run-tests: expand user in --with-hg
This makes it possible to run:
$ ./run-tests.py --with-hg=~/hg-bin/hg
Mads Kiilerich <mads@kiilerich.com> [Fri, 20 Jan 2012 01:24:16 +0100] rev 15941
tests: let run-tests.py default to use 'sh' in $PATH instead of '/bin/sh'
This makes it easier to run tests on systems that have a usable sh in the
search path but not in the standard location.
Mads Kiilerich <mads@kiilerich.com> [Sat, 14 Jan 2012 01:55:50 +0100] rev 15940
tests: add 'set -x' to the .t sh scripts in run-tests.py debug mode
This makes -d output much more readable when debugging the test framework or
very strange test failures.
Kevin Bullock <kbullock@ringworld.org> [Thu, 19 Jan 2012 16:05:01 -0600] rev 15939
bookmarks: clarify help for -i/--inactive
Wagner Bruna <wbruna@softwareexpress.com.br> [Fri, 20 Jan 2012 13:19:39 -0200] rev 15938
revset: fix typo in message
Matt Mackall <mpm@selenic.com> [Thu, 19 Jan 2012 14:34:32 -0600] rev 15937
merge default into stable for 2.1 code freeze
Matt Mackall <mpm@selenic.com> [Thu, 19 Jan 2012 14:31:05 -0600] rev 15936
revset: add remote() predicate to lookup remote revisions
Matt Mackall <mpm@selenic.com> [Thu, 19 Jan 2012 14:07:48 -0600] rev 15935
bookmarks: automatically advance bookmark on naked update (BC) (issue2894)
Matt Mackall <mpm@selenic.com> [Thu, 19 Jan 2012 11:35:06 -0600] rev 15934
qimport: back out 2eec74d7ce95
This patch presumed mq csets must always be secret, which isn't yet
established.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 19 Jan 2012 16:09:43 +0100] rev 15933
phases: only synchronize on common changeset when push fails
If push failed we should not expect the pushed changeset to exist on remote.
The common set before the push is used for phase related operation instead of
common + missing.
Note:
* We still pull phase data even if push fails
* We still try to push data even if push fails (same than bookmark)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 19 Jan 2012 15:50:55 +0100] rev 15932
discovery: diet discovery.prepush from non-discovery code
The ``discovery.prepush`` function was doing multiple things not related to
discovery. This changeset move some code into the ``localrepo.push`` method. The
old ``discovery.prepush`` function jobs is now restricted to checking for
multple head creation. It was then renamed ``discovery.checkheads``.
This new ``discovery.checkheads`` function may receive several other changes in
the future but we are a bit too much near the freeze for a wider refactoring.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 19 Jan 2012 11:30:37 +0100] rev 15931
qfinish: set all qfinished patch as draft, not only qbase
Fix a silly bug.
Patrick Mezard <pmezard@gmail.com> [Thu, 19 Jan 2012 10:07:13 +0100] rev 15930
largefiles: test and simplify empty directory removal in remove
Mads Kiilerich <mads@kiilerich.com> [Thu, 19 Jan 2012 02:14:06 +0100] rev 15929
tag: invalidate tag cache immediately after adding new tag (issue3210)
New tags were written to .hgtags / .hglocaltags without updating or
invalidating the localrepo cache.
Before afd459933d5f a lock was acquired soon after the new tags had been
written, and that invalidated the cache so the new tags for example could be
seen in pretxncommit hooks. With afd459933d5f the lock had already been
acquired at this point and the missing cache invalidation was exposed.
The tag caches will now explicitly and immediately be invalidated when new tags
are added.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 18 Jan 2012 17:18:38 +0100] rev 15928
mq: ensure mq changesets are set to secret when no phase data are found
Pierre-Yves David <pierre-yves.david@ens-lyon.org> [Tue, 17 Jan 2012 02:26:00 +0100] rev 15927
mq: qimporting revision set them to secret
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 18 Jan 2012 16:53:49 +0100] rev 15926
mq: have mq create secret changeset only
Matt Mackall <mpm@selenic.com> [Wed, 18 Jan 2012 20:00:48 -0600] rev 15925
wireproto: refuse to lookup secret csets
Matt Mackall <mpm@selenic.com> [Wed, 18 Jan 2012 19:16:01 -0600] rev 15924
qclone: ignore local qbase if secret
Matt Mackall <mpm@selenic.com> [Wed, 18 Jan 2012 18:14:55 -0600] rev 15923
rebase: only advance phase on successful commit
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 18 Jan 2012 17:23:54 +0100] rev 15922
phases: mechanism to allow extension to alter initial computation of phase
This commit add a whennodata list where extension can register a callback to be
called if no phase related data are found in the repository.
The goal is to ensure the existing extension that move phase data in 2.1 can
compute consistent phase boundary for existing repo.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 18 Jan 2012 17:11:27 +0100] rev 15921
qclone: add a few comment and blank line
This help readability.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 18 Jan 2012 17:06:59 +0100] rev 15920
mq: turn changeset draft on qfinish (except if qparent is secret)
As mq automatically sets changesets as secret, it should make them draft when he
is done with it. We do not move them automatically to draft when we detect that
something else have also set them as secret through their parents.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 18 Jan 2012 16:52:26 +0100] rev 15919
config: have a way to backup and restore value in config
This is introduce to allow temporary overwriting of a config value while being
able to reinstall the old value once done. The main advantage over using
``config`` and ``setconfig`` is that backup and restore will properly restore
the lack of any config. Restoring the fact that there was no value is important
to allow config user to keep using meaniful default value.
A more naive approach will result in the following scenario::
Before:
config(section, item, my_default) --> my_default
temporal overwrite
old = config(section, item)
…
setconfig(section, item, old)
After
config(section, item, my_default) --> None
The first user of this feature should be mq to overwriting minimal phase of
future commit.