Martin Geisler <mg@lazybytes.net> [Fri, 03 Sep 2010 12:58:51 +0200] rev 12164
cmdutil: use repo.auditor when constructing match object
This gives the repository control over which nested repository paths
that should be allowed via the custom path auditor.
Since paths into subrepositories are now allowed, dirstate.walk must
now filter away more paths than before.
Martin Geisler <mg@lazybytes.net> [Fri, 03 Sep 2010 12:58:51 +0200] rev 12163
match: accept auditor argument
This is used when normalizing filenames and patterns.
Martin Geisler <mg@lazybytes.net> [Fri, 03 Sep 2010 12:58:51 +0200] rev 12162
localrepo: add auditor attribute which knows about subrepos
Martin Geisler <mg@lazybytes.net> [Thu, 02 Sep 2010 23:45:47 +0200] rev 12161
tests: remove unneeded -u flags
Martin Geisler <mg@lazybytes.net> [Thu, 02 Sep 2010 23:36:43 +0200] rev 12160
merge with stable
Adrian Buehlmann <adrian@cadifra.com> [Thu, 02 Sep 2010 18:12:07 +0200] rev 12159
tests: unify test-empty-file
Adrian Buehlmann <adrian@cadifra.com> [Thu, 02 Sep 2010 17:32:22 +0200] rev 12158
tests: unify test-empty-dir
Adrian Buehlmann <adrian@cadifra.com> [Thu, 02 Sep 2010 17:13:23 +0200] rev 12157
tests: unify test-dispatch
Martin Geisler <mg@lazybytes.net> [Thu, 02 Sep 2010 23:22:51 +0200] rev 12156
tests: remove unneeded -d flags
Many tests fixed the commit date of their changesets at '1000000 0' or
similar. However testing with "Mon Jan 12 13:46:40 1970 +0000" is not
better than testing with "Thu Jan 01 00:00:00 1970 +0000", which is
the default run-tests.py installs.
Removing the unnecessary flag removes some clutter and will hopefully
make it clearer what the tests are really trying to test. Some tests
did not even change their output when the dates were changed, in which
case the -d flag was truly irrelevant.
Dates used in sequence (such as '0 0', '1 0', etc...) were left alone
since they may make the test easier to understand.
Martin Geisler <mg@lazybytes.net> [Thu, 02 Sep 2010 22:17:22 +0200] rev 12155
test-merge5: removed unnecessary parts of test
- no need to initialize a new directory
- no need to fix the commit time, already done by run-tests
- no need to exit 0, use exit code from hg instead
- better spacing around comments
Brodie Rao <brodie@bitheap.org> [Thu, 02 Sep 2010 12:48:46 -0400] rev 12154
test-merge5: ensure updating to tip across branches is tested
When doing "hg update" across branches (without any revision
specified), hg will abort and ask the user to merge or do hg update
-c. This tests for that error.
Mads Kiilerich <mads@kiilerich.com> [Thu, 02 Sep 2010 22:38:12 +0200] rev 12153
test-convert-cvs: add a sleep to make test more stable
The recent addition of fuzzy tests introduced a new cvs commit which sometimes
fails.
This adds a sleep to make sure that cvs notices that the file has changed,
similar to how it is done in other tests.
Martin Geisler <mg@lazybytes.net> [Thu, 02 Sep 2010 17:28:20 +0200] rev 12152
merge with stable
Adrian Buehlmann <adrian@cadifra.com> [Thu, 02 Sep 2010 14:45:16 +0200] rev 12151
tests: unify test-diff-binary-file
Adrian Buehlmann <adrian@cadifra.com> [Thu, 02 Sep 2010 15:08:36 +0200] rev 12150
tests: unify test-diff-copy-depth
Adrian Buehlmann <adrian@cadifra.com> [Thu, 02 Sep 2010 15:39:55 +0200] rev 12149
tests: unify test-diff-upgrade
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Thu, 02 Sep 2010 14:58:47 +0200] rev 12148
tests: unify test-convert-hg-startrev.
Adrian Buehlmann <adrian@cadifra.com> [Thu, 02 Sep 2010 16:29:04 +0200] rev 12147
tests: unify test-diffstat
Martin Geisler <mg@lazybytes.net> [Thu, 02 Sep 2010 17:07:02 +0200] rev 12146
bookmarks: break long line found by check-code
Martin Geisler <mg@lazybytes.net> [Thu, 02 Sep 2010 12:53:28 +0200] rev 12145
help: make "hg help hgrc" an alias for "hg help config"
Martin Geisler <mg@lazybytes.net> [Thu, 02 Sep 2010 12:08:13 +0200] rev 12144
clone, patch, convert: use hex(nullid) instead of '0'*40
Adrian Buehlmann <adrian@cadifra.com> [Thu, 02 Sep 2010 11:20:23 +0200] rev 12143
tests: unify test-diff-newlines
Martin Geisler <mg@aragost.com> [Wed, 01 Sep 2010 15:23:21 +0200] rev 12142
merge with stable
Adrian Buehlmann <adrian@cadifra.com> [Tue, 31 Aug 2010 11:57:02 +0200] rev 12141
tests: unify test-diff-unified
Adrian Buehlmann <adrian@cadifra.com> [Tue, 31 Aug 2010 11:14:48 +0200] rev 12140
tests: unify test-diff-subdir
Adrian Buehlmann <adrian@cadifra.com> [Tue, 31 Aug 2010 10:21:24 +0200] rev 12139
tests: unify test-diff-reverse
Adrian Buehlmann <adrian@cadifra.com> [Mon, 30 Aug 2010 23:13:52 +0200] rev 12138
tests: unify test-diff-ignore-whitespace
Adrian Buehlmann <adrian@cadifra.com> [Mon, 30 Aug 2010 16:52:21 +0200] rev 12137
tests: unify test-diff-hashes
Adrian Buehlmann <adrian@cadifra.com> [Mon, 30 Aug 2010 14:38:15 +0200] rev 12136
tests: unify test-diff-change
Brodie Rao <brodie@bitheap.org> [Mon, 30 Aug 2010 11:16:21 -0400] rev 12135
test-serve: ensure KILLQUIETLY is only used once
49463314c24f introduced a feature to the hgserve() function that
suppresses errors from kill(1). It wrongly assumed that setting an
environment variable when calling a function would make it local to
the function. It ended up suppressing kill errors for every call
thereafter.
This patch sets KILLQUIETLY=N after use.
Martin Geisler <mg@aragost.com> [Mon, 30 Aug 2010 17:17:20 +0200] rev 12134
dagparser: translate and lowercase error messages
Martin Geisler <mg@aragost.com> [Mon, 30 Aug 2010 17:11:51 +0200] rev 12133
match: mark error messages for translation
Sune Foldager <sune.foldager@edlund.dk> [Wed, 01 Sep 2010 15:03:45 +0200] rev 12132
debugindex(dot): try to access filelogs through repo, if possible
If a repository is accesible, first treat the filename as a working copy file
and try to open its filelog. Fallback to opening the file directly as a
revlog, as before.
Sune Foldager <cryo@cyanite.org> [Wed, 01 Sep 2010 14:55:03 +0200] rev 12131
debugdata: try to access filelogs through repo, if possible
If a repository is accesible, first treat the filename as a working copy file
and try to open its filelog. Fallback to opening the file directly as a
revlog, as before.
Martin Geisler <mg@lazybytes.net> [Wed, 01 Sep 2010 12:28:34 +0200] rev 12130
merge with stable
Brodie Rao <brodie@bitheap.org> [Mon, 30 Aug 2010 20:27:25 -0400] rev 12129
remove: properly set return code when warnings are issued
This removes the warn() function in favor of issuing warnings directly
for each kind of file that Mercurial won't remove.
This also uses three separate translatable strings instead of using
string formatting to build the message. This should make it easier to
localize.
Martin Geisler <mg@lazybytes.net> [Wed, 01 Sep 2010 12:05:57 +0200] rev 12128
pull: lowercase error message
Martin Geisler <mg@lazybytes.net> [Tue, 31 Aug 2010 16:36:31 +0200] rev 12127
commit: sort subrepos before committing for stable test output
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 30 Aug 2010 19:05:13 +0900] rev 12126
tests: unify test-interhg
Nicolas Dumazet <nicdumz.commits@gmail.com> [Tue, 31 Aug 2010 15:47:13 +0900] rev 12125
test-custom-filter: heredoc is not required for single line operations
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 30 Aug 2010 18:57:48 +0900] rev 12124
tests: unify test-custom-filters
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 30 Aug 2010 18:55:00 +0900] rev 12123
tests: unify test-parse-date
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 30 Aug 2010 18:50:44 +0900] rev 12122
tests: unify test-purge
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 30 Aug 2010 18:47:02 +0900] rev 12121
tests: unify test-rebuildstate
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 30 Aug 2010 14:16:56 +0900] rev 12120
tests: unify test-up-local-change
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 30 Aug 2010 14:13:36 +0900] rev 12119
tests: unify test-impexp-branch
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 30 Aug 2010 14:10:31 +0900] rev 12118
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 30 Aug 2010 14:06:18 +0900] rev 12117
tests: unify test-resolve
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 30 Aug 2010 14:04:38 +0900] rev 12116
tests: unify test-requires
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 30 Aug 2010 14:01:57 +0900] rev 12115
tests: unify test-relink
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 30 Aug 2010 13:55:57 +0900] rev 12114
tests: merge the two test-rename-dir-merge* into one
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 30 Aug 2010 13:51:27 +0900] rev 12113
tests: unify test-rename-dir-merge2
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 30 Aug 2010 13:49:40 +0900] rev 12112
tests: unify test-rename-dir-merge
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 30 Aug 2010 13:46:57 +0900] rev 12111
tests: unify test-revert-unknown
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 30 Aug 2010 13:45:24 +0900] rev 12110
tests: unify test-revert-flags
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 30 Aug 2010 13:43:34 +0900] rev 12109
tests: remove useless sed in test-hgrc
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 30 Aug 2010 13:41:03 +0900] rev 12108
tests: mq-safety: use regular expression instead of sed
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 30 Aug 2010 13:37:12 +0900] rev 12107
tests: use regular expression instead of sed in test-subrepo-deep-nested-change
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 30 Aug 2010 13:32:37 +0900] rev 12106
tests: unify test-revert
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 30 Aug 2010 13:29:44 +0900] rev 12105
util: get rid of extra trailing whitespace in parsedate abort message
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 30 Aug 2010 13:23:32 +0900] rev 12104
tests: unify test-revset
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 30 Aug 2010 13:18:19 +0900] rev 12103
test-revset: remove trailing whitespaces
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 30 Aug 2010 13:15:30 +0900] rev 12102
test-keyword: use regular expressions instead of grepping
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 30 Aug 2010 13:11:32 +0900] rev 12101
tests: remove useless grep -v in test-mq.t
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 30 Aug 2010 13:08:18 +0900] rev 12100
tests: unify test-remove-new
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 30 Aug 2010 13:02:54 +0900] rev 12099
tests: unify test-remove
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 30 Aug 2010 12:58:43 +0900] rev 12098
tests: unify test-rename
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 30 Aug 2010 12:48:17 +0900] rev 12097
tests: unify test-strict
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 30 Aug 2010 12:46:19 +0900] rev 12096
tests: unify test-inherit-mode
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 30 Aug 2010 12:41:43 +0900] rev 12095
tests: unify test-churn
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 30 Aug 2010 12:02:31 +0900] rev 12094
tests: convert test-bisect
Brodie Rao <brodie@bitheap.org> [Fri, 27 Aug 2010 20:45:18 -0400] rev 12093
alias: on --debug, print expansion when it has invalid arguments
Brodie Rao <brodie@bitheap.org> [Fri, 27 Aug 2010 20:45:11 -0400] rev 12092
alias: print what command is being shadowed in debug message
Martin Geisler <mg@lazybytes.net> [Mon, 30 Aug 2010 22:52:00 +0200] rev 12091
merge with stable
Martin Geisler <mg@lazybytes.net> [Mon, 30 Aug 2010 22:47:38 +0200] rev 12090
mail: use standard section.entry format in error message
Augie Fackler <durin42@gmail.com> [Sat, 28 Aug 2010 21:57:36 -0500] rev 12089
color: accept usual boolean values as synonyms for always and never
Augie Fackler <durin42@gmail.com> [Mon, 30 Aug 2010 10:28:25 -0500] rev 12088
parsebool: accept always as true and never as false
Augie Fackler <durin42@gmail.com> [Sat, 28 Aug 2010 21:50:35 -0500] rev 12087
parsebool: create new function and use it for config parsing
Augie Fackler <durin42@gmail.com> [Sat, 28 Aug 2010 21:49:53 -0500] rev 12086
util: clean up trailing whitespace
Martin Geisler <mg@aragost.com> [Mon, 30 Aug 2010 14:38:24 +0200] rev 12085
Consistently import foo as foomod when foo to avoid shadowing
This is in the style of
5f091fc1bab7.
Martin Geisler <mg@aragost.com> [Mon, 30 Aug 2010 13:00:22 +0200] rev 12084
Merge with stable
Brodie Rao <brodie@bitheap.org> [Fri, 27 Aug 2010 22:36:35 -0400] rev 12083
help: refer to user configuration file more consistently
Currently, a number of commands and help topics mention the user hgrc
file in different ways. Among these are following:
1. .hgrc - "please specify your commit editor/username in your .hgrc
file", bookmarks, color, hgk, pager, hg help environment
2. $HOME/.hgrc - hg help paths, hgrc(5), hg(1)
3. ~/.hgrc - hgrc(5)
In addition to being inconsistent, none of these make sense on
Windows. This patch replaces the above with a more general term of
"[your] configuration file".
Adrian Buehlmann <adrian@cadifra.com> [Mon, 30 Aug 2010 11:39:43 +0200] rev 12082
tests: unify test-config-case
Pascal Quantin <pascal.quantin@gmail.com> [Sun, 29 Aug 2010 23:16:31 +0200] rev 12081
win32: add hgweb scripts to Inno Setup installer
Pascal Quantin <pascal.quantin@gmail.com> [Sun, 29 Aug 2010 22:57:24 +0200] rev 12080
win32: add Emacs scripts to Inno Setup installer
Martin Geisler <mg@lazybytes.net> [Sun, 29 Aug 2010 23:56:19 +0200] rev 12079
path_auditor: delegate checking of nested repos to a callback
Martin Geisler <mg@lazybytes.net> [Sun, 29 Aug 2010 23:56:19 +0200] rev 12078
util: use 'auditor' as consistent name for path auditors
Martin Geisler <mg@lazybytes.net> [Sun, 29 Aug 2010 23:56:19 +0200] rev 12077
util: add optional path auditor argument to canonpath
The canonpath function will default to creating its own path auditor,
but in some cases it will be useful to use a specialized auditor,
e.g., one that wont abort if a path lies within a subrepository.
Brodie Rao <brodie@bitheap.org> [Sat, 28 Aug 2010 12:31:07 -0400] rev 12076
mail/hgweb: support service names for ports (
issue2350)
This adds util.getport(port) which tries to parse port as an int, and
failing that, looks it up using socket.getservbyname(). Thus, the
following will work:
[smtp]
port = submission
[web]
port = http
This does not apply to ports in URLs used in clone, pull, etc.
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Fri, 27 Aug 2010 16:25:47 +0200] rev 12075
tests: unify test-qrecord
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Fri, 27 Aug 2010 16:25:47 +0200] rev 12074
tests: unify test-record
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Fri, 27 Aug 2010 16:25:47 +0200] rev 12073
tests: unify test-help
Adrian Buehlmann <adrian@cadifra.com> [Fri, 27 Aug 2010 00:27:40 +0200] rev 12072
tests: unify test-bheads
Adrian Buehlmann <adrian@cadifra.com> [Thu, 26 Aug 2010 12:41:00 +0200] rev 12071
tests: unify test-lock-badness
Martin Geisler <mg@lazybytes.net> [Sun, 29 Aug 2010 22:55:37 +0200] rev 12070
Merge with stable
Martin Geisler <mg@lazybytes.net> [Sun, 29 Aug 2010 22:46:00 +0200] rev 12069
churn: do not crash on malformed lines in alias file
Ronny Pfannschmidt <Ronny.Pfannschmidt@gmx.de> [Sun, 29 Aug 2010 10:54:22 +0200] rev 12068
churn: do not crash on empty lines in alias file
Martin Geisler <mg@lazybytes.net> [Sun, 29 Aug 2010 22:37:58 +0200] rev 12067
Lowercase error messages
Georg Brandl <georg@python.org> [Sat, 28 Aug 2010 23:57:39 +0200] rev 12066
localrepo: introduce method for explicit branch cache update
Currently, localrepo.branchtags() is called in two locations to update the
_branchcache dict, however branchtags() itself does not update anything, it
calls branchmap() to do so. This change introduces a new updatebranchcache()
method that is used by both branchmap() and the calls to update the cache.
Steve Borho <steve@borho.org> [Fri, 27 Aug 2010 22:24:47 -0500] rev 12065
color: handle more Windows console errors
If your application is being built as a non-console application,
stdout is not a valid handle and raises an exception:
pywintypes.error: (6, 'DuplicateHandle', 'The handle is invalid.')
Alternatively, non-console applications launched outside of a
console will return None from GetStdHandle instead of raising an
exception.
Christian Ebert <blacktrash@gmx.net> [Wed, 25 Aug 2010 23:26:18 +0100] rev 12064
patchbomb: remove unneeded line continuation
Brodie Rao <brodie@bitheap.org> [Fri, 27 Aug 2010 13:32:40 -0400] rev 12063
cleanup: remove unused variables
Brodie Rao <brodie@bitheap.org> [Fri, 27 Aug 2010 13:32:38 -0400] rev 12062
cleanup: remove unused imports
Martin Geisler <mg@lazybytes.net> [Fri, 27 Aug 2010 13:18:25 +0200] rev 12061
Merge with stable
Martin Geisler <mg@lazybytes.net> [Fri, 27 Aug 2010 13:03:57 +0200] rev 12060
subrepo: use [0-9] instead of [\d] in svn subrepo regex
The \d was used in a normal (not raw) string and was only passed
through to re.search because Python does not define that escape
character itself. Using 0-9 makes it clearer what is happening.
Patrick Mezard <pmezard@gmail.com> [Thu, 26 Aug 2010 23:38:13 +0200] rev 12059
webcommands: remove unncessary access to repo.changelog
changectx are good enough in these cases and their interface is more stable.
Patrick Mezard <pmezard@gmail.com> [Thu, 26 Aug 2010 23:38:13 +0200] rev 12058
archival: do not use repo.changelog directly
Patrick Mezard <pmezard@gmail.com> [Thu, 26 Aug 2010 23:38:13 +0200] rev 12057
repair: pass variable explicitely to nested function
Mads Kiilerich <mads@kiilerich.com> [Thu, 26 Aug 2010 23:11:03 +0200] rev 12056
mercurial.spec: specify file modes for install
Mads Kiilerich <mads@kiilerich.com> [Thu, 26 Aug 2010 22:51:48 +0200] rev 12055
simplemerge: remove hash-bang from non-executable script
Matt Mackall <mpm@selenic.com> [Thu, 26 Aug 2010 11:03:12 -0500] rev 12054
merge with stable
Matt Mackall <mpm@selenic.com> [Thu, 26 Aug 2010 11:00:46 -0500] rev 12053
Added signature for changeset
ff5cec76b1c5
Matt Mackall <mpm@selenic.com> [Thu, 26 Aug 2010 11:00:42 -0500] rev 12052
Added tag 1.6.3 for changeset
ff5cec76b1c5
Sol Jerome <sol.jerome@gmail.com> [Tue, 17 Aug 2010 17:38:19 -0500] rev 12051
util: avoid using hashlib on Python < 2.5 (
issue2278)
The following patch allows the use of python2.4 with a standalone
hashlib rather than assuming that python2.5 is in use when hashlib is
imported successfully.
Matt Mackall <mpm@selenic.com> [Mon, 16 Aug 2010 12:55:42 -0500] rev 12050
templates: add filenolink to raw style (
issue2332)
Martin Geisler <mg@aragost.com> [Fri, 13 Aug 2010 10:53:10 +0200] rev 12049
url: limit expansion to safe auth keys (Issue2328)
Mads Kiilerich pointed out that
7c9beccb0533 was too eager since the
prefix and password keys may contain $-signs. So this only add the
username to the list of keys that are expanded.
This also updates the documentation to match.
Martin Geisler <mg@aragost.com> [Fri, 13 Aug 2010 10:10:11 +0200] rev 12048
url: expand vars in all [auth] settings (
issue2328)
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 26 Aug 2010 17:55:07 +0200] rev 12047
merge with stable
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 26 Aug 2010 17:38:43 +0200] rev 12046
Fix merge-tools.checkconflicts
re.match only looks at the beginning of the merged file, and without
re.MULTILINE the file had to end with ">>>>>>> something".
Now conflict markers inside the file are found, too.
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 26 Aug 2010 17:38:43 +0200] rev 12045
Fix merge-tools.checkconflicts
re.match only looks at the beginning of the merged file, and without
re.MULTILINE the file had to end with ">>>>>>> something".
Now conflict markers inside the file are found, too.
Matt Mackall <mpm@selenic.com> [Wed, 25 Aug 2010 16:55:54 -0500] rev 12044
bundlerepo: remove duplication of bundle decompressors
Matt Mackall <mpm@selenic.com> [Wed, 25 Aug 2010 16:53:06 -0500] rev 12043
bundle: introduce bundle class
Matt Mackall <mpm@selenic.com> [Wed, 25 Aug 2010 15:33:06 -0500] rev 12042
bundle: unify/refactor unbundle/readbundle
Matt Mackall <mpm@selenic.com> [Wed, 25 Aug 2010 15:33:05 -0500] rev 12041
bundle: factor out decompressor
Matt Mackall <mpm@selenic.com> [Wed, 25 Aug 2010 15:20:25 -0500] rev 12040
merge with stable
Brodie Rao <brodie@bitheap.org> [Sat, 21 Aug 2010 22:48:14 -0400] rev 12039
alias: make shadowing behavior more consistent (
issue2054)
Currently, given an alias like the following:
[alias]
summary = summary --remote
The alias might be executed - or it might not - depending on the order
of the cmdtable dict.
This happens because cmdalias gets assigned back to the cmdtable like so:
cmdtable['summary'] = ...
Yet '^summary|sum' is still in the table, so which one cmdutil.findcmd()
chooses isn't deterministic.
This patch makes cmdalias assign back to '^summary|sum'. It uses the same
cmdtable key lookup that extensions.wrapcommand() does.
Yuya Nishihara <yuya@tcha.org> [Tue, 24 Aug 2010 23:30:51 +0900] rev 12038
hgweb: handle exception of misconfigured path on index page
If hgweb.config contains wrong path mapping, hgweb causes internal server
error on repository index page.
This patch changes makeindex() to ignore RepoError, because it looks to be
designed to suppress configuration error.
Matt Mackall <mpm@selenic.com> [Tue, 24 Aug 2010 13:13:35 -0500] rev 12037
statichttprepo: disable pushkey
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Fri, 13 Aug 2010 16:05:08 +0200] rev 12036
mq: extend support for the --mq argument to extension commands
This allows commands like `purge' to accept the --mq option.
Patrick Mezard <pmezard@gmail.com> [Sun, 22 Aug 2010 13:17:34 +0200] rev 12035
repository: drop unused rjoin() method
This method was introduced by
cfeeac24fc1e but grepping the history does not
reveal any call. Extensions may use it but the method intent is not even clear
to me.
Adrian Buehlmann <adrian@cadifra.com> [Tue, 24 Aug 2010 15:13:11 +0200] rev 12034
tests: unify test-export
Martin Geisler <mg@lazybytes.net> [Wed, 25 Aug 2010 16:40:49 +0200] rev 12033
revert: wrap long line
Martin Geisler <mg@lazybytes.net> [Wed, 25 Aug 2010 16:23:32 +0200] rev 12032
util: remove lexists, Python 2.4 introduced os.path.lexists
Martin Geisler <mg@lazybytes.net> [Wed, 25 Aug 2010 13:40:46 +0200] rev 12031
Merge with stable
Martin Geisler <mg@lazybytes.net> [Wed, 25 Aug 2010 13:29:46 +0200] rev 12030
context: mark string for translation
Mads Kiilerich <mads at kiilerich.com> [Thu, 01 Jul 2010 16:30:41 +0200] rev 12029
test-convert-cvs: test fuzz
Mads Kiilerich <mads@kiilerich.com> [Mon, 23 Aug 2010 22:32:36 +0200] rev 12028
test-dispatch: drop test for missing working directory
hstuart reported problems when the local Python has been configured to do stuff
and crash before reaching the expected error handler.
Martin Geisler <mg@lazybytes.net> [Mon, 23 Aug 2010 22:22:05 +0200] rev 12027
Merge with stable
Martin Geisler <mg@lazybytes.net> [Mon, 23 Aug 2010 22:16:56 +0200] rev 12026
bookmarks: guard against listing bookmarks on unsupported repos
This fixes clones and pulls from statichttprepository repos.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Mon, 23 Aug 2010 13:28:04 +0200] rev 12025
mdiff.patch(): add a special case for when the base text is empty
remove the special casing from revlog.addgroup()
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Mon, 23 Aug 2010 13:24:19 +0200] rev 12024
revlog: add rawsize(), identical to size() but not subclassed by filelog
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 22 Aug 2010 23:17:17 +0200] rev 12023
revlog.addrevision(): move computation of nodeid in addrevision()
The check "if node in nodemap" is already done earlier in addgroup().
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 22 Aug 2010 19:41:04 +0200] rev 12022
contrib/compress: compress should activate parentdelta
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 22 Aug 2010 19:27:09 +0200] rev 12021
contrib/compress: correct ordering of copying
Changelog should always be copied last, otherwise readers can see an
inconsistent repo.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 22 Aug 2010 19:26:07 +0200] rev 12020
contrib/compress: refactor revlog copying
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 22 Aug 2010 19:13:30 +0200] rev 12019
contrib/compress: use store API instead of a collector
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 22 Aug 2010 18:29:30 +0200] rev 12018
contrib/compress: proper lock handling
Lock the src repo before beginning the compression and lock the destination
repo before copying the revlogs.
Proper handling of exceptions.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 22 Aug 2010 18:23:32 +0200] rev 12017
contrib/compress: use hg API to compute the destination path
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 22 Aug 2010 18:21:30 +0200] rev 12016
contrib/compress: use repo's transaction method
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 22 Aug 2010 18:18:36 +0200] rev 12015
contrib/compress: remove unused variables
Brodie Rao <brodie@bitheap.org> [Sat, 21 Aug 2010 23:24:52 -0400] rev 12014
tests: unify test-hgrc
Patrick Mezard <pmezard@gmail.com> [Sun, 22 Aug 2010 12:04:15 +0200] rev 12013
tests: remove test-log.out, useless after unification
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 21 Aug 2010 19:31:59 +0200] rev 12012
revlog: fix docstring
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 21 Aug 2010 19:30:42 +0200] rev 12011
deltaparent(): don't return nullrev for a revision containing a full snapshot
this allows us to simplify manifest.readdelta and revlog.revdiff
Matt Mackall <mpm@selenic.com> [Sat, 21 Aug 2010 10:48:49 -0500] rev 12010
merge with stable
Matt Mackall <mpm@selenic.com> [Sat, 21 Aug 2010 10:44:57 -0500] rev 12009
tests: fix up bisect test output
Matt Mackall <mpm@selenic.com> [Sat, 21 Aug 2010 10:41:29 -0500] rev 12008
merge: move reverse-merge logic out of filemerge (
issue2342)
Matt Mackall <mpm@selenic.com> [Fri, 20 Aug 2010 21:28:14 -0500] rev 12007
bisect: add test for unrelated starting revisions
Matt Mackall <mpm@selenic.com> [Fri, 20 Aug 2010 21:23:47 -0500] rev 12006
merge with stable
Matt Mackall <mpm@selenic.com> [Fri, 20 Aug 2010 17:16:37 -0500] rev 12005
bisect: better message for unrelated starting revisions
Matt Mackall <mpm@selenic.com> [Fri, 20 Aug 2010 15:31:05 -0500] rev 12004
debuginstall: report installpath
Adrian Buehlmann <adrian@cadifra.com> [Fri, 20 Aug 2010 18:26:20 +0200] rev 12003
tests: unify test-glog
Matt Mackall <mpm@selenic.com> [Thu, 19 Aug 2010 17:33:46 -0500] rev 12002
bookmarks: fix long line
Matt Mackall <mpm@selenic.com> [Thu, 19 Aug 2010 17:29:13 -0500] rev 12001
merge with stable
Vishakh H <vsh426@gmail.com> [Fri, 13 Aug 2010 19:42:28 +0530] rev 12000
revlog: addgroup re-adds punched revisions for missing parents
While reading changegroup if a node with missing parents is encountered,
we add a punched entry in the index with null parents for the missing
parent node.
Vishakh H <vsh426@gmail.com> [Fri, 13 Aug 2010 19:41:51 +0530] rev 11999
revlog: generate full revisions when parent node is missing
The full revision is sent if the first parent, against which diff is calculated, is
missing at remote. This happens in the case of shallow clones.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Fri, 20 Aug 2010 00:17:50 +0200] rev 11998
revlog.revision(): inline deltachain computation
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Fri, 20 Aug 2010 00:17:50 +0200] rev 11997
revlog.revision(): remove debug code
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Fri, 20 Aug 2010 00:17:50 +0200] rev 11996
revlog.revision(): don't use nullrev as the default value for the cache
I is probably a bug if the deltachain computation think there was a cache hit
at nullrev. Use None instead, this will never trigger a cache hit.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Fri, 20 Aug 2010 00:17:50 +0200] rev 11995
revlog.revision(): minor cleanup
Rename some variables, making the name more obvious (in particular "cache" was
actually two different variable.
Move code around, moving the index preloading before the deltachain computation,
without that index preloading was useless (everything was read in deltachain).
David Soria Parra <dsp@php.net> [Thu, 19 Aug 2010 15:04:21 -0400] rev 11994
bookmarks: Check if the bookmark to delete exists on the remote
Patrick Mezard <pmezard@gmail.com> [Thu, 19 Aug 2010 23:13:20 +0200] rev 11993
Merge with stable
Patrick Mezard <pmezard@gmail.com> [Thu, 19 Aug 2010 22:51:09 +0200] rev 11992
win32: remove useless lstat() fallback in nlinks()
The fallback was introduced by
3b4f05ff3130 at the same time than
nlinks(). Apparently it only handles the case where target path
does not exist. Just raise IOError directly.
Patrick Mezard <pmezard@gmail.com> [Thu, 19 Aug 2010 22:51:09 +0200] rev 11991
win32: correctly break hardlinks on network drives (
issue761)
win32.nlinks() was often returning 1 instead of the correct
hardlinks count when reading from network drives. This made
commit or push to a repository on a network share to fail
breaking the hardlinks in the datastore, possibly causing
integrity errors in repositories linked locally on the remote
side.
Here is what the MSDN says about GetFileInformationByHandle():
Depending on the underlying network features of the operating
system and the type of server connected to, the
GetFileInformationByHandle function may fail, return partial
information, or full information for the given file.
In practice, we never got the correct hardlinks count when
reading from and to many combinations of Window XP, 2003, Vista
and 7, via network drives or RDP shares. It always returned 1
instead. The only setup returning an accurate links count was a
samba on Debian.
To avoid this, Mercurial now breaks the hardlinks unconditionally
when writing to a network drive.
Matt Mackall <mpm@selenic.com> [Thu, 19 Aug 2010 11:51:30 -0500] rev 11990
merge with stable
Steve Losh <steve@stevelosh.com> [Wed, 18 Aug 2010 18:56:44 -0400] rev 11989
aliases: provide more flexible ways to work with shell alias arguments
This patch changes the functionality of shell aliases to add more powerful
options for working with shell alias arguments.
First: the alias name + arguments to a shell alias are set as an HG_ARGS
environment variable, delimited by spaces. This matches the behavior of hooks.
Second: any occurrences of "$@" (without quotes) are replaced with the
arguments, separated by spaces. This happens *before* the alias gets to the shell.
Third: any positive numeric variables ("$1", "$2", etc) are replaced with the
appropriate argument, indexed from 1. "$0" is replaced with the name of the
alias. Any "extra" numeric variables are replaced with an empty string. This
happens *before* the alias gets to the shell.
These changes allow for more flexible shell aliases:
[alias]
echo = !echo $@
count = !hg log -r "$@" --template='.' | wc -c | sed -e 's/ //g'
qqueuemv = !mv "`hg root`/.hg/patches-$1" "`hg root`/.hg/patches-$2"
In action:
$ hg echo foo
foo
$ hg count 'branch(default)'
901
$ hg count 'branch(stable) and keyword(fixes)'
102
$ hg qqueuemv myfeature somefeature
Steve Losh <steve@stevelosh.com> [Wed, 18 Aug 2010 18:18:26 -0400] rev 11988
util: add an interpolate() function to for replacing multiple values
util.interpolate can be used to replace multiple items in a string all at once
(and optionally apply a function to the replacement), without worrying about
recursing:
>>> import util
>>> s = '$foo, $spam'
>>> util.interpolate(r'\$', { 'foo': 'bar', 'spam': 'eggs' }, s)
'bar, eggs'
>>> util.interpolate(r'\$', { 'foo': 'spam', 'spam': 'foo' }, s)
'spam, foo'
>>> util.interpolate(r'\$', { 'foo': 'spam', 'spam': 'foo' }, s, lambda s: s.upper())
'SPAM, FOO'
The patch also changes filemerge.py to use this new function.
Brodie Rao <brodie@bitheap.org> [Wed, 18 Aug 2010 10:53:52 -0400] rev 11987
convert: use encoding.encoding instead of locale.getpreferredencoding()
The latter may not return useful results in certain OS X environments.
Brodie Rao <brodie@bitheap.org> [Wed, 18 Aug 2010 10:53:50 -0400] rev 11986
convert: properly set encoding for gnuarch converter
Matt Mackall <mpm@selenic.com> [Thu, 19 Aug 2010 11:14:09 -0500] rev 11985
log: add logging for commands
Matt Mackall <mpm@selenic.com> [Thu, 19 Aug 2010 11:14:02 -0500] rev 11984
ui: add logging hook
Pradeepkumar Gayam <in3xes@gmail.com> [Wed, 18 Aug 2010 06:05:09 +0530] rev 11983
tests: unify test-merge10
Pradeepkumar Gayam <in3xes@gmail.com> [Wed, 18 Aug 2010 06:02:08 +0530] rev 11982
tests: unify test-merge9
Pradeepkumar Gayam <in3xes@gmail.com> [Wed, 18 Aug 2010 05:55:56 +0530] rev 11981
tests: unify test-merge8
Pradeepkumar Gayam <in3xes@gmail.com> [Wed, 18 Aug 2010 05:54:00 +0530] rev 11980
tests: unify test-merge7
Pradeepkumar Gayam <in3xes@gmail.com> [Wed, 18 Aug 2010 05:21:07 +0530] rev 11979
tests: unify test-merge6
Pradeepkumar Gayam <in3xes@gmail.com> [Wed, 18 Aug 2010 05:15:49 +0530] rev 11978
tests: unify test-merge5
Pradeepkumar Gayam <in3xes@gmail.com> [Wed, 18 Aug 2010 05:12:44 +0530] rev 11977
tests: unify test-merge4
Pradeepkumar Gayam <in3xes@gmail.com> [Wed, 18 Aug 2010 05:09:58 +0530] rev 11976
tests: unify test-merge2
Pradeepkumar Gayam <in3xes@gmail.com> [Wed, 18 Aug 2010 05:05:51 +0530] rev 11975
tests: unify test-merge1
Pradeepkumar Gayam <in3xes@gmail.com> [Wed, 18 Aug 2010 04:37:06 +0530] rev 11974
tests: unify test-excessive-merge
Pradeepkumar Gayam <in3xes@gmail.com> [Wed, 18 Aug 2010 04:30:27 +0530] rev 11973
tests: unify test-double-merge
Pradeepkumar Gayam <in3xes@gmail.com> [Wed, 18 Aug 2010 04:26:20 +0530] rev 11972
tests: unify test-copy-move-merge
Pradeepkumar Gayam <in3xes@gmail.com> [Wed, 18 Aug 2010 04:21:10 +0530] rev 11971
tests: unify test-merge-closedheads
Matt Mackall <mpm@selenic.com> [Thu, 19 Aug 2010 10:25:41 -0500] rev 11970
merge with stable
Jeremy Whitlock <jcscoobyrs@gmail.com> [Wed, 28 Jul 2010 23:05:03 -0600] rev 11969
color: enable branches support
This commit updates the branches command to use ui.label for the branch names
and the changeset. This implementation allows assigning colors to the four
states of a branch: active, closed, current and inactive. While you can
configure color for the four states, only current and closed have default colors
of green and black bold respectively.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 18 Aug 2010 23:37:26 +0200] rev 11968
mq/qqueue: update bash completion
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 18 Aug 2010 23:37:19 +0200] rev 11967
mq/qqueue: add --purge option to delete a queue and its patch dir
qqueue --delete only deletes the reference to the queue, and leaves
the associated patch directory behind. There is no Mercurial-way of
getting rid of that patch directory afterward.
This patch adds the --purge option to qqueue, that deletes the queue
from the list, and also removes the associated patch dir. If the queue
was non-existant, but the patch dir was, it is removed nonetheless.
This is to avoid manual intervention in the .hg directory.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 18 Aug 2010 23:34:28 +0200] rev 11966
mq/qqueue: commonalise the queue deletion code
Mads Kiilerich <mads@kiilerich.com> [Wed, 18 Aug 2010 02:43:45 +0200] rev 11965
mq: don't inherit default and default-push paths with --mq (
issue2333)
Configuration from the outer repo is inherited to the patches repo when --mq is
used.
In case the patches repo only has paths.default configured but the outer repo
has paths.default-push then the inherited default-push will win. Very
confusing.
Inheriting the default paths is however wrong in all sane cases, so now we
explicitly remove them.
Martin Geisler <mg@lazybytes.net> [Thu, 19 Aug 2010 16:34:12 +0200] rev 11964
test-subrepo-paths: use printf instead of echo
Different shells have different opinions on how to backslashes must be
escaped for echo, but printf is consistent across zsh, dash, bash,
tcsh, and csh.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Wed, 18 Aug 2010 19:37:23 +0200] rev 11963
parendelta: fix computation of base rev (fixes
issue2337)
Refactor revlog._addrevision() and put the correct base rev in the
parent-delta case: base(rev) should always be equal to the first full snapshot
that is needed by the delta chain, in both parent-delta and tip-delta case.
Before this fix, the base rev was in most case wrong (and in the case where
p1 == nullid, this triggered the bug from
issue2337). This means that
repositories converted to parent-delta earlier are corrupted and needs to be
reconverted.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Wed, 18 Aug 2010 19:45:52 +0200] rev 11962
revlog._addrevision(): make the parent of the cached delta explicit
Martin Geisler <mg@lazybytes.net> [Thu, 19 Aug 2010 13:25:46 +0200] rev 11961
subrepos: handle backslashes in subpaths
Dirkjan Ochtman <dirkjan@ochtman.nl> [Thu, 19 Aug 2010 10:59:37 +0200] rev 11960
help: document stringify templatefilter
Martin Geisler <mg@lazybytes.net> [Wed, 18 Aug 2010 11:59:35 +0200] rev 11959
test-subrepo-paths: moved comment lines to where they belong
Matt Mackall <mpm@selenic.com> [Tue, 17 Aug 2010 17:44:19 -0500] rev 11958
merge with stable
Matt Mackall <mpm@selenic.com> [Tue, 17 Aug 2010 17:41:20 -0500] rev 11957
merge with i18n
Matt Mackall <mpm@selenic.com> [Tue, 17 Aug 2010 17:40:53 -0500] rev 11956
merge with i18n
Wagner Bruna <wbruna@softwareexpress.com.br> [Tue, 17 Aug 2010 12:02:34 -0300] rev 11955
i18n-pt_BR: fix typo in commit help text
spotted by Fred Maranhão
Wagner Bruna <wbruna@softwareexpress.com.br> [Mon, 16 Aug 2010 16:10:30 -0300] rev 11954
i18n: merge with stable
Wagner Bruna <wbruna@softwareexpress.com.br> [Mon, 16 Aug 2010 16:06:10 -0300] rev 11953
i18n-pt_BR: synchronized with
2da0cf99b642
Wagner Bruna <wbruna@softwareexpress.com.br> [Mon, 16 Aug 2010 15:46:00 -0300] rev 11952
i18n-pt_BR: fix typo
Martin Geisler <mg@lazybytes.net> [Sun, 15 Aug 2010 18:58:22 +0200] rev 11951
i18n-da: synchronized with
7fa36341e7a0
Alecs King <alecsk@gmail.com> [Fri, 13 Aug 2010 14:29:30 +0800] rev 11950
log: fix the bug 'hg log --stat -p == hg log --stat'
Before:
hg log --stat -p -r tip # only show stat
After:
hg log --stat -p -r tip # show stat _and_ diff
Renato Cunha <renatoc@gmail.com> [Sun, 08 Aug 2010 15:48:58 -0300] rev 11949
hgfixes: added a fixer to convert changes in the email package
This patch adds a fixer that accounts for changes in python packages, as the
framework provided by lib2to3 is only able to track changes in module names.
This fixer (hopefully) can fix any change in one-level hierarchies.
To exemplify, this fixer can successfully change an import from
"email.MIMEMultipart" to "email.mime.multipart".
Renato Cunha <renatoc@gmail.com> [Tue, 03 Aug 2010 13:18:16 -0300] rev 11948
contrib/setup3k.py: added script to build hg with py3k
This patch implements a script that inherits most of its functionality from
hg's setup.py and adds support to calling 2to3 during invocation with python3.
The motivation of having this script around is twofold:
1) It enables py3k crazies to test mercurial in py3k and, hopefully, patch it
more easily, so it can improve the py3k support to eventually run there.
2) Being separated from the main setup.py eliminates the need to make hg's
setup.py even more cluttered, and enables "independent" development until
the port is done.
Some considerations about the structure of this patch:
Mercurial already overrides the behavior of build_py, this patch tweaks it a bit
more to add support to call 2to3 with a custom fixer* location for Mercurial.
There is also a need of having the core C modules built *before* the
translation process starts, otherwise 2to3 will think those are global modules.
* A fixer is a python module that transforms python 2.x code in python 3.x
code.
Renato Cunha <renatoc@gmail.com> [Mon, 16 Aug 2010 16:35:20 -0300] rev 11947
mq: save qrefresh message for easy recovery in case it fails (
issue2062)
Currently, if you start editing a commit message from qrefresh -e and, for any
reason: forget you were editing it, leave the editor open and start qpopping
and qpushing, when you decide to save your commit message, it is going to fail.
This patch copies the commit behavior of saving the message contents in
$HGROOT/.hg/last-message.txt before continuing.
Sol Jerome <sol.jerome@gmail.com> [Tue, 17 Aug 2010 17:38:19 -0500] rev 11946
util: avoid using hashlib on Python < 2.5 (
issue2278)
The following patch allows the use of python2.4 with a standalone
hashlib rather than assuming that python2.5 is in use when hashlib is
imported successfully.
Alecs King <alecsk@gmail.com> [Wed, 11 Aug 2010 20:28:39 +0800] rev 11945
ui: differentiate empty configlist from None
Wagner Bruna <wbruna@softwareexpress.com.br> [Fri, 13 Aug 2010 13:11:41 -0300] rev 11944
revset: predicate to avoid lookup errors
A query like
head() and (descendants("bad") and not descendants("fix"))
(testing if repo heads are affected by a bug) will abort with a
RepoLookupError if either badrev or fixrev aren't found inside
the repository, which is not very informative.
The new predicate returns an empty set for lookup errors, so
head() and (descendants(present("bad")) and not descendants(present("fix")))
will behave as wanted even if those revisions are not found.
Greg Ward <greg-hg@gerg.ca> [Fri, 13 Aug 2010 13:16:34 -0400] rev 11943
inotify: show the exact command used to start the server
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Tue, 17 Aug 2010 17:46:10 +0200] rev 11942
demandimport: store level argument on _demandmod instances
The 'level' argument to __import__ was added in Python 2.6, and is
specified for either relative or absolute imports. The fix introduced
in
e160f2312815 allowed such imports to proceed without failure, but
effectively disabled demandimport for them. This is particularly
unfortunate in Python 3.x, where *all* imports are either relative or
absolute.
The solution introduced here is to store the level argument on the
demandimport instance, and propagate it to _origimport() when its
value isn't None.
Please note that this patch hasn't been tested in Python 3.x, and thus
may not be complete. I'm worried about how sub-imports are handled; I
don't know what they are, or whether the level argument should be
modified for them. I've added 'TODO' notes to these cases; hopefully,
someone more knowledgable of these issues will deal with them.
Xavier Snelgrove <xs@wxs.ca> [Fri, 13 Aug 2010 13:59:26 -0400] rev 11941
revert: use opts.get
If you want to programatically perform a revert right now you need to
include a date=False parameter due to the use of opt["date"] instead
of opt.get("date").
Pradeepkumar Gayam <in3xes@gmail.com> [Tue, 17 Aug 2010 08:38:31 +0530] rev 11940
tests: unify test-copy2
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 15 Aug 2010 13:29:46 +0200] rev 11939
mq/qqueue: enable renaming of active queue
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 15 Aug 2010 16:48:08 +0200] rev 11938
mq/qqueue: split _setactive
Prepare _setactive to be called without checking for applied patches.
Matt Mackall <mpm@selenic.com> [Tue, 17 Aug 2010 13:22:20 -0500] rev 11937
merge with stable
Matt Mackall <mpm@selenic.com> [Mon, 16 Aug 2010 12:55:42 -0500] rev 11936
templates: add filenolink to raw style (
issue2332)
Matt Mackall <mpm@selenic.com> [Sun, 15 Aug 2010 23:13:56 -0500] rev 11935
revlog: optimize deltachain
Pradeepkumar Gayam <in3xes@gmail.com> [Tue, 10 Aug 2010 22:28:52 +0530] rev 11934
manifest: correct readdelta() according to parentdeltas
Pradeepkumar Gayam <in3xes@gmail.com> [Tue, 10 Aug 2010 22:28:30 +0530] rev 11933
contrib: simple extension to practically convert a repo from tip delta to parentdelta
Pradeepkumar Gayam <in3xes@gmail.com> [Tue, 10 Aug 2010 22:28:08 +0530] rev 11932
localrepo: add parentdelta to requires only if enabled in config file
Pradeepkumar Gayam <in3xes@gmail.com> [Tue, 10 Aug 2010 22:27:41 +0530] rev 11931
revlog: append delta against p1
Pradeepkumar Gayam <in3xes@gmail.com> [Tue, 10 Aug 2010 22:27:16 +0530] rev 11930
revlog: teach revlog to construct a revision from parentdeltas
Pradeepkumar Gayam <in3xes@gmail.com> [Tue, 10 Aug 2010 22:26:08 +0530] rev 11929
revlog: deltachain() returns chain of revs need to construct a revision
Pradeepkumar Gayam <in3xes@gmail.com> [Tue, 10 Aug 2010 22:25:08 +0530] rev 11928
revlog: parentdelta flags for revlog index
Martin Geisler <mg@lazybytes.net> [Tue, 17 Aug 2010 17:33:42 +0200] rev 11927
glossary: fixed typo
Martin Geisler <mg@lazybytes.net> [Tue, 17 Aug 2010 17:27:37 +0200] rev 11926
Merge with stable
Adrian Buehlmann <adrian@cadifra.com> [Sun, 15 Aug 2010 20:36:49 +0200] rev 11925
tests: unify test-clone-r
Pradeepkumar Gayam <in3xes@gmail.com> [Tue, 17 Aug 2010 18:07:05 +0530] rev 11924
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com> [Tue, 17 Aug 2010 18:04:04 +0530] rev 11923
tests: unify tests-debugindexdot
Pradeepkumar Gayam <in3xes@gmail.com> [Tue, 17 Aug 2010 18:02:13 +0530] rev 11922
tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com> [Tue, 17 Aug 2010 17:57:48 +0530] rev 11921
tests: unify test-diffdir
Pradeepkumar Gayam <in3xes@gmail.com> [Tue, 17 Aug 2010 17:56:26 +0530] rev 11920
tests: unify test-children
Pradeepkumar Gayam <in3xes@gmail.com> [Tue, 17 Aug 2010 17:54:32 +0530] rev 11919
tests: unify test-revlog-packentry
Pradeepkumar Gayam <in3xes@gmail.com> [Tue, 17 Aug 2010 17:53:11 +0530] rev 11918
tests: unify test-revlog-group-emptyiter
Pradeepkumar Gayam <in3xes@gmail.com> [Tue, 17 Aug 2010 17:48:59 +0530] rev 11917
tests: unify test-install
Martin Geisler <mg@lazybytes.net> [Tue, 17 Aug 2010 16:53:03 +0200] rev 11916
tests: unify test-subrepo-svn
Martin Geisler <mg@lazybytes.net> [Tue, 17 Aug 2010 16:52:47 +0200] rev 11915
tests: unify test-subrepo-relative-path
Martin Geisler <mg@lazybytes.net> [Tue, 17 Aug 2010 16:52:42 +0200] rev 11914
tests: unify test-subrepo-paths
Martin Geisler <mg@lazybytes.net> [Tue, 17 Aug 2010 16:52:26 +0200] rev 11913
tests: unify test-subrepo-deep-nested-change
Martin Geisler <mg@lazybytes.net> [Tue, 17 Aug 2010 16:52:05 +0200] rev 11912
tests: unify test-subrepo
Martin Geisler <mg@lazybytes.net> [Tue, 17 Aug 2010 13:59:37 +0200] rev 11911
glossary: add entry for "Branch, inactive"
Andreas Freimuth <andreas.freimuth@united-bits.de> [Mon, 16 Aug 2010 20:44:33 +0200] rev 11910
tests: unify test-patchbomb
Martin Geisler <mg@lazybytes.net> [Mon, 16 Aug 2010 20:33:58 +0200] rev 11909
Merge with mpm
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 16 Aug 2010 10:59:38 +0900] rev 11908
tests: unify test-mq-symlinks
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 16 Aug 2010 10:58:03 +0900] rev 11907
tests: use regular expressions instead of helpers
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 16 Aug 2010 10:53:52 +0900] rev 11906
tests: unify test-mq-strip
Matt Mackall <mpm@selenic.com> [Sun, 15 Aug 2010 13:26:12 -0500] rev 11905
tests: drop big sed from test-keyword.t
Christian Ebert <blacktrash@gmx.net> [Fri, 13 Aug 2010 13:54:33 +0100] rev 11904
tests: unify test-keyword
Matt Mackall <mpm@selenic.com> [Fri, 13 Aug 2010 13:20:15 -0500] rev 11903
test-walk: enable absolute path tests
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 16 Aug 2010 02:03:29 +0900] rev 11902
tests: unify test-grep
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sun, 15 Aug 2010 23:38:00 +0900] rev 11901
cmdutil: code simplification
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sun, 15 Aug 2010 23:34:46 +0900] rev 11900
tests: unify test-log
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sun, 15 Aug 2010 23:17:53 +0900] rev 11899
log: do not --follow file that is deleted and recreated later (
issue732)
== What ==
issue732 is only one example of a buggy behaviour, but there are in fact many
intricated cases. For example:
( "o" contains an alive version of the tracked file, "x" does not)
tip - o - o - x - o - o - x ...
\
o - o - o - o - x ...
\ /
o - o
This repository contains at least two instances of the tracked file, but
when calling "hg log -f file" only the latest one (the one alive in tip)
matters to us.
== How ==
We must extract from the filelog the history of the file instance we're
interested in and discard changes related to other instances of that file.
We see that we're only interested in ancestors(node), and that all
other nodes in the filelog should not be considered.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sun, 15 Aug 2010 22:44:15 +0900] rev 11898
tests: unify test-mq-safety
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sun, 15 Aug 2010 22:07:23 +0900] rev 11897
tests: unify test-mq-caches
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sun, 15 Aug 2010 21:58:43 +0900] rev 11896
tests: unify test-mq-guards
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sun, 15 Aug 2010 21:45:31 +0900] rev 11895
tests: unify test-mq-eol
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sun, 15 Aug 2010 21:41:45 +0900] rev 11894
tests: unify test-mq
Patrick Mezard <pmezard@gmail.com> [Sun, 15 Aug 2010 18:50:19 +0200] rev 11893
Merge with stable
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Sat, 14 Aug 2010 01:30:54 +0200] rev 11892
encoding: improve handling of buggy getpreferredencoding() on Mac OS X
Prior to version 2.7, calling locale.getpreferredencoding() would
always return 'mac-roman' on Mac OS X. Previously, this was handled by
a call to locale.setlocale(). Unfortunately, Python 2.6.5 and older
have a bug where isspace() would incorrectly report True for 0x85 and
0xa0 after such a call.
In order to fix this, we replace the previous _encodingfixup mapping
to an _encodingfixers mapping. Rather than mapping encodings to their
replacement, it maps them to a function returning the
replacement. This allows us to provide an simplified implementation of
getpreferredencoding() which extracts the expected encoding and
restores the locale.
This fix is based on a patch originally submitted by Martijn Pieters
as well as feedback from Brodie Rao.
Patrick Mezard <pmezard@gmail.com> [Sun, 15 Aug 2010 17:50:52 +0200] rev 11891
templatefilters: unnest uescape()
Yuya Nishihara <yuya@tcha.org> [Wed, 11 Aug 2010 01:06:21 +0900] rev 11890
templatefilters: use \uxxxx style escape for JSON string
It's embeddable in plain javascript, and also conforms to JSON standard.
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Fri, 13 Aug 2010 17:21:06 +0200] rev 11889
test-notify: make it pass on Mac OS X (again)
Changeset
25e74cd3f023 (from 2008) introduced a hack to handle the
very long values of $TMPDIR typically seen on Mac OS X. This hack
expected continuation lines to begin with a tab. However, as a result
of a change in Python 2.7, changeset
594b98846ce1 made it so
continuation lines began with a tab. Since then, `test-notify' has
been broken on Mac OS X.
Merely replacing the tab in the regular expression with a space will
not work: not only do tab continuations still occur in the message, but
other lines -- in the body of the message -- also start with a
space. Luckily, all broken up lines appear to end with either a colon
or an n, so we can match those, and reinsert them in the replacement.
Adrian Buehlmann <adrian@cadifra.com> [Sun, 15 Aug 2010 18:25:29 +0200] rev 11888
tests: combine test-dirstate-future.t
into test-dirstate.t
Adrian Buehlmann <adrian@cadifra.com> [Sun, 15 Aug 2010 18:24:49 +0200] rev 11887
tests: unify test-dirstatedirs
Martin Geisler <mg@lazybytes.net> [Sun, 15 Aug 2010 18:13:46 +0200] rev 11886
Merge with stable
Martin Geisler <mg@lazybytes.net> [Sun, 15 Aug 2010 17:49:59 +0200] rev 11885
dagparser: transplant part of
4e804302d30c
Martin Geisler <mg@lazybytes.net> [Sun, 15 Aug 2010 17:48:05 +0200] rev 11884
check-code: catch "echo -n" in tests
Martin Geisler <mg@lazybytes.net> [Sun, 15 Aug 2010 17:42:44 +0200] rev 11883
test-init: replace 'echo -n' with 'printf'
The '-n' argument to echo is a non-standard extension that isn't
supported on Mac OS X 10.6.
Wagner Bruna <wbruna@softwareexpress.com.br> [Thu, 12 Aug 2010 20:54:34 -0300] rev 11882
revset: fix outgoing argument handling
Martin Geisler <mg@lazybytes.net> [Sun, 15 Aug 2010 17:33:03 +0200] rev 11881
debugbuilddag: escape backslash properly in help string
Renato Cunha <renatoc@gmail.com> [Sat, 14 Aug 2010 18:31:22 -0300] rev 11880
url.py: removed 'file' inheritance in the httpsendfile class
Since py3k doesn't have a "file" builtin and, consequently, doesn't support
inheriting from it, this patch refactors the httpsendfile class to wrap the
objects returned by the builtin "open" function while adding the necessary
methods (__len__ for constructing the Content-Length header and read, write,
close and seek for the file-like interface).
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 15 Aug 2010 11:05:04 +0200] rev 11879
fix undefined variables, spotted by pylint
Renato Cunha <renatoc@gmail.com> [Sat, 07 Aug 2010 16:38:38 -0300] rev 11878
py3kcompat: added fake ord implementation for py3k
In py3k, a bytes object __getitem__ will return an int instead of a
one-character bytes object. This has negative consequences when we want to
ord(), like in the following example:
>>> b'foo'[0]
102
>>> ord(b'foo'[0])
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: ord() expected string of length 1, but int found
This patch overrides the default ord() implementation to just return an int
that's what is passed as an argument for ord(). Making the above call succeed:
>>> ord(b'foo'[0])
102
Greg Ward <greg-hg@gerg.ca> [Sat, 14 Aug 2010 14:57:33 +0200] rev 11877
commit: explicitly document the existence of "last-message.txt"
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 03:30:35 +0200] rev 11876
Merge with stable
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 03:28:45 +0200] rev 11875
tests: unify test-changelog-exec
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 03:27:24 +0200] rev 11874
tests: unify test-cat
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 03:26:03 +0200] rev 11873
tests: unify test-bundle-vs-outgoing
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 03:23:56 +0200] rev 11872
tests: unify test-bundle-type
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 03:22:11 +0200] rev 11871
tests: unify test-bundle-r
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 03:16:02 +0200] rev 11870
tests: unify test-bundle
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 03:08:02 +0200] rev 11869
tests: unify test-branch-option
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 03:06:52 +0200] rev 11868
tests: unify test-branches
Adrian Buehlmann <adrian@cadifra.com> [Fri, 13 Aug 2010 00:34:44 +0200] rev 11867
tests: unify test-dumprevlog
Adrian Buehlmann <adrian@cadifra.com> [Thu, 12 Aug 2010 20:25:37 +0200] rev 11866
tests: unify test-dirstate-future
Adrian Buehlmann <adrian@cadifra.com> [Thu, 12 Aug 2010 17:30:12 +0200] rev 11865
tests: unify test-fncache
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 03:00:22 +0200] rev 11864
tests: unify test-bookmarks-strip
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 02:59:48 +0200] rev 11863
tests: unify test-bookmarks-rebase
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 02:58:34 +0200] rev 11862
tests: unify test-bookmarks-current
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 02:57:54 +0200] rev 11861
tests: unify test-bookmarks
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 02:55:54 +0200] rev 11860
tests: unify test-bisect2
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 02:39:39 +0200] rev 11859
tests: unify test-bad-pull
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 02:35:44 +0200] rev 11858
tests: unify test-bad-extension
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 02:30:05 +0200] rev 11857
tests: unify test-backwards-remove
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 02:28:53 +0200] rev 11856
tests: unify test-backout
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 02:26:58 +0200] rev 11855
tests: unify test-audit-path
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 02:26:53 +0200] rev 11854
tests: unify test-archive-symlinks
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 02:22:10 +0200] rev 11853
tests: unify test-archive
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 02:18:17 +0200] rev 11852
tests: unify test-annotate
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 02:17:59 +0200] rev 11851
tests: unify test-addremove-similar
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 02:12:01 +0200] rev 11850
tests: unify test-addremove
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 02:11:18 +0200] rev 11849
tests: unify test-acl
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 02:03:01 +0200] rev 11848
tests: unify test-abort-checkin
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 02:00:33 +0200] rev 11847
tests: unify test-1102
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 01:58:04 +0200] rev 11846
tests: unify test-586
Mads Kiilerich <mads@kiilerich.com> [Sat, 14 Aug 2010 01:31:57 +0200] rev 11845
mercurial.spec: gettext is a build requirement for getting proper localization
Wagner Bruna <wbruna@softwareexpress.com.br> [Fri, 13 Aug 2010 13:32:05 -0300] rev 11844
http basic auth: reset redirect counter on new requests (
issue2255)
On Python 2.6.6 (and patched 2.6.5 on certain Linux distros),
the change that caused
issue2255 was also applied to non-digest
authentication; this change extends the
2ec346160783 fix
accordingly.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Fri, 13 Aug 2010 18:02:02 +0200] rev 11843
rebase: recompute the set of skipped rev when using --continue (
issue2330)
Lee Cantey <lcantey@gmail.com> [Sun, 25 Jul 2010 08:22:03 -0700] rev 11842
Remove variable output affected by length of TMPDIR.
If the temporary directory is longer than /tmp then it's possible that
the Subject line will get wrapped by the headencode function.
Martin Geisler <mg@aragost.com> [Fri, 13 Aug 2010 15:18:15 +0200] rev 11841
Merge with stable
Martin Geisler <mg@aragost.com> [Fri, 13 Aug 2010 15:17:55 +0200] rev 11840
tests: update to match "hg help resolve" output from
53fdc0989047
Martin Geisler <mg@aragost.com> [Fri, 13 Aug 2010 11:12:37 +0200] rev 11839
test-clone:
f1c2de22b8a8 lost changes from
b1ae33b813cb
Martin Geisler <mg@aragost.com> [Fri, 13 Aug 2010 10:53:10 +0200] rev 11838
url: limit expansion to safe auth keys (Issue2328)
Mads Kiilerich pointed out that
7c9beccb0533 was too eager since the
prefix and password keys may contain $-signs. So this only add the
username to the list of keys that are expanded.
This also updates the documentation to match.
Martin Geisler <mg@aragost.com> [Fri, 13 Aug 2010 10:28:59 +0200] rev 11837
Merge with stable
Mark Edgington <edgimar@gmail.com> [Thu, 12 Aug 2010 22:48:22 +0200] rev 11836
resolve: updated help documentation for improved clarity
Daniel J. Lauk <daniel.lauk@gmail.com> [Thu, 12 Aug 2010 11:15:33 +0200] rev 11835
convert: Test svn sink for a repo with tags.
This test case backs the fix in changeset
7e5f5e5858f9. The subversion
sink used to crash, if the source repo used tags.
Martin Geisler <mg@aragost.com> [Fri, 13 Aug 2010 10:13:38 +0200] rev 11834
hgrc.5: fix "hg hg status" -> "hg status"
Martin Geisler <mg@aragost.com> [Fri, 13 Aug 2010 10:10:11 +0200] rev 11833
url: expand vars in all [auth] settings (
issue2328)
Matt Mackall <mpm@selenic.com> [Thu, 12 Aug 2010 18:09:03 -0500] rev 11832
merge with stable
Matt Mackall <mpm@selenic.com> [Thu, 12 Aug 2010 18:08:52 -0500] rev 11831
merge with i18n
Matt Mackall <mpm@selenic.com> [Thu, 12 Aug 2010 18:08:31 -0500] rev 11830
merge with i18n
Martin Geisler <mg@aragost.com> [Thu, 12 Aug 2010 18:10:42 +0200] rev 11829
i18n: merge Romanian translation
Martin Geisler <mg@aragost.com> [Thu, 12 Aug 2010 18:10:26 +0200] rev 11828
i18n: merge with stable
Paolo Giarrusso <p.giarrusso@gmail.com> [Thu, 12 Aug 2010 16:53:56 +0200] rev 11827
i18n-it: update many broken fuzzy messages
I started updating many fuzzy messages which no longer expressed the
intended meaning - new translations are inserted only to keep
coherence.
Not all fuzzy messages have been fixed, yet.
Paolo Giarrusso <p.giarrusso@gmail.com> [Thu, 12 Aug 2010 16:30:17 +0200] rev 11826
i18n-it: readd missing non-ASCII characters
Some accented vowels had disappeared.
Paolo Giarrusso <p.giarrusso@gmail.com> [Thu, 12 Aug 2010 16:30:17 +0200] rev 11825
i18n-it: avoid using two spaces after a '.'
See http://en.wikipedia.org/wiki/Sentence_spacing to verify that
single spacing is indeed correct.
Daniel Dumitriu <daniel.dumitriu@gmail.com> [Mon, 09 Aug 2010 10:56:56 +0200] rev 11824
i18n-ro: initial version
Martin Geisler <mg@aragost.com> [Thu, 12 Aug 2010 18:30:24 +0200] rev 11823
Merge with stable
Martin Geisler <mg@aragost.com> [Thu, 12 Aug 2010 18:30:06 +0200] rev 11822
test-check-code: fix test after
e1359ad582f6
Martin Geisler <mg@aragost.com> [Thu, 12 Aug 2010 18:00:41 +0200] rev 11821
cmdutil: remove unnecessary parenthesis
Martin Geisler <mg@aragost.com> [Thu, 12 Aug 2010 17:58:03 +0200] rev 11820
patch: fix typo in comment
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Thu, 05 Aug 2010 12:25:53 +0200] rev 11819
qguard: label patch names by status when listing guards
Nicolas Dumazet <nicdumz.commits@gmail.com> [Fri, 02 Jul 2010 15:12:50 +0900] rev 11818
hg.clone: do not ignore branch argument when source is a repo object
This is a revert of
4a70178f9bde. The "bug" mentioned in this changeset is unclear:
hopefully using a test to cover this usage should prevent any bugs.
Alecs King <alecsk@gmail.com> [Wed, 11 Aug 2010 20:16:22 +0800] rev 11817
merge: fix typo in docstring
Alecs King <alecsk@gmail.com> [Thu, 12 Aug 2010 16:42:41 +0800] rev 11816
check-code: add exit status
so that we can use it in a shell command combination and/or in hg hooks.
Christian Ebert <blacktrash@gmx.net> [Thu, 12 Aug 2010 09:40:48 +0100] rev 11815
test-patch.t: typos
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 23:46:56 +0900] rev 11814
tests: unify test-alias
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 23:27:32 +0900] rev 11813
tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 23:22:25 +0900] rev 11812
tests: merge all 4 test-symlink* into test-symlinks
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 23:02:12 +0900] rev 11811
tests: unify test-symlink-root
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 23:00:36 +0900] rev 11810
tests: unify test-symlink-basic
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 22:58:46 +0900] rev 11809
tests: unify test-symlink-addremove
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 22:57:06 +0900] rev 11808
tests: unify test-qimport-eol
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 22:54:41 +0900] rev 11807
tests: unify test-import
Adrian Buehlmann <adrian@cadifra.com> [Tue, 10 Aug 2010 13:21:28 +0200] rev 11806
tests: unify test-clone
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 22:31:40 +0900] rev 11805
tests: unify test-copy
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 22:28:21 +0900] rev 11804
tests: unify test-commit-unresolved
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 22:24:13 +0900] rev 11803
unify test-commit-copy
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 22:22:17 +0900] rev 11802
tests: unify test-commit
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 22:19:59 +0900] rev 11801
tests: unify test-committer
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 22:14:19 +0900] rev 11800
tests: unify test-transplant
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 21:52:53 +0900] rev 11799
tests: unify test-walk
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 20:08:02 +0900] rev 11798
tests: unify test-symlinks
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 20:02:59 +0900] rev 11797
tests: unify test-conflict
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 19:49:58 +0900] rev 11796
tests: unify test-identify
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 19:43:45 +0900] rev 11795
tests: unify test-add
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 19:40:22 +0900] rev 11794
tests: remove useless sed in test-hook
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 19:38:31 +0900] rev 11793
tests: unify test-hook
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 19:10:57 +0900] rev 11792
tests: unify test-flags
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 16:53:23 +0900] rev 11791
repair: do not compress partial bundle if we do not keep it on disk
A partial bundle is created to temporarily save revisions > rev but
not descending from the node to strip, to be able to restore the
changesets after stripping the changelog.
Since this bundle is not kept after the strip operation, and is not
user-visible, it is not necessary and should be faster to avoid
compression.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 16:45:47 +0900] rev 11790
store: skip decodir check if path does not contain '.hg/'
The three replace calls are slower than this simple __contains__,
and anyway we should not have this many paths ending with .i, .d, or .hg
compared to the normal, un-encoded other paths.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sat, 17 Jul 2010 00:47:06 +0900] rev 11789
strip: support multiple revisions
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 16:35:34 +0900] rev 11788
tests: unify test-tag
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 15:41:58 +0900] rev 11787
tests: unify test-verify
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 15:31:18 +0900] rev 11786
tests: unify test-init
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 15:18:44 +0900] rev 11785
tests: unify test-paths
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 15:12:25 +0900] rev 11784
tests: unify test-patch
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 15:07:25 +0900] rev 11783
tests: unify test-status-color
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 14:54:10 +0900] rev 11782
tests: unify test-status
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 14:53:34 +0900] rev 11781
tests: catch re.error if test line is not a valid regular expression
Martin Geisler <mg@aragost.com> [Wed, 11 Aug 2010 12:30:18 +0200] rev 11780
Merge with stable
Martin Geisler <mg@aragost.com> [Wed, 11 Aug 2010 12:29:20 +0200] rev 11779
convert: less shouting in SVN sink warning
Daniel J. Lauk <daniel.lauk@gmail.com> [Wed, 11 Aug 2010 11:46:06 +0200] rev 11778
convert: Using --dest-type svn crashed, if the source repo used tags.
The convert extension requires puttags(self, tags) to return a sequence
for a multi-variable assignment. If puttags implicitly returns None,
the code will break when trying to un-pack None for assignment.
Martin Geisler <mg@aragost.com> [Wed, 11 Aug 2010 12:21:27 +0200] rev 11777
commands: use round parenthesis in 'hg head --active' help
This is the style used in the rest of the help strings.
Martin Geisler <mg@aragost.com> [Wed, 11 Aug 2010 12:19:01 +0200] rev 11776
graphlog: mark --branch as incompatible with --graph
The --only-branch option was deprecated in
0d5f139b23c1 and --branch
was added instead. But the graphlog extension was not updated to match
the change.
Martin Geisler <mg@lazybytes.net> [Thu, 15 Jul 2010 18:10:05 +0200] rev 11775
subrepos: support remapping of .hgsub source paths
Given a .hgsub file containing
lib/libfoo = http://server/libfoo
the 'lib/libfoo' subrepo will be cloned from 'http://server/libfoo'.
This changeset introduces a remapping mechanism whereby the source
paths (the right-hand sides) in the .hgsub file can be remapped. This
subpaths section
[subpaths]
http://server = /local
will result in the 'lib/libfoo' subrepo being cloned from
'/local/libfoo' instead of from 'http://server/libfoo'.
The patterns (left-hand sides) are really regular expressions and the
replacement strings (right-hand sides) can refer to matched groups
using normal backreferences. This can be used for more complicated
replacements such as
[subpaths]
http://server/(.*)-hg/ = http://hg.server/\1/
which replaces 'http://server/foo-hg/' with 'http://hg.server/foo/'.
All patterns are applied in the order by which they are listed in the
config files.
Martin Geisler <mg@aragost.com> [Tue, 10 Aug 2010 16:55:38 +0200] rev 11774
bookmarks: replace var used as a Boolean with a Boolean
Matt Mackall <mpm@selenic.com> [Mon, 09 Aug 2010 16:55:53 -0500] rev 11773
merge with stable
Mads Kiilerich <mads@kiilerich.com> [Mon, 09 Aug 2010 21:43:39 +0200] rev 11772
test-dispatch: Make test of removed working directory work on AIX (
issue2315)
AIX sh won't delete its own working directory. Removing it from another process
works.
Also hide the actual OS error message - operating systems returns different
errors when getcwd fails.
Matt Mackall <mpm@selenic.com> [Mon, 09 Aug 2010 12:25:01 -0500] rev 11771
tests: only run check-code on tracked files
Martin Geisler <mg@aragost.com> [Mon, 09 Aug 2010 16:08:33 +0200] rev 11770
Merge with stable
Martin Geisler <mg@aragost.com> [Mon, 09 Aug 2010 15:31:56 +0200] rev 11769
dirstate: ignore symlinks when fs cannot handle them (
issue1888)
When the filesystem cannot handle the executable bit, we currently
ignore it completely when looking for modified files. Similarly, it is
impossible to set or clear the bit when the filesystem ignores it.
This patch makes Mercurial treat symbolic links the same way.
Symlinks are a little different since they manifest themselves as
small files containing a filename (the symlink target). On Windows,
these files show up as regular files, and on Linux and Mac they show
up as real symlinks.
Issue1888 presents a case where the symlink files are better ignored
from the Windows side. A Linux client creates symlinks in a working
copy which is shared over a network between Linux and Windows clients.
The Samba server is helpful and defererences the symlink when the
Windows client looks at it. This means that Mercurial on the Windows
side sees file content instead of a file name in the symlink, and
hence flags the link as modified. Ignoring the change would be much
more helpful, similarly to how Mercurial does not report any changes
when executable bits are ignored in a checkout on Windows.
An initial checkout of a symbolic link on a file system that cannot
handle symbolic links will still result in a regular file containing
the target file name as its content. Sharing such a checkout with a
Linux client will not turn the file into a symlink automatically, but
'hg revert' can fix that. After the revert, the Windows client will
see the correct file content (provided by the Samba server when it
follows the link on the Linux side) and otherwise ignore the change.
Running 'hg perfstatus' 10 times gives these results:
Before: After:
min: 0.544703 min: 0.546549
med: 0.547592 med: 0.548881
avg: 0.549146 avg: 0.548549
max: 0.564112 max: 0.551504
The median time is increased about 0.24%.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 08 Aug 2010 23:10:08 +0200] rev 11768
mq/qqueue: enable bash completion
Return the list of available queues when completion is attempted on qqueue.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 08 Aug 2010 22:49:01 +0200] rev 11767
mq/qqueue: --list does not print (active) with --quiet
For scripting purposes, it can be convenient to get a simple listing of
available queues, without indication of the active one.
--quiet documentation change removed by Patrick Mézard.
Patrick Mezard <pmezard@gmail.com> [Sun, 08 Aug 2010 22:29:39 +0200] rev 11766
Merge with stable
Yuya Nishihara <yuya@tcha.org> [Sat, 07 Aug 2010 16:27:16 +0900] rev 11765
templatefilters: make json filter handle multibyte characters correctly
It aims to fix javascript error of hgweb's graph view in Japanese 'cp932'
encoding.
'cp932' contains multibyte characters ending with '\x5c' (backslash),
e.g. '\x94\x5c' for Japanese Kanji 'Noh'.
Due to json filter escapes '\' to '\\', multibyte string ending with
'\x5c' is translated to "xxx\", resulting javascript parse error on
a web browser.
This patch changes json() to pass unicode to jsonescape().
Unicode decoding error handler changed to 'replace' by Patrick Mézard.
Renato Cunha <renatoc@gmail.com> [Sat, 07 Aug 2010 16:13:53 -0300] rev 11764
check-code: added a check for calls to the builtin cmp function
Renato Cunha <renatoc@gmail.com> [Sat, 07 Aug 2010 16:12:51 -0300] rev 11763
manifest: removed usage of the global cmp function
Py3k doesn't have a global cmp() function, making this call problematic in the
py3k port. Also, calling cmp() here is not necessary, since we only want to
know if the two values are equal. A check for equality perfect in this case and
this patch does that.
Patrick Mezard <pmezard@gmail.com> [Sat, 07 Aug 2010 15:38:05 +0200] rev 11762
tests: run check-code.py on working directory files
If we insist on Mercurial sources to pass check-code.py, let automate the
process and make it part of the tests.
Objections?
Alecs King <alecsk@gmail.com> [Sat, 07 Aug 2010 12:55:30 +0800] rev 11761
minor style fix: hgext/rebase.py:157 -- line too long
found by a run of check-code
Yuya Nishihara <yuya@tcha.org> [Sat, 07 Aug 2010 15:32:33 +0900] rev 11760
zsh completions: add qpush --move option
Matt Mackall <mpm@selenic.com> [Fri, 06 Aug 2010 12:59:13 -0500] rev 11759
Merge with stable
Matt Mackall <mpm@selenic.com> [Fri, 06 Aug 2010 12:18:33 -0500] rev 11758
chunkbuffer: use += rather than cStringIO to reduce memory footprint
This significantly refactors the read() loop to use a queue of chunks.
The queue is alternately filled to at least 256k and then emptied by
concatenating onto the output buffer.
For very large read sizes, += uses less memory because it can resize
the target string in place.
Matt Mackall <mpm@selenic.com> [Thu, 05 Aug 2010 16:17:39 -0500] rev 11757
httprepo: decompress stream incrementally to reduce memory usage
Matt Mackall <mpm@selenic.com> [Thu, 05 Aug 2010 16:17:33 -0500] rev 11756
verify: initialize rp variable in case we hit out of memory
Matt Mackall <mpm@selenic.com> [Thu, 05 Aug 2010 16:17:17 -0500] rev 11755
merge: drop reference to file contents after write
This reduces memory usage on large consecutive gets.
Matt Mackall <mpm@selenic.com> [Thu, 05 Aug 2010 16:17:17 -0500] rev 11754
revlog: drop cache after use to save memory footprint
If we reconstruct back to back large versions, we need to drop the cache first to avoid doubling memory usage.
Matt Mackall <mpm@selenic.com> [Thu, 05 Aug 2010 16:17:17 -0500] rev 11753
verify: reduce memory footprint when unpacking files
By never holding a reference to the unpacked string, we avoid holding two
consecutive large files in memory.
Matt Mackall <mpm@selenic.com> [Thu, 05 Aug 2010 16:17:17 -0500] rev 11752
verify: report exceptions that don't have a str() method
Matt Mackall <mpm@selenic.com> [Wed, 04 Aug 2010 13:21:11 -0500] rev 11751
color: fix test-diff-color breakage
Brodie Rao <brodie@bitheap.org> [Tue, 03 Aug 2010 13:02:11 -0400] rev 11750
hgcia/color: remove star imports
This plays nicer with demandimport and allows pyflakes to detect undefined
names.
Renato Cunha <renatoc@gmail.com> [Tue, 03 Aug 2010 13:59:14 -0300] rev 11749
hgfixes: added a fixer that makes bytes to be formatted correctly
This patch implement a fixer that replaces all calls to the '%' when bytes
arguments are used to a call to bytesformatter(), a function that knows how to
format byte strings. As one can't be sure if a formatting call is done when
only variables are used in a '%' call, these calls are also translated. The
bytesformatter, in runtime, makes sure to return the "raw" % operation if
that's what was intended.
Renato Cunha <renatoc@gmail.com> [Tue, 03 Aug 2010 13:52:48 -0300] rev 11748
py3kcompat: added a "compatibility layer" for py3k
This patch adds some ugly constructs. The first of them is bytesformatter, a
function that formats strings like when '%' is called. The main motivation for
this function is py3k's strange behavior:
>>> 'foo %s' % b'bar'
"foo b'bar'"
>>> b'foo %s' % b'bar'
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: unsupported operand type(s) for %: 'bytes' and 'bytes'
>>> b'foo %s' % 'bar'
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: unsupported operand type(s) for %: 'bytes' and 'str'
In other words, if we can't format bytes with bytes, and recall that all
mercurial strings will be converted by a fixer, then things will break badly if
we don't take a similar approach.
The other addition with this patch is that the os.environ dictionary is
monkeypatched to have bytes items. Hopefully this won't be needed in the
future, as python 3.2 might get a os.environb dictionary that holds bytes
items.
Renato Cunha <renatoc@gmail.com> [Tue, 03 Aug 2010 13:41:47 -0300] rev 11747
hgfixes: add a fixer to convert plain strings to bytestrings
This patch implements a 2to3 fixer that converts all plain strings in a python
source file to byte strings syntax. Example:
foo = 'Normal string'
would become
foo = b'Normal string'
The motivation behind this fixer can be found in
http://selenic.com/pipermail/mercurial-devel/2010-June/022363.html or, in other
words: the current hg source assumes that _most_ strings are "meant" to be byte
sequences, so it makes sense to make the convertion implemented by this patch.
As mentioned above, not all mercurial modules want to use strings as bytes,
examples include i18n (which uses unicode), and demandimport (in py3k, module
names are normal strings, thus unicode, and there's no need for a convertion).
Therefore, these modules are blacklisted in the fixer. There are also a few
functions that can take only unicode arguments, thus the convertion shouldn't
be done for those.
Vishakh H <vsh426@gmail.com> [Tue, 03 Aug 2010 19:38:19 +0530] rev 11746
revlog: add shallow header flag
REVLOGSHALLOW header flag to mark revlog as shallow.
The _shallow attribute of the revlog is used to check if the header flag is set.
Vishakh H <vsh426@gmail.com> [Tue, 03 Aug 2010 19:38:19 +0530] rev 11745
revlog: add punched revision flag
index flag to identify a revision as punched, i.e. it contains no data.
REVIDX_PUNCHED_FLAG = 2, is used to mark a revision as punched.
REVIDX_KNOWN_FLAGS is the accumulation of all index flags.
Matt Mackall <mpm@selenic.com> [Tue, 03 Aug 2010 00:10:28 -0500] rev 11744
tests: unify test-tags
Matt Mackall <mpm@selenic.com> [Mon, 02 Aug 2010 23:43:06 -0500] rev 11743
tests: unify test-empty
Matt Mackall <mpm@selenic.com> [Mon, 02 Aug 2010 23:29:14 -0500] rev 11742
tests: unify test-basic
Matt Mackall <mpm@selenic.com> [Mon, 02 Aug 2010 23:27:22 -0500] rev 11741
tests: basic support for unified tests
Matt Mackall <mpm@selenic.com> [Mon, 02 Aug 2010 15:44:54 -0500] rev 11740
tests: move script execution in runner helpers
Matt Mackall <mpm@selenic.com> [Mon, 02 Aug 2010 13:31:43 -0500] rev 11739
Merge with stable
Matt Mackall <mpm@selenic.com> [Mon, 02 Aug 2010 13:30:03 -0500] rev 11738
Added signature for changeset
c00f03a4982e
Matt Mackall <mpm@selenic.com> [Mon, 02 Aug 2010 13:30:03 -0500] rev 11737
Added tag 1.6.2 for changeset
c00f03a4982e
Wagner Bruna <wbruna@yahoo.com> [Mon, 02 Aug 2010 13:18:32 -0300] rev 11736
i18n-pt_BR: synchronized with
87dcf758309d
Wagner Bruna <wbruna@yahoo.com> [Mon, 02 Aug 2010 13:11:33 -0300] rev 11735
merge with i18n stable
Jens Bäckman <jens.backman@gmail.com> [Sun, 01 Aug 2010 22:43:13 +0200] rev 11734
i18n-sv: synchronized with
56b41b2cc690
Matt Mackall <mpm@selenic.com> [Mon, 02 Aug 2010 10:55:51 -0500] rev 11733
Merge with stable
Brodie Rao <brodie@bitheap.org> [Mon, 02 Aug 2010 10:48:31 -0400] rev 11732
color: call correct superclass method in write_err
Without this fix, any calls to write_err would go to stdout instead of
stderr, and calls during pushbuffer would cause unpack ValueErrors on
popbuffer.
timeless <timeless@gmail.com> [Fri, 30 Jul 2010 10:38:54 +0300] rev 11731
convert/progress: use plural and avoid retrieving
Matt Mackall <mpm@selenic.com> [Sun, 01 Aug 2010 16:02:56 -0500] rev 11730
qfinish: fix range logic for --applied
qbase:qtip can include non-mq csets, use qbase::qtip instead
timeless <timeless@gmail.com> [Tue, 20 Jul 2010 20:53:48 +0200] rev 11729
rebase/progress: Adding progress for rebasing
timeless <timeless@gmail.com> [Thu, 22 Jul 2010 18:47:46 +0300] rev 11728
record: count lines changed as the number of lines added or removed
per "record" hunk
Record deals in hunks which are tighter than traditional patch hunks,
really only a single run of additions/removals. Another addition, even a
line after a fixed line is treated as a new hunk by record.
Brodie Rao <brodie@bitheap.org> [Sun, 01 Aug 2010 16:26:02 -0400] rev 11727
color: pass write/write_err to win32print correctly (
issue2312)
Matt Mackall <mpm@selenic.com> [Sun, 01 Aug 2010 13:52:42 -0500] rev 11726
Merge with stable
Matt Mackall <mpm@selenic.com> [Sun, 01 Aug 2010 13:49:43 -0500] rev 11725
Added signature for changeset
bf1774d95bde
Matt Mackall <mpm@selenic.com> [Sun, 01 Aug 2010 13:49:42 -0500] rev 11724
Added tag 1.6.1 for changeset
bf1774d95bde
Matt Mackall <mpm@selenic.com> [Sun, 01 Aug 2010 08:54:30 -0500] rev 11723
Merge with stable
Wagner Bruna <wbruna@yahoo.com> [Sun, 01 Aug 2010 01:54:31 -0300] rev 11722
i18n-pt_BR: synchronized with
db426935fa94
Wagner Bruna <wbruna@yahoo.com> [Sun, 01 Aug 2010 01:51:21 -0300] rev 11721
Merge with stable
Wagner Bruna <wbruna@yahoo.com> [Sun, 01 Aug 2010 01:46:58 -0300] rev 11720
i18n-pt_BR: synchronized with
0e789549271d
Jens Bäckman <jens@titv.se> [Sun, 25 Jul 2010 10:51:05 +0200] rev 11719
i18n-sv: synchronized with
c47cb3193c53
Matt Mackall <mpm@selenic.com> [Sat, 31 Jul 2010 18:27:03 -0500] rev 11718
help: fix bytes/digit confusion for hashes
spotted by FUJIWARA Katsunori <fujiwara@ascade.co.jp>
Matt Mackall <mpm@selenic.com> [Sat, 31 Jul 2010 18:12:50 -0500] rev 11717
Merge with stable
timeless <timeless@gmail.com> [Fri, 30 Jul 2010 10:32:24 +0300] rev 11716
progress: use gerund (updating) for merge progress
Gilles Moris <gilles.moris@free.fr> [Sat, 10 Jul 2010 21:23:00 +0200] rev 11715
qpush --move: move the right patch even with comment lines
88fc876a4833 caused that we find the index of the moving patch in self.series
but look it up in self.full_series. The difference between these is that
full_series also contains comment lines, and we thus moved the wrong patch.
Use back self.full_series to find the moving patch, but take care of striping
the patch guard markers before comparing the patch name. Test cases have been
added for comments and empty lines in self.full_series, and for the case of
guarded patches.
Original patch contributed by Mads Kiilerich <mads@kiilerich.com>
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sat, 31 Jul 2010 11:41:58 +0900] rev 11714
merge with stable
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sat, 31 Jul 2010 11:41:42 +0900] rev 11713
perf: break down long line
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sat, 31 Jul 2010 11:36:24 +0900] rev 11712
dispatch: trailing whitespace
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sat, 31 Jul 2010 11:05:11 +0900] rev 11711
merge crew and main
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sat, 31 Jul 2010 11:04:33 +0900] rev 11710
merge crew and main
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sat, 31 Jul 2010 10:50:29 +0900] rev 11709
mq: clarify the fact that qimport is trying to read a file
"hg qimport tip" would throw "abort: unable to read tip" before this.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Fri, 30 Jul 2010 10:07:46 +0900] rev 11708
revset: add min function
Nicolas Dumazet <nicdumz.commits@gmail.com> [Fri, 30 Jul 2010 14:41:47 +0900] rev 11707
runrst: try to be more helpful if docutils is not installed
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 29 Jul 2010 17:18:17 +0900] rev 11706
mq: correct qimport documentation
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 29 Jul 2010 12:10:22 +0900] rev 11705
merge with stable
Idan Kamara <idankk86@gmail.com> [Sat, 24 Jul 2010 11:20:21 +0300] rev 11704
bookmarks: don't allow name to contain whitespaces only
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 29 Jul 2010 10:39:59 +0900] rev 11703
context: reuse filecontext.cmp in workingfilecontext.cmp
Same code path should mean less mistakes, and hopefully, better
caching.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Tue, 27 Jul 2010 23:40:46 +0900] rev 11702
filectx: use cmp(self, fctx) instead of cmp(self, text)
This allows more flexibility in implementation, and in particular,
lets the context decide if revision text has to be loaded or not.
Patrick Mezard <pmezard@gmail.com> [Wed, 28 Jul 2010 11:07:20 +0200] rev 11701
mq: fix qimport --name --existing --force on win32
os.rename() does not overwrite existing targets on Windows.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Fri, 23 Jul 2010 23:43:43 +0900] rev 11700
mq: document possible combination of -e and -n for qimport
Nicolas Dumazet <nicdumz.commits@gmail.com> [Wed, 21 Jul 2010 11:53:09 +0900] rev 11699
mq: support "qimport --existing --name renametothis thatexistingpatch"
Before this change, the command would abort with a not too clear "patch
renametothis does not exist" error.
This change makes:
qimport --existing --name renametothis thatexistingpatch
equivalent to:
qimport --existing thatexistingpatch; qrename thatexistingpatch renametothis
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sat, 24 Jul 2010 00:28:20 +0900] rev 11698
localrepo: refactor filter computation
Separate loading part from access part to be able to tell with:
repo._loadfilter(name)
bool(name in repo.filterpats)
if there is a 'name' filter available.
Matt Mackall <mpm@selenic.com> [Tue, 27 Jul 2010 16:04:00 -0500] rev 11697
Merge with stable
Matt Mackall <mpm@selenic.com> [Tue, 27 Jul 2010 16:03:42 -0500] rev 11696
Merge with crew
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Tue, 27 Jul 2010 14:43:40 +0200] rev 11695
alias: improved diagnostic when arguments include --cwd, etc.
The logic pre-emptively checks for -R, --repo, --repository and --cwd
in order to give the user a more helpful error message. In addition,
each option is handled invididually, which avoids listing them all in
the error.
Before:
% hg --config alias.broken='push --cwd /dev/null' broken
abort: Option --cwd may not be abbreviated!
After:
% hg --config alias.broken='push --cwd /dev/null' broken
error in definition for alias 'broken': --cwd may only be given on the command line
Pradeepkumar Gayam <in3xes@gmail.com> [Tue, 27 Jul 2010 20:50:09 +0530] rev 11694
perf: add perfrevlog function to check performance of revlog
Pradeepkumar Gayam <in3xes@gmail.com> [Tue, 27 Jul 2010 01:16:38 +0530] rev 11693
revlog: add a flags method that returns revision flags
Benjamin Pollack <benjamin@bitquabit.com> [Tue, 27 Jul 2010 14:40:25 -0400] rev 11692
tag: do not allow tag names to consist solely of whitespace (
issue2307)
(simplification and test by mpm)
Matt Mackall <mpm@selenic.com> [Sun, 25 Jul 2010 21:20:05 -0500] rev 11691
Merge with stable
Mads Kiilerich <mads@kiilerich.com> [Tue, 20 Jul 2010 15:49:28 +0200] rev 11690
convert: warn on superfluous / in paths
shlex is really a bad parser for this line-based format ...
David Soria Parra <dsp@php.net> [Sat, 24 Jul 2010 22:15:22 +0200] rev 11689
inotify: remove unused variable
Matt Mackall <mpm@selenic.com> [Sun, 25 Jul 2010 17:18:35 -0500] rev 11688
convert: handle closed branch heads in hg-hg conversion (
issue2185)
Matt Mackall <mpm@selenic.com> [Sun, 25 Jul 2010 17:10:32 -0500] rev 11687
check-code: add warning on lines over 80 characters
Patrick Mezard <pmezard@gmail.com> [Mon, 26 Jul 2010 23:26:15 +0200] rev 11686
debugbuilddag: build repository content in binary mode
Patrick Mezard <pmezard@gmail.com> [Mon, 26 Jul 2010 22:29:49 +0200] rev 11685
cleanup: typos