Commit Graph

3898 Commits

Author SHA1 Message Date
Benoit Boissinot
0a972b6964 fix handling of multiple Content-type headers
This can happen if an error happens while sending
application/mercurial-0.1 content. The error page will
be sent resulting (for at least lighttpd) in the following
headers:
Content-type: application/mercurial-0.1
Content-type: text/html
which result in req.proto = 'application/mercurial-0.1, text/html'

fix issue344
2006-12-29 05:27:48 +01:00
Benoit Boissinot
9fe271946b add [diff] section to hgrc documentation 2006-12-29 04:22:31 +01:00
Benoit Boissinot
8e594b6a32 inst.reason isn't alway in the form (errno, strerror)
urllib2.urlopen("foobar://foo") is an example
where inst.reason is a string
fix issue383
2006-12-28 01:14:12 +01:00
Benoit Boissinot
4247929c84 fix hg help <ext> for extension that do not define any command
solve issue462
2006-12-26 21:59:01 +01:00
Benoit Boissinot
ac64b63257 mq: fix strip failing to unlink a bundle
os.unlink doesn't know how to deal with urls
2006-12-26 21:57:20 +01:00
Thomas Arendsen Hein
7701e96286 Don't use -f for rm in tests where not needed. Drop /bin/ from /bin/rm. 2006-12-26 14:17:48 +01:00
Benoit Boissinot
184e223932 test-manifest-merging: we only need to remove files 2006-12-24 22:28:01 +01:00
Brendan Cully
15d31f9f1f Make test-manifest-merging less likely to delete the whole filesystem 2006-12-22 16:29:35 -08:00
Edouard Gomez
67504f12fd Send encoding information in rss header 2006-12-21 20:41:56 +01:00
Matt Mackall
4492623506 Fix a pygettext complaint 2006-12-14 17:32:25 -06:00
Benoit Boissinot
c525e25a47 spelling fix 2006-12-14 00:41:11 +01:00
Thomas Arendsen Hein
bdd9bc9c2e sample.hgrc: hgk extension is now in hgext. Use churn as example for contrib. 2006-12-19 15:46:02 +01:00
Thomas Arendsen Hein
6cdaa1eb33 purge extension doesn't need "#!/usr/bin/env python".
(from the Debian package: deb_specific__hgpurge.py.patch)
2006-12-19 15:37:10 +01:00
Matt Mackall
798c91c02c Added signature for changeset b73092605dd7aba2a9c57c9a4c9f4f5d650a3166 2006-12-17 19:17:18 -06:00
Benoit Boissinot
fc997dfbf2 fix calculation of new heads added during push with -r
fix issue450
2006-12-17 05:00:22 +01:00
Thomas Arendsen Hein
c72030a3d2 Adjust test-help output for the change in 28dd65def6cd. 2006-12-16 23:33:24 +01:00
Thomas Arendsen Hein
1d64670235 Fix test-hup for different output of ls on at least MacOS X and Solaris 8. 2006-12-16 23:24:30 +01:00
Alexis S. L. Carvalho
437bbbf008 convert-repo: update usage information 2006-12-16 20:18:36 -02:00
Thomas Arendsen Hein
6857107023 Make 'hg sign' behave like other commands: Default to current parent. 2006-12-16 23:11:16 +01:00
Thomas Arendsen Hein
c0034c572a doc fix: hg tags defaults to current parent revision, too.
Additionally use better language for the help text for tag,
cat and manifest.
2006-12-16 22:58:10 +01:00
Thomas Arendsen Hein
fb1cbb4570 doc string fix: hg cat and manifest default to current parent revision. 2006-12-16 22:33:39 +01:00
Thomas Arendsen Hein
66709dc5f7 Using --date "" isn't possible, so don't document epoch. (see issue447) 2006-12-16 22:13:56 +01:00
Matt Mackall
5b91081b08 convert-repo: avoid adding bogus value to shamap on tag update 2006-12-16 14:41:34 -06:00
Matt Mackall
013499cdd5 convert-repo: fix recoding of committer 2006-12-16 14:35:14 -06:00
Thomas Arendsen Hein
ef969c8db0 Include hg.1.gendoc.txt in doc/MANIFEST to prevent unnecessary rebuild. 2006-12-16 13:57:37 +01:00
Thomas Arendsen Hein
9a5ca784b6 Regenerate hg.1 manpage if help text in help.py changes. 2006-12-16 13:54:23 +01:00
Alexis S. L. Carvalho
88251bd81b util.system: fix quoting on windows 2006-12-16 02:38:18 -02:00
Alexis S. L. Carvalho
2726e242c0 templater.py: fix obfuscate 2006-12-16 02:21:46 -02:00
Benoit Boissinot
877ef87ad8 fix strip on windows
c: was interpreted as a protocol, prepend file: to the bundle file name
2006-12-15 23:19:12 +01:00
Thomas Arendsen Hein
a6c0381996 Don't use node length for calculating revision number length.
Done by moving repo.lookup of revisions from commands.export to patch.export
2006-12-15 19:30:20 +01:00
Thomas Arendsen Hein
f0c446ce6e Make sequence number on hg export start at 1 (as documented for %n). Add test. 2006-12-15 19:09:10 +01:00
Thomas Arendsen Hein
429e98a404 Corrected synopsis for many commands.
Use CMD instead of FILE for -e and --remotecmd (thanks, Neal Becker)
2006-12-14 19:30:18 +01:00
Thomas Arendsen Hein
025e2533af merge with hg-stable 2006-12-14 19:10:05 +01:00
Thomas Arendsen Hein
bf61bfecec Set charset encoding for hgwebdir, too.
(And remove extra spaces in the corresponding place in hgweb)
2006-12-14 16:07:29 +01:00
Matt Mackall
d9f0b69ae5 Fix copy detection corner case
We were aborting if the copied from rev was before the cut-off limit,
rather than the copied _to_ rev. The copied from rev can be
arbitrarily old.
2006-12-12 17:52:33 -06:00
Steve Borho
8cbd4afec6 zsh: better fix for partial completions
Properly handle relative paths followed by partial filenames
hg add ../path/to/file/partial[TAB]
2006-12-12 15:34:11 -06:00
Brendan Cully
ca8a1c87d4 mq: fix qheader without args when guards are applied after qtop 2006-12-12 12:40:51 -08:00
Thomas Arendsen Hein
ec97d785b1 Fix test output for test-mq-guards (changed by e7ca2aa11f8f) 2006-12-12 19:11:01 +01:00
Benoit Boissinot
253a9af902 fix MANIFEST generation 2006-12-12 11:39:05 +01:00
Brendan Cully
149bcf7d29 mq: auto-ignore guards in qinit -c 2006-12-11 16:40:42 -08:00
Brendan Cully
eefc767043 mq: fix explain_pushable for negative guards 2006-12-11 16:32:45 -08:00
Thomas Arendsen Hein
a721ac99f0 Add instructions how to redo/finish failed merge with local working directory.
d29fcc4d1e2a already implemented this for branch merges.
2006-12-11 18:09:52 +01:00
Thomas Arendsen Hein
dc76f842d3 hgweb.cgi and hgwebdir.cgi fixes/cleanups for user configurable parts:
- "import os" was missing in hgwebdir.cgi, added to comments for both script.
- HGENCODING has to be set before importing hgweb, otherwise you'll get
  mixed encoding in changelog vs. file content/diffs.
- "import sys" is only needed when changing sys.path
- document purpose of cgitb.
2006-12-11 14:30:50 +01:00
Matt Mackall
c28aac35b2 Added signature for changeset 139e81557c46be23be36258ff27566ba0ef3312a 2006-12-10 20:08:16 -06:00
Matt Mackall
9403306d21 Make make dist a bit quieter 2006-12-10 19:20:35 -06:00
Matt Mackall
69037db249 Automatically build MANIFEST for make dist 2006-12-10 19:16:38 -06:00
Matt Mackall
e138593173 Remove hard-coded version numbers and release notes from packaging 2006-12-10 17:41:07 -06:00
Alexis S. L. Carvalho
63ae667098 Use UTF-8 in .hg/branch 2006-12-10 20:35:28 -02:00
Thomas Arendsen Hein
ff6b40fc67 Indicate the purpose of the dummy changelog file in itself.
Otherwise people getting an error message with an old installation might
wonder why this file is corrupted.
2006-12-10 23:03:53 +01:00
Benoit Boissinot
def42107f3 fix reserved char on windows, '[]+' are allowed 2006-12-10 21:53:01 +01:00