Adrian Buehlmann <adrian@cadifra.com> [Mon, 11 Apr 2011 10:06:57 +0200] rev 13928
path_auditor: eliminate local function 'check' in __call__
Augie Fackler <durin42@gmail.com> [Mon, 11 Apr 2011 07:34:40 -0500] rev 13927
subrepo: trailing whitespace cleanup
Adrian Buehlmann <adrian@cadifra.com> [Sun, 10 Apr 2011 19:31:49 +0200] rev 13926
util: move checkosfilename call from path_auditor to opener
path_auditor is used for checking patterns too, but a pattern is not a valid
filename.
This patch fixes
98ee3dd5bab4, which introduced the bug:
$ hg log -l3 glob:**.py
abort: filename contains '*', which is reserved on Windows: mercurial\**.py
Idan Kamara <idankk86@gmail.com> [Sun, 10 Apr 2011 11:30:53 +0300] rev 13925
tests: add tests for non-existant branch/tag/bookmark
Yuya Nishihara <yuya@tcha.org> [Sun, 10 Apr 2011 10:01:42 +0900] rev 13924
hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org> [Sun, 10 Apr 2011 10:01:39 +0900] rev 13923
hgweb: remove useless notip handling from bookmarks listing
Yuya Nishihara <yuya@tcha.org> [Sun, 10 Apr 2011 10:01:37 +0900] rev 13922
hgweb: sort bookmarks in the same manner as console command
Yuya Nishihara <yuya@tcha.org> [Sun, 10 Apr 2011 06:37:20 +0900] rev 13921
hgweb: add bookmarks listing to raw style with test case
Md. O. Shayan <mdoshayan@gmail.com> [Sat, 09 Apr 2011 23:13:17 +0530] rev 13920
grep: don't print data from binary files for matches (
issue2614)
Idan Kamara <idankk86@gmail.com> [Sat, 09 Apr 2011 23:53:23 +0300] rev 13919
color: reset win32 console color in a finally block
Matt Mackall <mpm@selenic.com> [Sat, 09 Apr 2011 15:52:19 -0500] rev 13918
tests: better output on timeouts
Formerly, timeouts would generate huge scrollback-destroying diffs and
weird -15 return codes in the summary. Now we simply report "timed
out".
John Mulligan <phlogistonjohn@asynchrono.us> [Mon, 07 Feb 2011 16:37:03 -0500] rev 13917
acl: add branch tests for the current behavior of acl extension
Adds simple tests for the acl.allow.branches and acl.deny.branches
configuration options of the acl extension.
Adrian Buehlmann <adrian@cadifra.com> [Wed, 06 Apr 2011 18:09:43 +0200] rev 13916
path_auditor: check filenames for basic platform validity (
issue2755)
Example (on Windows):
$ hg parents
$ hg manifest tip
con.xml
$ hg update
abort: filename contains 'con', which is reserved on Windows: con.xml
Before this patch, update produced (as explained in
issue2755):
$ hg update
abort: No usable temporary filename found
I've added the new function checkwinfilename to util.py and not to windows.py,
so that we can later call it when running on posix platforms too, for when we
decide to implement a (configurable) warning message on 'hg add'.
As per this patch, checkwinfilename is currently only used when running
on Windwows.
path_auditor calls checkosfilename, which is a NOP on posix and an alias for
checkwinfilename on Windows.
Idan Kamara <idankk86@gmail.com> [Fri, 08 Apr 2011 17:47:58 +0300] rev 13915
revset: rearrange code so functions are sorted alphabetically
Idan Kamara <idankk86@gmail.com> [Thu, 07 Apr 2011 19:24:16 +0300] rev 13914
revset: abort when tag or bookmark doesn't exist
Matt Mackall <mpm@selenic.com> [Thu, 07 Apr 2011 15:08:15 -0500] rev 13913
merge with stable
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 07 Apr 2011 12:33:47 +0200] rev 13912
subrepo: prevent url normalization from removing // in ssh paths (
issue2556)
Idan Kamara <idankk86@gmail.com> [Thu, 07 Apr 2011 17:57:38 +0300] rev 13911
bookmarks: change error messages to match those given by 'hg tag' commands
Matt Mackall <mpm@selenic.com> [Thu, 07 Apr 2011 14:43:19 -0500] rev 13910
audit: improve nested repo message
Idan Kamara <idankk86@gmail.com> [Thu, 07 Apr 2011 17:16:17 +0300] rev 13909
tags: remove another check for valid nodes
see
1aea86673dee
Idan Kamara <idankk86@gmail.com> [Thu, 07 Apr 2011 16:20:40 +0300] rev 13908
revset: replace for-loop with list comprehension
Matt Mackall <mpm@selenic.com> [Thu, 07 Apr 2011 09:47:30 -0500] rev 13907
subrepo: fix up svn test output
Martin Geisler <mg@aragost.com> [Thu, 07 Apr 2011 11:40:54 +0200] rev 13906
merge with stable
Md. O. Shayan <mdoshayan@gmail.com> [Thu, 07 Apr 2011 13:23:07 +0530] rev 13905
hgweb: fix inconsistant display of graphlog (
issue1706)
Martin Geisler <mg@aragost.com> [Thu, 07 Apr 2011 11:17:55 +0200] rev 13904
hgrc.5: drop 'hgext.' prefix when talking about extensions
The first paragraph apply to all extensions, not just those in hgext.
The second paragraph can just use the simpler form to load mq.
Matt Mackall <mpm@selenic.com> [Wed, 06 Apr 2011 15:15:06 -0500] rev 13903
merge with crew
Matt Mackall <mpm@selenic.com> [Wed, 06 Apr 2011 15:14:51 -0500] rev 13902
merge with stable
Matt Mackall <mpm@selenic.com> [Wed, 06 Apr 2011 15:13:49 -0500] rev 13901
merge with crew
Matt Mackall <mpm@selenic.com> [Wed, 06 Apr 2011 15:10:47 -0500] rev 13900
url: use a regex to hide unsupported ssh passwords (
issue2754)
Martin Geisler <mg@aragost.com> [Wed, 06 Apr 2011 16:21:12 +0200] rev 13899
commit: note when files are missing
Before, you could experience the following strange interaction:
$ hg commit
nothing changed
$ hg merge
abort: outstanding uncommitted changes
which confused at least one user in #mercurial.
Martin Geisler <mg@aragost.com> [Wed, 06 Apr 2011 15:26:49 +0200] rev 13898
relink: correct unusual indentation
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 06 Apr 2011 12:48:59 +0200] rev 13897
hg: make parseurl() consistently return normalised path
Before this the path was only normalised when a fragment was used.
Jim Hague <jim.hague@acm.org> [Wed, 06 Apr 2011 11:30:08 +0100] rev 13896
bugzilla: more documentation formatting fixups
Correct typo in numbering list of access methods.
Convert a section reference and a template parameter reference into
literal text, for consistency with other use.
Matt Mackall <mpm@selenic.com> [Tue, 05 Apr 2011 16:11:40 -0500] rev 13895
merge with stable
Stefano Tortarolo <stefano.tortarolo@gmail.com> [Sun, 27 Mar 2011 13:34:20 +0200] rev 13894
rebase: don't mark file as removed if missing in parent's manifest (
issue2725)
Idan Kamara <idankk86@gmail.com> [Mon, 04 Apr 2011 23:43:22 +0300] rev 13893
tags: no need to check for valid nodes
_findtags in localrepo checks that nodes exist in the revlog so we
can't get a LookupError here.
The output of 'hg tags' stays the same since tags to unknown nodes
didn't get printed before anyway due to
ae3089cefaab.
Idan Kamara <idankk86@gmail.com> [Mon, 04 Apr 2011 22:51:10 +0300] rev 13892
localrepo: ignore tags to unknown nodes (
issue2750)
Arne Babenhauserheide <bab@draketo.de> [Tue, 05 Apr 2011 19:48:44 +0200] rev 13891
merge: added info that hg help merge-tools shows the options for --tool
Adrian Buehlmann <adrian@cadifra.com> [Tue, 05 Apr 2011 11:55:52 +0200] rev 13890
util: move checklink() to posix.py and return False on Windows
Python added support for Windows 6.0 (Vista) symbolic links in 3.2 [1], but
even these symbolic links aren't what we can expect from a canonical
symbolic link, since creation requires SeCreateSymbolicLinkPrivilege,
which typically only admins have.
So we can safely assume that we don't have symbolic links on Windows.
[1] http://docs.python.org/py3k/library/os.html#os.symlink
Yun Lee <yunlee.bj@gmail.com> [Tue, 05 Apr 2011 16:55:47 +0800] rev 13889
util: make 'hg log -d --2' abort (
issue2734)
Yun Lee <yunlee.bj@gmail.com> [Tue, 05 Apr 2011 12:40:47 +0800] rev 13888
help: sort help topics to make the output more readable (
issue2751)
Martin Geisler <mg@aragost.com> [Tue, 05 Apr 2011 11:09:08 +0200] rev 13887
merge with stable
Martin Geisler <mg@aragost.com> [Tue, 05 Apr 2011 10:01:39 +0200] rev 13886
help/dates: use DATE as place-holder in help and abort texts
The use of "{datetime}" was unfortunate since I as a user never knew
if I was expected to do
hg log -d '>{2011-04-01}'
or
hg log -d '>2011-04-01'
The word "datetime" is also confusing -- calling it a date it much
simpler.
Martin Geisler <mg@aragost.com> [Tue, 05 Apr 2011 11:07:25 +0200] rev 13885
keyword: convert a verbatim block to a field list
Martin Geisler <mg@aragost.com> [Tue, 05 Apr 2011 10:22:58 +0200] rev 13884
bugzilla: convert a verbatim block to a field list
Martin Geisler <mg@aragost.com> [Tue, 05 Apr 2011 10:20:59 +0200] rev 13883
bugzilla: fix reST error introduced in
22d200e49b10
All blocks must be indented. Here we can use a field list instead of a
verbatim block for a real list layout.
Martin Geisler <mg@aragost.com> [Tue, 05 Apr 2011 10:04:19 +0200] rev 13882
help/dates: rephrase explanation of internal format
The old explanation referred to the two numbers as "unixtime" and
"offset" without really defining those terms.
Matt Mackall <mpm@selenic.com> [Mon, 04 Apr 2011 23:14:03 -0500] rev 13881
rebase: drop ancestor import
Matt Mackall <mpm@selenic.com> [Mon, 04 Apr 2011 16:58:24 -0500] rev 13880
rebase: drop unused p2 arg from rebasenode
Adrian Buehlmann <adrian@cadifra.com> [Mon, 04 Apr 2011 11:41:54 +0200] rev 13879
util: move checkexec() to posix.py and return False on Windows
Matt Mackall <mpm@selenic.com> [Mon, 04 Apr 2011 16:21:59 -0500] rev 13878
misc: replace .parents()[0] with p1()
Matt Mackall <mpm@selenic.com> [Mon, 04 Apr 2011 16:21:57 -0500] rev 13877
filectx: introduce p1/p2 convenience methods
Matt Mackall <mpm@selenic.com> [Mon, 04 Apr 2011 15:52:55 -0500] rev 13876
dirstate: add p1/p2 convenience methods
Matt Mackall <mpm@selenic.com> [Mon, 04 Apr 2011 15:30:54 -0500] rev 13875
rebase: use merge's ancestor parameter
Matt Mackall <mpm@selenic.com> [Mon, 04 Apr 2011 15:25:20 -0500] rev 13874
merge: add ancestor to the update function
This makes it easier to do rebase-like operations.
Matt Mackall <mpm@selenic.com> [Mon, 04 Apr 2011 14:21:54 -0500] rev 13873
revset: teach optimizer that closed is slowish
Idan Kamara <idankk86@gmail.com> [Mon, 04 Apr 2011 18:05:14 +0300] rev 13872
localrepo: tighten except clause when looking rev
Jim Hague <jim.hague@acm.org> [Mon, 04 Apr 2011 17:37:18 +0100] rev 13871
bugzilla: more documentation fixes
Correct formatting of the possible values of bugzilla.version.
Fix typo and polish XMLRPC/email mode description.
Jim Hague <jim.hague@acm.org> [Mon, 04 Apr 2011 13:31:37 +0100] rev 13870
bugzilla: correct sample configurations
Use consistent sample domains and wording in all configuration examples.
Add missing template and strip parameters to XMLRPC examples and correct
Bugzilla URL key in XMLRPC+email.
Matt Mackall <mpm@selenic.com> [Mon, 04 Apr 2011 09:39:22 -0500] rev 13869
date: fixup breakage from ">" fix
Matt Mackall <mpm@selenic.com> [Mon, 04 Apr 2011 08:26:08 -0500] rev 13868
merge with stable
Yun Lee <yunlee.bj@gmail.com> [Mon, 04 Apr 2011 00:23:21 +0800] rev 13867
log: abort for -d '>' or -d '<' (
issue2749)
Edouard Gomez <ed.gomez@free.fr> [Mon, 04 Apr 2011 00:05:41 +0200] rev 13866
convert: add hg source bookmark test
Yuya Nishihara <yuya@tcha.org> [Sun, 03 Apr 2011 23:47:17 +0900] rev 13865
hgweb: add missing bookmarks definition to coal/map
It shares most templates with paper style.
Yuya Nishihara <yuya@tcha.org> [Sun, 03 Apr 2011 23:47:05 +0900] rev 13864
hgweb: add separate bookmarks listing to gitweb theme (based on
38c9837b1f75)
Yuya Nishihara <yuya@tcha.org> [Sun, 03 Apr 2011 23:44:28 +0900] rev 13863
hgweb: add bookmark labels to gitweb theme (based on
270f57d35525)
Yuya Nishihara <yuya@tcha.org> [Sun, 03 Apr 2011 23:42:05 +0900] rev 13862
hgweb: format page_nav of gitweb/error.tmpl and add missing links
Yuya Nishihara <yuya@tcha.org> [Sun, 03 Apr 2011 22:53:20 +0900] rev 13861
hgweb: fix typo and inactive link in page_nav and page_header of gitweb's help
Yuya Nishihara <yuya@tcha.org> [Sun, 03 Apr 2011 22:53:20 +0900] rev 13860
hgweb: add separate bookmarks listing to monoblue theme (based on
38c9837b1f75)
Yuya Nishihara <yuya@tcha.org> [Sun, 03 Apr 2011 22:53:19 +0900] rev 13859
hgweb: fix typo in page-header of monoblue's help template
Yuya Nishihara <yuya@tcha.org> [Sun, 03 Apr 2011 22:53:19 +0900] rev 13858
hgweb: add missing bookmarks templates to atom/rss styles
It's already referenced from paper style.
Adrian Buehlmann <adrian@cadifra.com> [Sun, 03 Apr 2011 01:57:17 +0200] rev 13857
subrepo: process merge substate in sorted order in submerge()
This ensures that subrepositories are pulled in a well defined
order when cloning the parent repository.
BEFORE:
$ hg clone http://hg.gerg.ca/allextensions
destination directory: allextensions
requesting all changes
adding changesets
adding manifests
adding file changes
added 10 changesets with 20 changes to 6 files
updating to branch default
pulling subrepo caseguard from http://bitbucket.org/alexandru/caseguard
real URL is https://bitbucket.org/alexandru/caseguard
requesting all changes
adding changesets
adding manifests
adding file changes
added 81 changesets with 100 changes to 13 files
pulling subrepo hg-prompt from http://bitbucket.org/sjl/hg-prompt
real URL is https://bitbucket.org/sjl/hg-prompt
requesting all changes
adding changesets
adding manifests
adding file changes
added 114 changesets with 176 changes to 35 files
pulling subrepo hgpaste from http://bitbucket.org/birkenfeld/hgpaste
real URL is https://bitbucket.org/birkenfeld/hgpaste
requesting all changes
adding changesets
adding manifests
adding file changes
added 18 changesets with 18 changes to 2 files
...
AFTER:
$ hg clone http://hg.gerg.ca/allextensions
destination directory: allextensions
requesting all changes
adding changesets
adding manifests
adding file changes
added 10 changesets with 20 changes to 6 files
updating to branch default
pulling subrepo Artemis from http://hg.mrzv.org/Artemis
requesting all changes
adding changesets
adding manifests
adding file changes
added 55 changesets with 108 changes to 47 files
...
Stefano Tortarolo <stefano.tortarolo@gmail.com> [Sat, 02 Apr 2011 11:07:05 +0200] rev 13856
rebase: add --tool argument for specifying merge tool
Adrian Buehlmann <adrian@cadifra.com> [Fri, 01 Apr 2011 22:44:58 +0200] rev 13855
revert: note that added files are left as is
Patrick Mezard <pmezard@gmail.com> [Fri, 01 Apr 2011 20:40:27 +0200] rev 13854
bugzilla: fix documentation typo
Matt Mackall <mpm@selenic.com> [Fri, 01 Apr 2011 13:25:44 -0500] rev 13853
merge with stable
Matt Mackall <mpm@selenic.com> [Fri, 01 Apr 2011 13:25:26 -0500] rev 13852
merge with i18n
Wagner Bruna <wbruna@softwareexpress.com.br> [Fri, 01 Apr 2011 14:35:04 -0300] rev 13851
i18n-pt_BR: synchronized with
8d960240faac
Kevin Gessner <kevin@fogcreek.com> [Thu, 31 Mar 2011 15:49:53 -0400] rev 13850
hgweb: add base link to file log for paper and coal styles (
issue2452)
Brodie Rao <brodie@bitheap.org> [Wed, 05 Jan 2011 00:18:36 +1100] rev 13849
HGPLAIN: allow exceptions to plain mode, like i18n, via HGPLAINEXCEPT
This makes it possible to gain the benefits of HGPLAIN for scripting
while preserving different behaviors like internationalization.
Brodie Rao <brodie@bitheap.org> [Thu, 31 Mar 2011 17:37:33 -0700] rev 13848
url: be stricter about detecting schemes
While the URL parser is very forgiving about what characters are
allowed in each component, it's useful to be strict about the scheme
so we don't accidentally interpret local paths with colons as URLs.
This restricts schemes to containing alphanumeric characters, dashes,
pluses, and dots (as specified in RFC 2396).
Matt Mackall <mpm@selenic.com> [Fri, 01 Apr 2011 12:42:02 -0500] rev 13847
Added signature for changeset
b032bec2c0a6
Matt Mackall <mpm@selenic.com> [Fri, 01 Apr 2011 12:41:56 -0500] rev 13846
Added tag 1.8.2 for changeset
b032bec2c0a6
Matt Mackall <mpm@selenic.com> [Fri, 01 Apr 2011 11:45:29 -0500] rev 13845
merge with stable
Matt Mackall <mpm@selenic.com> [Fri, 01 Apr 2011 11:45:07 -0500] rev 13844
merge with i18n
Wagner Bruna <wbruna@yahoo.com> [Fri, 01 Apr 2011 07:53:15 -0300] rev 13843
i18n-pt_BR: synchronized with
794f4476b974
Martin Geisler <mg@aragost.com> [Fri, 01 Apr 2011 12:30:40 +0200] rev 13842
bugzilla: fix bad reST markup
The indented second line turned the first line into a description
header.
Martin Geisler <mg@aragost.com> [Fri, 01 Apr 2011 12:27:12 +0200] rev 13841
bugzilla: markup literal text as such
Martin Geisler <mg@aragost.com> [Fri, 01 Apr 2011 12:21:59 +0200] rev 13840
merge with stable
Martin Geisler <mg@aragost.com> [Fri, 01 Apr 2011 12:18:37 +0200] rev 13839
help/hgweb: add pointer to hgrc(5) location
Martin Geisler <mg@aragost.com> [Fri, 01 Apr 2011 12:14:42 +0200] rev 13838
patchbomb, help/hgweb: do not refer to config files as hgrc files
Martin Geisler <mg@aragost.com> [Fri, 01 Apr 2011 12:09:11 +0200] rev 13837
bugzilla: refer to hgrc(5) man page with normal notation
Martin Geisler <mg@aragost.com> [Fri, 01 Apr 2011 12:07:37 +0200] rev 13836
bugzilla: markup section names as literal text
Martin Geisler <mg@aragost.com> [Fri, 01 Apr 2011 12:05:19 +0200] rev 13835
bugzilla: show usermap syntax more clearly
Martin Geisler <mg@aragost.com> [Fri, 01 Apr 2011 12:03:23 +0200] rev 13834
bugzilla: use standard section.name notation
Martin Geisler <mg@aragost.com> [Fri, 01 Apr 2011 12:00:57 +0200] rev 13833
bugzilla: prefix each config option with section
Martin Geisler <mg@aragost.com> [Fri, 01 Apr 2011 11:59:18 +0200] rev 13832
bugzilla: fix reStructuredText errors introduced in
60256f7f30c1
Matt Mackall <mpm@selenic.com> [Thu, 31 Mar 2011 15:24:06 -0500] rev 13831
changegroup: introduce bundler objects
This makes the bundler pluggable at lower levels.
Matt Mackall <mpm@selenic.com> [Thu, 31 Mar 2011 14:25:26 -0500] rev 13830
changegroup: combine lookup functions
Matt Mackall <mpm@selenic.com> [Thu, 31 Mar 2011 13:56:05 -0500] rev 13829
changegroup: unnest flookup
Matt Mackall <mpm@selenic.com> [Thu, 31 Mar 2011 12:04:54 -0500] rev 13828
changegroup: unnest clookup and mlookup like changegroupsubset
Matt Mackall <mpm@selenic.com> [Thu, 31 Mar 2011 10:43:53 -0500] rev 13827
url: nuke some newly-introduced underbars in identifiers
Brodie Rao <brodie@bitheap.org> [Wed, 30 Mar 2011 20:03:05 -0700] rev 13826
url: refactor util.drop_scheme() and hg.localpath() into url.localpath()
This replaces util.drop_scheme() with url.localpath(), using url.url for
parsing instead of doing it on its own. The function is moved from
util to url to avoid an import cycle.
hg.localpath() is removed in favor of using url.localpath(). This
provides more consistent behavior between "hg clone" and other
commands.
To preserve backwards compatibility, URLs like bundle://../foo still
refer to ../foo, not /foo.
If a URL contains a scheme, percent-encoded entities are decoded. When
there's no scheme, all characters are left untouched.
Comparison of old and new behaviors:
URL drop_scheme() hg.localpath() url.localpath()
=== ============= ============== ===============
file://foo/foo /foo foo/foo /foo
file://localhost:80/foo /foo localhost:80/foo /foo
file://localhost:/foo /foo localhost:/foo /foo
file://localhost/foo /foo /foo /foo
file:///foo /foo /foo /foo
file://foo (empty string) foo /
file:/foo /foo /foo /foo
file:foo foo foo foo
file:foo%23bar foo%23bar foo%23bar foo#bar
foo%23bar foo%23bar foo%23bar foo%23bar
/foo /foo /foo /foo
Windows-related paths on Windows:
URL drop_scheme() hg.localpath() url.localpath()
=== ============= ============== ===============
file:///C:/foo C:/C:/foo /C:/foo C:/foo
file:///D:/foo C:/D:/foo /D:/foo D:/foo
file://C:/foo C:/foo C:/foo C:/foo
file://D:/foo C:/foo D:/foo D:/foo
file:////foo/bar //foo/bar //foo/bar //foo/bar
//foo/bar //foo/bar //foo/bar //foo/bar
\\foo\bar //foo/bar //foo/bar \\foo\bar
Windows-related paths on other platforms:
file:///C:/foo C:/C:/foo /C:/foo C:/foo
file:///D:/foo C:/D:/foo /D:/foo D:/foo
file://C:/foo C:/foo C:/foo C:/foo
file://D:/foo C:/foo D:/foo D:/foo
file:////foo/bar //foo/bar //foo/bar //foo/bar
//foo/bar //foo/bar //foo/bar //foo/bar
\\foo\bar //foo/bar //foo/bar \\foo\bar
For more information about file:// URL handling, see:
http://www-archive.mozilla.org/quality/networking/testing/filetests.html
Related issues:
-
issue1153: File URIs aren't handled correctly in windows
This patch should preserve the fix implemented in
2770d03ae49f. However, it goes a step further and "promotes"
Windows-style drive letters from being interpreted as host names to
being part of the path.
-
issue2154: Cannot escape '#' in Mercurial URLs (#1172 in THG)
The fragment is still interpreted as a revision or a branch, even in
paths to bundles. However, when file: is used, percent-encoded
entities are decoded, so file:test%23bundle.hg can refer to
test#bundle.hg ond isk.
Brodie Rao <brodie@bitheap.org> [Wed, 30 Mar 2011 20:02:17 -0700] rev 13825
url: use url.url in ui.expandpath()
Brodie Rao <brodie@bitheap.org> [Wed, 30 Mar 2011 20:02:09 -0700] rev 13824
hg: use url.url to parse branch names in parseurl()
Brodie Rao <brodie@bitheap.org> [Wed, 30 Mar 2011 20:02:07 -0700] rev 13823
hg: look up schemes using url.url
Brodie Rao <brodie@bitheap.org> [Wed, 30 Mar 2011 20:01:47 -0700] rev 13822
schemes: prevent one letter schemes from being interpreted as drive letters
To allow one letter schemes, this makes the extension override
url.has_drive_letter() to return False for any schemes defined.
On Windows, the extension will raise util.Abort for any schemes that
conflict with existing drive letters.
Brodie Rao <brodie@bitheap.org> [Wed, 30 Mar 2011 20:01:46 -0700] rev 13821
hgweb: use url.url when setting CGI environment variables
Brodie Rao <brodie@bitheap.org> [Wed, 30 Mar 2011 20:01:44 -0700] rev 13820
url: use url.url in proxyhandler
Brodie Rao <brodie@bitheap.org> [Wed, 30 Mar 2011 20:01:35 -0700] rev 13819
httprepo/sshrepo: use url.url
Like the previous patch to getauthinfo(), this also makes
username/password parsing more forgiving for SSH URLs.
This also opens up the possibility of allowing non-numeric ports,
since the URL parser has no problem handling them.
Related issues:
-
issue851: @ in password in http url
-
issue2055: nonnumeric port bug with https protocol
Brodie Rao <brodie@bitheap.org> [Wed, 30 Mar 2011 20:01:34 -0700] rev 13818
url: use url.url in url.open()
Brodie Rao <brodie@bitheap.org> [Wed, 30 Mar 2011 20:01:31 -0700] rev 13817
url: abort on file:// URLs with non-localhost hosts
Brodie Rao <brodie@bitheap.org> [Wed, 30 Mar 2011 20:00:24 -0700] rev 13816
url: special case bundle URL parsing to preserve backwards compatibility
This allows bundle://../foo to continue to refer to the relative path
../foo (bundle URLs do not take host names).
Brodie Rao <brodie@bitheap.org> [Wed, 30 Mar 2011 20:00:23 -0700] rev 13815
url: add trailing slashes to URLs with hostnames that don't have one
This works around a potential issue in Python 2.4 where cloning a repo
with a URL like http://foo:8080 would cause urllib2 to query on
http://foo:8080?cmd=capabilities instead of
http://foo:8080/?cmd=capabilities.
In the past, this issue has been masked by the fact that
url.getauthinfo() added a trailing slash when it was missing.
Brodie Rao <brodie@bitheap.org> [Wed, 30 Mar 2011 19:50:56 -0700] rev 13814
url: move drive letter checking into has_drive_letter() for extensions
This will let the schemes extension override drive letter detection to
allow single letter schemes.
Matt Mackall <mpm@selenic.com> [Thu, 31 Mar 2011 10:03:24 -0500] rev 13813
changegroup: unnest some lookup functions
Matt Mackall <mpm@selenic.com> [Thu, 31 Mar 2011 09:59:56 -0500] rev 13812
changegroup: minor ordering and renaming changes for similarity
This eliminates some needless differences between the two changegroup variants
Matt Mackall <mpm@selenic.com> [Thu, 31 Mar 2011 09:56:27 -0500] rev 13811
changegroup: remove nodeiter temporary
Matt Mackall <mpm@selenic.com> [Wed, 30 Mar 2011 17:50:34 -0500] rev 13810
changegroup: refactor prune as a filter
Matt Mackall <mpm@selenic.com> [Wed, 30 Mar 2011 17:50:27 -0500] rev 13809
changegroup: add first logic to send file header
This will allow us to later change how we filter needed file nodes