Brendan Cully <brendan@kublai.com> [Thu, 05 Jul 2007 14:32:18 -0700] rev 4838
Merge with main
Brendan Cully <brendan@kublai.com> [Thu, 05 Jul 2007 14:31:13 -0700] rev 4837
convert: svn: some improvements in memory usage
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 11 Jul 2007 19:56:16 -0300] rev 4836
archive: make the %r escape work.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 11 Jul 2007 19:56:16 -0300] rev 4835
serve: respect settings from .hg/hgrc
create_server was looking only at the root ui object, ignoring any
settings from .hg/hgrc. To keep respecting command-line arguments,
commands.serve must also call repo.ui.setconfig.
Edouard Gomez <ed.gomez@free.fr> [Sat, 12 May 2007 00:41:30 +0200] rev 4834
Fix inconsistency for the stream_out capability in hgweb
During some experiments of mine, the uncompressed cloning could not
be enabled for hgweb.cgi nor hgwebdir.cgi though the server claimed
to be stream_out capable.
The only solution was to enable it using the user's .hgrc file.
This solution is not acceptable when publishing the repos through
an HTTP server because the CGI runs as a www dedicated user whose's
home hgrc file may not be accessible to users publishing their repos
through their userdir.
For such cases we could end up with this typical debug output:
hg --debug clone --uncompressed http://server/hg/project
destination directory: project
sending capabilities command
capabilities: lookup changegroupsubset stream=1
unbundle=HG10GZ,HG10BZ,HG10UN
sending stream_out command
abort: operation forbidden by server
The error lies in the fact the hgweb object defines new accessors
to the repo configuration that trust things by default (untrusted=True)
but the streamclone:stream_out function uses the usual accessors to the
repo.ui object, which do not trust by default (untrusted=False)
Fix this inconsistency, adding a new parameter to the stream_out function.
hgweb then forces a "trust by default" behavior.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 11 Jul 2007 19:56:16 -0300] rev 4833
improve warning for hg add foo; hg mv foo bar
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 11 Jul 2007 18:15:21 -0300] rev 4832
util._hgexecutable: default to 'hg'
This should make hooks work even if util.set_hgexecutable is not called
(e.g. hgweb.cgi).
Fixes
issue625.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 11 Jul 2007 17:40:41 -0300] rev 4831
archive: add symlink support
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 11 Jul 2007 17:40:41 -0300] rev 4830
archive: use util.opener when archiving files.
This simplifies the code a bit and makes it easier to support symlinks.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 11 Jul 2007 17:40:41 -0300] rev 4829
localrepo.wwrite: use opener.symlink
This makes us fall back to regular files if symlinks are not supported.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 11 Jul 2007 17:40:41 -0300] rev 4828
Add symlink method to util.opener.
Differences from os.symlink:
- the symlink name is relative to the opener base directory
- if a file with that name already exists, it's removed
- if necessary, parent directories are created
- if the system (OS or filesystem) doesn't support symlinks, a
regular file is created. Its contents are the symlink target.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 11 Jul 2007 17:40:41 -0300] rev 4827
turn util.opener into a class
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 08 Jul 2007 12:58:19 +0200] rev 4826
Fixed double slash for doc install path introduced by using $DESTDIR (
issue620)
$MANDIR already is an absolute path so the extra / isn't needed.
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 08 Jul 2007 12:52:08 +0200] rev 4825
hg log: Move filtering implicit parents to own method and use it in templater.
Extended test repo in test-command-template to contain changeset to test this.
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 08 Jul 2007 10:43:57 +0200] rev 4824
Strip whitespace from changeset description in changeset_templater.
changeset_printer already does this, too.
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 06 Jul 2007 08:48:28 +0200] rev 4823
merge with crew-stable
Lee Cantey <lcantey@gmail.com> [Thu, 05 Jul 2007 15:40:29 -0700] rev 4822
Add html docs and use for help shortcut
Matt Mackall <mpm@selenic.com> [Thu, 05 Jul 2007 16:17:01 -0500] rev 4821
Merge with stable
Matt Mackall <mpm@selenic.com> [Thu, 05 Jul 2007 16:15:57 -0500] rev 4820
Merge with crew-stable
Matt Mackall <mpm@selenic.com> [Thu, 05 Jul 2007 16:01:07 -0500] rev 4819
merge: fix adding untracked files on directory rename (
issue612)
Fix from Brendan
Added test case
Matt Mackall <mpm@selenic.com> [Thu, 05 Jul 2007 15:37:23 -0500] rev 4818
extensions: untangle some recursive dependencies
OHASHI Hideya <ohachige@gmail.com> [Tue, 03 Jul 2007 00:13:52 +0900] rev 4817
interhg extension allows you to change changelog text like InterWiki.
Christian Ebert <blacktrash@gmx.net> [Thu, 28 Jun 2007 02:11:54 +0200] rev 4816
setup.py not executable: change instructions at beginning of file
Matt Mackall <mpm@selenic.com> [Thu, 05 Jul 2007 15:36:56 -0500] rev 4815
Merge with stable
Brendan Cully <brendan@kublai.com> [Thu, 05 Jul 2007 12:45:41 -0700] rev 4814
convert: svn: remove svn_paths wrappers
Brendan Cully <brendan@kublai.com> [Thu, 05 Jul 2007 12:41:58 -0700] rev 4813
convert: svn: use revmap to parse only new revisions in incremental conversions
Brendan Cully <brendan@kublai.com> [Thu, 05 Jul 2007 12:24:26 -0700] rev 4812
convert: export revmap to source.
Sources may be able to use it to optimise their own log fetching
Brendan Cully <brendan@kublai.com> [Thu, 05 Jul 2007 12:18:01 -0700] rev 4811
convert: svn: defer get_log parsing until after get_log completes.
According to the documentation, it is not safe to perform any other
operation on the ra object until get_log completes.
Brendan Cully <brendan@kublai.com> [Thu, 05 Jul 2007 12:08:48 -0700] rev 4810
convert: move some code into common init function
Brendan Cully <brendan@kublai.com> [Thu, 05 Jul 2007 12:00:43 -0700] rev 4809
Merge with crew
Brendan Cully <brendan@kublai.com> [Thu, 05 Jul 2007 12:00:26 -0700] rev 4808
alias: remove dead code
Brendan Cully <brendan@kublai.com> [Thu, 05 Jul 2007 12:00:04 -0700] rev 4807
convert: call superclass init from engine init functions
Patrick Mezard <pmezard@gmail.com> [Thu, 05 Jul 2007 20:50:24 +0200] rev 4806
Merge with crew-stable
Patrick Mezard <pmezard@gmail.com> [Thu, 05 Jul 2007 20:39:03 +0200] rev 4805
test-archive: stop checking md5 absolute values
Different tar/zlib versions can generate different binaries.
Patrick Mezard <pmezard@gmail.com> [Thu, 05 Jul 2007 19:13:08 +0200] rev 4804
Fix
issue589 wording problem
Nathan Jones <nathanj@insightbb.com> [Tue, 26 Jun 2007 10:48:58 -0400] rev 4803
Fix serve on Windows without win32* modules.
Patrick Mezard <pmezard@gmail.com> [Thu, 05 Jul 2007 19:11:38 +0200] rev 4802
test-demandimport: match upper-case hexadecimal
Brendan Cully <brendan@kublai.com> [Wed, 04 Jul 2007 13:38:49 -0700] rev 4801
Add alias extension
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 04 Jul 2007 09:24:19 +0200] rev 4800
merge with crew-stable
Brendan Cully <brendan@kublai.com> [Tue, 03 Jul 2007 20:22:39 -0700] rev 4799
convert svn: minor improvement to tag detection.
The better way is probably to list the latest tags directory and
look up the last log message for each entry. This is surprisingly
annoying to do.
Brendan Cully <brendan@kublai.com> [Tue, 03 Jul 2007 19:49:36 -0700] rev 4798
convert: svn merges produce hard-to-trace file entries. Ignore them for now.
Brendan Cully <brendan@kublai.com> [Tue, 03 Jul 2007 19:26:41 -0700] rev 4797
convert: svn: autodetect /branches, /tags, /trunk.
Various other branch handling improvement attempts too.
Brendan Cully <brendan@kublai.com> [Tue, 03 Jul 2007 17:07:58 -0700] rev 4796
convert: svn: pull out broken batching code, add alpha tags support
Brendan Cully <brendan@kublai.com> [Tue, 03 Jul 2007 15:34:30 -0700] rev 4795
convert: svn: get parent for branch creation events
Brendan Cully <brendan@kublai.com> [Tue, 03 Jul 2007 15:12:07 -0700] rev 4794
convert: add optional module argument to svn._fetch_revisions
Brendan Cully <brendan@kublai.com> [Tue, 03 Jul 2007 14:16:54 -0700] rev 4793
convert: svn: parse log entries as they arrive instead of deferring it
Brendan Cully <brendan@kublai.com> [Tue, 03 Jul 2007 13:50:26 -0700] rev 4792
convert: svn: move some debug output to verbose
Brendan Cully <brendan@kublai.com> [Tue, 03 Jul 2007 12:56:30 -0700] rev 4791
convert: another typo in svn.latest
Brendan Cully <brendan@kublai.com> [Tue, 03 Jul 2007 12:52:13 -0700] rev 4790
convert: typo in svn.latest
Brendan Cully <brendan@kublai.com> [Tue, 03 Jul 2007 12:44:04 -0700] rev 4789
convert: svn: add function to get the latest revision touching a path
Make it work for HTTP URLs
Brendan Cully <brendan@kublai.com> [Tue, 03 Jul 2007 11:36:06 -0700] rev 4788
convert: svn: add an early return to move most changeset parsing out an indent level
Brendan Cully <brendan@kublai.com> [Tue, 03 Jul 2007 10:55:46 -0700] rev 4787
convert: svn: use a separate mempool for each ls in the 1.4 fallback path
Lee Cantey <lcantey@gmail.com> [Tue, 03 Jul 2007 04:18:24 -0700] rev 4786
Remove specific version requirement and point to latest versions of Mac Python downloads.
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 03 Jul 2007 12:50:05 +0200] rev 4785
children extension: Don't abort when looking at the null revision.
Since
62c56d8f368b revlog.children only returns real children,
so this is no longer a problem.
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 03 Jul 2007 12:46:34 +0200] rev 4784
merge with crew-stable
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 03 Jul 2007 12:14:25 +0200] rev 4783
Add extension to provide the 'hg children' command (with tests)
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Tue, 03 Jul 2007 03:14:18 -0300] rev 4782
merge with crew-stable
Brendan Cully <brendan@kublai.com> [Mon, 02 Jul 2007 22:34:38 -0700] rev 4781
Merge with tah
Brendan Cully <brendan@kublai.com> [Mon, 02 Jul 2007 22:33:48 -0700] rev 4780
convert: make convertsource option handling transparent
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 02 Jul 2007 22:45:58 +0200] rev 4779
Added import test for [PATCH] subject and message body with subject
Brendan Cully <brendan@kublai.com> [Mon, 02 Jul 2007 13:26:12 -0700] rev 4778
patch.extract: fix test-import breakage introduced in the previous changeset
Brendan Cully <brendan@kublai.com> [Mon, 02 Jul 2007 10:59:16 -0700] rev 4777
patch.extract: do not prepend subject if the description already starts with it
Brendan Cully <brendan@kublai.com> [Mon, 02 Jul 2007 08:31:02 -0700] rev 4776
convert: svn: skip revisions without file entries
Brendan Cully <brendan@kublai.com> [Mon, 02 Jul 2007 07:54:51 -0700] rev 4775
convert: svn: disable batched fetch - get the whole log immediately
Brendan Cully <brendan@kublai.com> [Mon, 02 Jul 2007 07:28:54 -0700] rev 4774
convert: svn: add revnum() to convert rev to revnum
Brendan Cully <brendan@kublai.com> [Mon, 02 Jul 2007 07:22:11 -0700] rev 4773
convert: svn: abort if module stat fails
Brendan Cully <brendan@kublai.com> [Sun, 01 Jul 2007 23:28:21 -0700] rev 4772
convert: fetch svn changes on demand (in batches)
Brendan Cully <brendan@kublai.com> [Sun, 01 Jul 2007 22:23:33 -0700] rev 4771
convert: svn: convert branch trunk to default
Brendan Cully <brendan@kublai.com> [Sun, 01 Jul 2007 22:21:05 -0700] rev 4770
convert: svn: fix fallback directory listing code when importing a submodule
Brendan Cully <brendan@kublai.com> [Sun, 01 Jul 2007 22:09:33 -0700] rev 4769
convert: remove svn debugger trap
Brendan Cully <brendan@kublai.com> [Sun, 01 Jul 2007 22:00:25 -0700] rev 4768
convert: import all branches from git repositories
Brendan Cully <brendan@kublai.com> [Sun, 01 Jul 2007 21:09:08 -0700] rev 4767
convert: gitcmd wrapper for os.popen
Brendan Cully <brendan@kublai.com> [Sun, 01 Jul 2007 20:30:04 -0700] rev 4766
convert: activate subversion engine
Fail gracefully if the subversion python bindings are not installed.
Support --rev option to convert as well as URL@rev.
Daniel Holth <dholth@fastmail.fm> [Sun, 01 Jul 2007 23:56:11 +0200] rev 4765
convert extension: Add SVN converter
Daniel Holth <dholth@fastmail.fm> [Sun, 01 Jul 2007 17:15:54 +0200] rev 4764
convert extension: stripped-down svn transport module
Brendan Cully <brendan@kublai.com> [Sun, 01 Jul 2007 19:58:19 -0700] rev 4763
convert: split converter into convertsource and convertsink
Brendan Cully <brendan@kublai.com> [Sun, 01 Jul 2007 19:40:02 -0700] rev 4762
convert: move *** empty log message *** into commit class
Brendan Cully <brendan@kublai.com> [Sun, 01 Jul 2007 19:23:10 -0700] rev 4761
convert: initialize source after destination, cleaning up if source is unusable
Brendan Cully <brendan@kublai.com> [Sun, 01 Jul 2007 15:02:15 -0700] rev 4760
convert: add -r argument specifying latest revision to convert
Brendan Cully <brendan@kublai.com> [Sun, 01 Jul 2007 12:58:08 -0700] rev 4759
convert: ove recode method into converter_source
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 01 Jul 2007 19:19:42 +0200] rev 4758
Merge with crew-stable
Brendan Cully <brendan@kublai.com> [Sat, 30 Jun 2007 08:31:23 -0700] rev 4757
Merge with Adam Spiers
Adam Spiers <hg@adamspiers.org> [Sat, 30 Jun 2007 01:21:41 +0100] rev 4756
mercurial.spec: convert extension now installs files into hgext/convert/
Adam Spiers <hg@adamspiers.org> [Sat, 30 Jun 2007 01:21:41 +0100] rev 4755
buildrpm: fix rpm release number calculation
It was broken when patch queues were in use.
Adam Spiers <hg@adamspiers.org> [Sun, 03 Jun 2007 14:42:39 +0100] rev 4754
buildrpm: auto-generate %changelog in .spec file
Top entry is tip; subsequent entries are the version tags from .hgtags.
Adam Spiers <hg@adamspiers.org> [Sat, 30 Jun 2007 01:21:22 +0100] rev 4753
mercurial.spec: include CONTRIBUTORS, COPYING and man pages in rpm
Adam Spiers <hg@adamspiers.org> [Sun, 03 Jun 2007 14:40:56 +0100] rev 4752
mercurial.spec: include various utility files from contrib/ in rpm
Files included:
hgk
convert-repo
hg-ssh
hg-viz
git-rev-tree
bash_completion
zsh_completion
mercurial.el
julian@lava.net [Sun, 21 Jan 2007 00:59:23 -1000] rev 4751
mercurial.spec: add BuildRequires
Add build dependencies from README as block quote.
Adam Spiers <hg@adamspiers.org> [Sat, 02 Jun 2007 12:42:47 +0100] rev 4750
mercurial.spec: fix when default python prefix != rpm %{_prefix}
e.g. on SUSE Linux Enterprise 10
Lee Cantey <lcantey@gmail.com> [Fri, 29 Jun 2007 13:06:49 -0700] rev 4749
Convert default mercurial.ini file to Windows line endings
Matt Mackall <mpm@selenic.com> [Thu, 05 Jul 2007 13:34:18 -0500] rev 4748
merge: make test for fast-forward merge stricter (
issue619)
don't allow merging with an ancestor
fix != on contexts
add a test
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 04 Jul 2007 09:20:56 +0200] rev 4747
Fixed calling the merge script and reporting errors in debuginstall (
issue617)
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 03 Jul 2007 12:45:33 +0200] rev 4746
Fix revlog.children so the real children of the null revision can be calculated.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Tue, 03 Jul 2007 03:06:40 -0300] rev 4745
hgweb: use lrwxrwxrwx as the permissions of a symlink
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Tue, 03 Jul 2007 03:06:40 -0300] rev 4744
Make hg add foo; hg mv foo bar work.
- foo will be removed (the user has a copy of its contents in bar)
- bar will not be marked as a copy (there was no committed version of foo).
We print a warning telling that to the user.
Fixes
issue269.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Tue, 03 Jul 2007 03:06:40 -0300] rev 4743
test-copy2: use status -C instead of debugstate | grep copy
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Tue, 03 Jul 2007 03:06:40 -0300] rev 4742
test-rename: use hg status -C; don't use hg debugstate | grep copy
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 01 Jul 2007 19:15:25 +0200] rev 4741
Make hgk handle filenames with spaces (
issue49)
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 01 Jul 2007 15:22:49 +0200] rev 4740
Use "--config ui.report_untrusted=false" for hg calls in hgk, fixes
issue523.
tcl's exec yields an error if output to stderr happens and isn't redirected to
a file, so the warnings about untrusted .hg/hgrc caused problems in hgk.
The warning is still printed when executing 'hg view', so the user can see it
when using it from the shell.
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 29 Jun 2007 11:13:36 +0200] rev 4739
Added full URL to debug output if something doesn't look like an http hg repo.
This way it is easier to debug problems with failing subcommands, like
changegroupsubset due to permission problems, when generally accessing
the repository works fine.
Brendan Cully <brendan@kublai.com> [Thu, 28 Jun 2007 21:16:25 -0700] rev 4738
Handle extensions with defined but empty cmdtable
Brendan Cully <brendan@kublai.com> [Thu, 28 Jun 2007 09:19:08 -0700] rev 4737
mq: more qdelete help text tweaks
Brendan Cully <brendan@kublai.com> [Thu, 28 Jun 2007 08:42:43 -0700] rev 4736
mq: require patch argument or revision for qdelete
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 28 Jun 2007 16:18:09 +0200] rev 4735
Make hg glog abort if unused arguments are given.
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 28 Jun 2007 16:03:45 +0200] rev 4734
Abort if earlygetopt fails to detect an option.
Otherwise it could happen that a command is used on the wrong repository,
because abbreviations of --cwd or --repository were ignored.
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 28 Jun 2007 15:56:25 +0200] rev 4733
Simplified earlygetopt and made it remove parsed options and values.
The order of aliases is no longer important, too.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 27 Jun 2007 20:37:33 +0200] rev 4732
Disallow short earlygetop option combined with other short options
While "hg commit -qRfoo" can be read as "--quiet --repository foo",
"hg commit -mRfoo" should be "--message Rfoo".
csaba.henk@creo.hu [Wed, 27 Jun 2007 08:35:26 -0700] rev 4731
Fix tgz archival on Windows.
Making tgz's on Windows has been broken by
06de65673ec2
due to not being careful enough about binary mode opens.
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 26 Jun 2007 22:38:57 +0200] rev 4730
Updated command tables in commands.py and hgext extensions.
- Marked for translation where extensions already had _()
- Corrected indentation
- fixed a few synopsises
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 26 Jun 2007 20:37:15 +0200] rev 4729
Catch illegal boolean values in hgrc nicely.
With hg 0.9.3 the section and parameter name wasn't printed,
with hg 0.9.4 there was a traceback for ValueError.
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 26 Jun 2007 18:39:28 +0200] rev 4728
Added test for earlygetopt fixes (
36d23de02da1 and
79cc512a34ed)
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 26 Jun 2007 18:35:31 +0200] rev 4727
Fix earlygetop for short options with unnecessary spaces removed
Examples:
hg log -qR foo
hg log -Rfoo
hg log -qRfoo
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 26 Jun 2007 15:28:17 +0200] rev 4726
Fix and test 'hg backout' without or with too many revisions.
Matt Mackall <mpm@selenic.com> [Mon, 25 Jun 2007 21:23:24 -0500] rev 4725
Matt Mackall <mpm@selenic.com> [Mon, 25 Jun 2007 21:18:19 -0500] rev 4724
Added tag 0.9.4 for changeset
fb4b6d5fe100
Bryan O'Sullivan <bos@serpentine.com> [Mon, 25 Jun 2007 16:35:27 -0700] rev 4723
Update binary installer files.
Brendan Cully <brendan@kublai.com> [Mon, 25 Jun 2007 15:57:01 -0700] rev 4722
mq: regularize patch header creation.
Do not prefix qnew patches with [mq]: when a message has been given.
Always use [mq]: as the prefix for generated commit messages.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Mon, 25 Jun 2007 18:52:12 -0300] rev 4721
convert: "unknown" is a string
Jean-Francois PIERONNE <jf.pieronne@laposte.net> [Fri, 08 Jun 2007 16:24:43 +0200] rev 4720
OpenVMS patches
Hollis Blanchard <hollisb@us.ibm.com> [Mon, 25 Jun 2007 14:50:25 -0500] rev 4719
fix 'convert' with single commit repositories
The attached patch passes the three 'convert' testcases, and also is
able to successfully convert the git.git repository.