Sun, 29 Aug 2010 23:56:19 +0200 util: use 'auditor' as consistent name for path auditors
Martin Geisler <mg@lazybytes.net> [Sun, 29 Aug 2010 23:56:19 +0200] rev 12078
util: use 'auditor' as consistent name for path auditors
Sun, 29 Aug 2010 23:56:19 +0200 util: add optional path auditor argument to canonpath
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.
Sat, 28 Aug 2010 12:31:07 -0400 mail/hgweb: support service names for ports (issue2350)
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.
Fri, 27 Aug 2010 16:25:47 +0200 tests: unify test-qrecord
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Fri, 27 Aug 2010 16:25:47 +0200] rev 12075
tests: unify test-qrecord
Fri, 27 Aug 2010 16:25:47 +0200 tests: unify test-record
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Fri, 27 Aug 2010 16:25:47 +0200] rev 12074
tests: unify test-record
Fri, 27 Aug 2010 16:25:47 +0200 tests: unify test-help
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Fri, 27 Aug 2010 16:25:47 +0200] rev 12073
tests: unify test-help
Fri, 27 Aug 2010 00:27:40 +0200 tests: unify test-bheads
Adrian Buehlmann <adrian@cadifra.com> [Fri, 27 Aug 2010 00:27:40 +0200] rev 12072
tests: unify test-bheads
Thu, 26 Aug 2010 12:41:00 +0200 tests: unify test-lock-badness
Adrian Buehlmann <adrian@cadifra.com> [Thu, 26 Aug 2010 12:41:00 +0200] rev 12071
tests: unify test-lock-badness
Sun, 29 Aug 2010 22:55:37 +0200 Merge with stable
Martin Geisler <mg@lazybytes.net> [Sun, 29 Aug 2010 22:55:37 +0200] rev 12070
Merge with stable
Sun, 29 Aug 2010 22:46:00 +0200 churn: do not crash on malformed lines in alias file 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
Sun, 29 Aug 2010 10:54:22 +0200 churn: do not crash on empty lines in alias file stable
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
Sun, 29 Aug 2010 22:37:58 +0200 Lowercase error messages stable
Martin Geisler <mg@lazybytes.net> [Sun, 29 Aug 2010 22:37:58 +0200] rev 12067
Lowercase error messages
Sat, 28 Aug 2010 23:57:39 +0200 localrepo: introduce method for explicit branch cache update
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.
Fri, 27 Aug 2010 22:24:47 -0500 color: handle more Windows console errors
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.
Wed, 25 Aug 2010 23:26:18 +0100 patchbomb: remove unneeded line continuation
Christian Ebert <blacktrash@gmx.net> [Wed, 25 Aug 2010 23:26:18 +0100] rev 12064
patchbomb: remove unneeded line continuation
Fri, 27 Aug 2010 13:32:40 -0400 cleanup: remove unused variables
Brodie Rao <brodie@bitheap.org> [Fri, 27 Aug 2010 13:32:40 -0400] rev 12063
cleanup: remove unused variables
Fri, 27 Aug 2010 13:32:38 -0400 cleanup: remove unused imports
Brodie Rao <brodie@bitheap.org> [Fri, 27 Aug 2010 13:32:38 -0400] rev 12062
cleanup: remove unused imports
Fri, 27 Aug 2010 13:18:25 +0200 Merge with stable
Martin Geisler <mg@lazybytes.net> [Fri, 27 Aug 2010 13:18:25 +0200] rev 12061
Merge with stable
Fri, 27 Aug 2010 13:03:57 +0200 subrepo: use [0-9] instead of [\d] in svn subrepo regex
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.
Thu, 26 Aug 2010 23:38:13 +0200 webcommands: remove unncessary access to repo.changelog
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.
Thu, 26 Aug 2010 23:38:13 +0200 archival: do not use repo.changelog directly
Patrick Mezard <pmezard@gmail.com> [Thu, 26 Aug 2010 23:38:13 +0200] rev 12058
archival: do not use repo.changelog directly
Thu, 26 Aug 2010 23:38:13 +0200 repair: pass variable explicitely to nested function
Patrick Mezard <pmezard@gmail.com> [Thu, 26 Aug 2010 23:38:13 +0200] rev 12057
repair: pass variable explicitely to nested function
Thu, 26 Aug 2010 23:11:03 +0200 mercurial.spec: specify file modes for install stable
Mads Kiilerich <mads@kiilerich.com> [Thu, 26 Aug 2010 23:11:03 +0200] rev 12056
mercurial.spec: specify file modes for install
Thu, 26 Aug 2010 22:51:48 +0200 simplemerge: remove hash-bang from non-executable script stable
Mads Kiilerich <mads@kiilerich.com> [Thu, 26 Aug 2010 22:51:48 +0200] rev 12055
simplemerge: remove hash-bang from non-executable script
Thu, 26 Aug 2010 11:03:12 -0500 merge with stable
Matt Mackall <mpm@selenic.com> [Thu, 26 Aug 2010 11:03:12 -0500] rev 12054
merge with stable
Thu, 26 Aug 2010 11:00:46 -0500 Added signature for changeset ff5cec76b1c5 stable
Matt Mackall <mpm@selenic.com> [Thu, 26 Aug 2010 11:00:46 -0500] rev 12053
Added signature for changeset ff5cec76b1c5
Thu, 26 Aug 2010 11:00:42 -0500 Added tag 1.6.3 for changeset ff5cec76b1c5 stable
Matt Mackall <mpm@selenic.com> [Thu, 26 Aug 2010 11:00:42 -0500] rev 12052
Added tag 1.6.3 for changeset ff5cec76b1c5
Tue, 17 Aug 2010 17:38:19 -0500 util: avoid using hashlib on Python < 2.5 (issue2278) stable 1.6.3
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.
Mon, 16 Aug 2010 12:55:42 -0500 templates: add filenolink to raw style (issue2332) stable
Matt Mackall <mpm@selenic.com> [Mon, 16 Aug 2010 12:55:42 -0500] rev 12050
templates: add filenolink to raw style (issue2332)
Fri, 13 Aug 2010 10:53:10 +0200 url: limit expansion to safe auth keys (Issue2328) stable
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.
Fri, 13 Aug 2010 10:10:11 +0200 url: expand vars in all [auth] settings (issue2328) stable
Martin Geisler <mg@aragost.com> [Fri, 13 Aug 2010 10:10:11 +0200] rev 12048
url: expand vars in all [auth] settings (issue2328)
Thu, 26 Aug 2010 17:55:07 +0200 merge with stable
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 26 Aug 2010 17:55:07 +0200] rev 12047
merge with stable
Thu, 26 Aug 2010 17:38:43 +0200 Fix merge-tools.checkconflicts 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.
Thu, 26 Aug 2010 17:38:43 +0200 Fix merge-tools.checkconflicts
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.
Wed, 25 Aug 2010 16:55:54 -0500 bundlerepo: remove duplication of bundle decompressors
Matt Mackall <mpm@selenic.com> [Wed, 25 Aug 2010 16:55:54 -0500] rev 12044
bundlerepo: remove duplication of bundle decompressors
Wed, 25 Aug 2010 16:53:06 -0500 bundle: introduce bundle class
Matt Mackall <mpm@selenic.com> [Wed, 25 Aug 2010 16:53:06 -0500] rev 12043
bundle: introduce bundle class
Wed, 25 Aug 2010 15:33:06 -0500 bundle: unify/refactor unbundle/readbundle
Matt Mackall <mpm@selenic.com> [Wed, 25 Aug 2010 15:33:06 -0500] rev 12042
bundle: unify/refactor unbundle/readbundle
Wed, 25 Aug 2010 15:33:05 -0500 bundle: factor out decompressor
Matt Mackall <mpm@selenic.com> [Wed, 25 Aug 2010 15:33:05 -0500] rev 12041
bundle: factor out decompressor
Wed, 25 Aug 2010 15:20:25 -0500 merge with stable
Matt Mackall <mpm@selenic.com> [Wed, 25 Aug 2010 15:20:25 -0500] rev 12040
merge with stable
Sat, 21 Aug 2010 22:48:14 -0400 alias: make shadowing behavior more consistent (issue2054) 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.
Tue, 24 Aug 2010 23:30:51 +0900 hgweb: handle exception of misconfigured path on index page stable
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.
Tue, 24 Aug 2010 13:13:35 -0500 statichttprepo: disable pushkey
Matt Mackall <mpm@selenic.com> [Tue, 24 Aug 2010 13:13:35 -0500] rev 12037
statichttprepo: disable pushkey
Fri, 13 Aug 2010 16:05:08 +0200 mq: extend support for the --mq argument to extension commands
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.
Sun, 22 Aug 2010 13:17:34 +0200 repository: drop unused rjoin() method
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.
Tue, 24 Aug 2010 15:13:11 +0200 tests: unify test-export
Adrian Buehlmann <adrian@cadifra.com> [Tue, 24 Aug 2010 15:13:11 +0200] rev 12034
tests: unify test-export
Wed, 25 Aug 2010 16:40:49 +0200 revert: wrap long line
Martin Geisler <mg@lazybytes.net> [Wed, 25 Aug 2010 16:40:49 +0200] rev 12033
revert: wrap long line
Wed, 25 Aug 2010 16:23:32 +0200 util: remove lexists, Python 2.4 introduced os.path.lexists
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
Wed, 25 Aug 2010 13:40:46 +0200 Merge with stable
Martin Geisler <mg@lazybytes.net> [Wed, 25 Aug 2010 13:40:46 +0200] rev 12031
Merge with stable
Wed, 25 Aug 2010 13:29:46 +0200 context: mark string for translation stable
Martin Geisler <mg@lazybytes.net> [Wed, 25 Aug 2010 13:29:46 +0200] rev 12030
context: mark string for translation
Thu, 01 Jul 2010 16:30:41 +0200 test-convert-cvs: test fuzz stable
Mads Kiilerich <mads at kiilerich.com> [Thu, 01 Jul 2010 16:30:41 +0200] rev 12029
test-convert-cvs: test fuzz
Mon, 23 Aug 2010 22:32:36 +0200 test-dispatch: drop test for missing working directory stable
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.
Mon, 23 Aug 2010 22:22:05 +0200 Merge with stable
Martin Geisler <mg@lazybytes.net> [Mon, 23 Aug 2010 22:22:05 +0200] rev 12027
Merge with stable
Mon, 23 Aug 2010 22:16:56 +0200 bookmarks: guard against listing bookmarks on unsupported repos 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.
Mon, 23 Aug 2010 13:28:04 +0200 mdiff.patch(): add a special case for when the base text is empty
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()
Mon, 23 Aug 2010 13:24:19 +0200 revlog: add rawsize(), identical to size() but not subclassed by filelog
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
Sun, 22 Aug 2010 23:17:17 +0200 revlog.addrevision(): move computation of nodeid in addrevision()
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().
Sun, 22 Aug 2010 19:41:04 +0200 contrib/compress: compress should activate parentdelta
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 22 Aug 2010 19:41:04 +0200] rev 12022
contrib/compress: compress should activate parentdelta
Sun, 22 Aug 2010 19:27:09 +0200 contrib/compress: correct ordering of copying
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.
Sun, 22 Aug 2010 19:26:07 +0200 contrib/compress: refactor revlog copying
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 22 Aug 2010 19:26:07 +0200] rev 12020
contrib/compress: refactor revlog copying
Sun, 22 Aug 2010 19:13:30 +0200 contrib/compress: use store API instead of a collector
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
Sun, 22 Aug 2010 18:29:30 +0200 contrib/compress: proper lock handling
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.
Sun, 22 Aug 2010 18:23:32 +0200 contrib/compress: use hg API to compute the destination path
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
Sun, 22 Aug 2010 18:21:30 +0200 contrib/compress: use repo's transaction method
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 22 Aug 2010 18:21:30 +0200] rev 12016
contrib/compress: use repo's transaction method
Sun, 22 Aug 2010 18:18:36 +0200 contrib/compress: remove unused variables
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 22 Aug 2010 18:18:36 +0200] rev 12015
contrib/compress: remove unused variables
Sat, 21 Aug 2010 23:24:52 -0400 tests: unify test-hgrc
Brodie Rao <brodie@bitheap.org> [Sat, 21 Aug 2010 23:24:52 -0400] rev 12014
tests: unify test-hgrc
Sun, 22 Aug 2010 12:04:15 +0200 tests: remove test-log.out, useless after unification
Patrick Mezard <pmezard@gmail.com> [Sun, 22 Aug 2010 12:04:15 +0200] rev 12013
tests: remove test-log.out, useless after unification
Sat, 21 Aug 2010 19:31:59 +0200 revlog: fix docstring
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 21 Aug 2010 19:31:59 +0200] rev 12012
revlog: fix docstring
Sat, 21 Aug 2010 19:30:42 +0200 deltaparent(): don't return nullrev for a revision containing a full snapshot
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
Sat, 21 Aug 2010 10:48:49 -0500 merge with stable
Matt Mackall <mpm@selenic.com> [Sat, 21 Aug 2010 10:48:49 -0500] rev 12010
merge with stable
Sat, 21 Aug 2010 10:44:57 -0500 tests: fix up bisect test output stable
Matt Mackall <mpm@selenic.com> [Sat, 21 Aug 2010 10:44:57 -0500] rev 12009
tests: fix up bisect test output
Sat, 21 Aug 2010 10:41:29 -0500 merge: move reverse-merge logic out of filemerge (issue2342) stable
Matt Mackall <mpm@selenic.com> [Sat, 21 Aug 2010 10:41:29 -0500] rev 12008
merge: move reverse-merge logic out of filemerge (issue2342)
Fri, 20 Aug 2010 21:28:14 -0500 bisect: add test for unrelated starting revisions
Matt Mackall <mpm@selenic.com> [Fri, 20 Aug 2010 21:28:14 -0500] rev 12007
bisect: add test for unrelated starting revisions
Fri, 20 Aug 2010 21:23:47 -0500 merge with stable
Matt Mackall <mpm@selenic.com> [Fri, 20 Aug 2010 21:23:47 -0500] rev 12006
merge with stable
Fri, 20 Aug 2010 17:16:37 -0500 bisect: better message for unrelated starting revisions stable
Matt Mackall <mpm@selenic.com> [Fri, 20 Aug 2010 17:16:37 -0500] rev 12005
bisect: better message for unrelated starting revisions
Fri, 20 Aug 2010 15:31:05 -0500 debuginstall: report installpath
Matt Mackall <mpm@selenic.com> [Fri, 20 Aug 2010 15:31:05 -0500] rev 12004
debuginstall: report installpath
Fri, 20 Aug 2010 18:26:20 +0200 tests: unify test-glog
Adrian Buehlmann <adrian@cadifra.com> [Fri, 20 Aug 2010 18:26:20 +0200] rev 12003
tests: unify test-glog
Thu, 19 Aug 2010 17:33:46 -0500 bookmarks: fix long line
Matt Mackall <mpm@selenic.com> [Thu, 19 Aug 2010 17:33:46 -0500] rev 12002
bookmarks: fix long line
Thu, 19 Aug 2010 17:29:13 -0500 merge with stable
Matt Mackall <mpm@selenic.com> [Thu, 19 Aug 2010 17:29:13 -0500] rev 12001
merge with stable
Fri, 13 Aug 2010 19:42:28 +0530 revlog: addgroup re-adds punched revisions for missing parents
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.
Fri, 13 Aug 2010 19:41:51 +0530 revlog: generate full revisions when parent node is missing
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.
Fri, 20 Aug 2010 00:17:50 +0200 revlog.revision(): inline deltachain computation
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Fri, 20 Aug 2010 00:17:50 +0200] rev 11998
revlog.revision(): inline deltachain computation
Fri, 20 Aug 2010 00:17:50 +0200 revlog.revision(): remove debug code
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Fri, 20 Aug 2010 00:17:50 +0200] rev 11997
revlog.revision(): remove debug code
Fri, 20 Aug 2010 00:17:50 +0200 revlog.revision(): don't use nullrev as the default value for the cache
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.
Fri, 20 Aug 2010 00:17:50 +0200 revlog.revision(): minor cleanup
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).
Thu, 19 Aug 2010 15:04:21 -0400 bookmarks: Check if the bookmark to delete exists on the remote stable
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
Thu, 19 Aug 2010 23:13:20 +0200 Merge with stable
Patrick Mezard <pmezard@gmail.com> [Thu, 19 Aug 2010 23:13:20 +0200] rev 11993
Merge with stable
Thu, 19 Aug 2010 22:51:09 +0200 win32: remove useless lstat() fallback in nlinks() 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.
Thu, 19 Aug 2010 22:51:09 +0200 win32: correctly break hardlinks on network drives (issue761) stable
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.
Thu, 19 Aug 2010 11:51:30 -0500 merge with stable
Matt Mackall <mpm@selenic.com> [Thu, 19 Aug 2010 11:51:30 -0500] rev 11990
merge with stable
Wed, 18 Aug 2010 18:56:44 -0400 aliases: provide more flexible ways to work with shell alias arguments
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
Wed, 18 Aug 2010 18:18:26 -0400 util: add an interpolate() function to for replacing multiple values
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.
Wed, 18 Aug 2010 10:53:52 -0400 convert: use encoding.encoding instead of locale.getpreferredencoding() stable
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.
Wed, 18 Aug 2010 10:53:50 -0400 convert: properly set encoding for gnuarch converter stable
Brodie Rao <brodie@bitheap.org> [Wed, 18 Aug 2010 10:53:50 -0400] rev 11986
convert: properly set encoding for gnuarch converter
Thu, 19 Aug 2010 11:14:09 -0500 log: add logging for commands
Matt Mackall <mpm@selenic.com> [Thu, 19 Aug 2010 11:14:09 -0500] rev 11985
log: add logging for commands
Thu, 19 Aug 2010 11:14:02 -0500 ui: add logging hook
Matt Mackall <mpm@selenic.com> [Thu, 19 Aug 2010 11:14:02 -0500] rev 11984
ui: add logging hook
Wed, 18 Aug 2010 06:05:09 +0530 tests: unify test-merge10
Pradeepkumar Gayam <in3xes@gmail.com> [Wed, 18 Aug 2010 06:05:09 +0530] rev 11983
tests: unify test-merge10
(0) -10000 -3000 -1000 -300 -100 -96 +96 +100 +300 +1000 +3000 +10000 +30000 tip