Bryan O'Sullivan <bos@serpentine.com> [Sat, 21 Jul 2007 19:07:18 -0700] rev 4966
addremove: print meaningful error message if --similar not numeric
Matt Mackall <mpm@selenic.com> [Sat, 21 Jul 2007 16:44:38 -0500] rev 4965
Merge with crew
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 21 Jul 2007 17:56:30 +0200] rev 4964
test-alias: Removed fallback to parentui, no longer needed since
10afa3fab6b4
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 21 Jul 2007 17:37:39 +0200] rev 4963
merge with crew-stable
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 21 Jul 2007 17:36:45 +0200] rev 4962
Make [defaults] in .hg/hgrc work.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Fri, 20 Jul 2007 09:44:50 +0200] rev 4961
fix bogus close spotted by pychecker (no close() in global scope)
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 21 Jul 2007 10:43:29 +0200] rev 4960
Remove unused pprint import and the commented line which used it before.
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 21 Jul 2007 10:39:42 +0200] rev 4959
Use format string for lockname again (was changed by
3e25a6eb5c9a)
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 21 Jul 2007 10:36:51 +0200] rev 4958
Backout
ad09ce1d393c and replace ''' with """ to make some highlighting happy.
I have tried Debian's default emacs and the current CVS version. Default emacs
doesn't have highlighting enabled (and being emacs-illiterate I don't know how
to enable it) and the CVS emacs' Python highlighting has no problems with '
characters here.
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 21 Jul 2007 10:30:51 +0200] rev 4957
removed trailing whitespace
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Fri, 20 Jul 2007 09:31:32 +0200] rev 4956
fix unused variables reported by pychecker
Christian Ebert <blacktrash@gmx.net> [Thu, 19 Jul 2007 18:39:51 +0200] rev 4955
churn: get current terminal width if possible
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Thu, 19 Jul 2007 19:48:24 -0300] rev 4954
merge with crew-stable
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Thu, 19 Jul 2007 19:43:25 -0300] rev 4953
dirstate.invalidate: avoid rebuilding _map
Since hasattr will call __getattr__, the call to hasattr(self, '_dirs')
will end up reparsing the dirstate file.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Thu, 19 Jul 2007 19:43:25 -0300] rev 4952
add dirstate._dirtypl variable
Theoretically, it's possible to forget modified dirstate
parents by doing:
dirstate.invalidate()
dirstate.setparents(p1, p2)
dirstate._map
The final access to _map should call _read(), which will
unconditionally overwrite dirstate._pl.
This doesn't actually happen right now because invalidate
accidentally ends up rebuilding dirstate._map.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Thu, 19 Jul 2007 19:43:25 -0300] rev 4951
archive: delay extraction of file revisions
This allows us to look only at the filelogs we're interested in,
providing a nice speedup if we're archiving only part of a repository.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Thu, 19 Jul 2007 19:43:25 -0300] rev 4950
help: avoid traceback if an extension has only debug commands
Bryan O'Sullivan <bos@serpentine.com> [Thu, 19 Jul 2007 15:33:21 -0700] rev 4949
convert/subversion: rehandle the no-tags case
Bryan O'Sullivan <bos@serpentine.com> [Thu, 19 Jul 2007 15:29:33 -0700] rev 4948
Print meaningful error message if os.symlink fails
Bryan O'Sullivan <bos@serpentine.com> [Thu, 19 Jul 2007 15:13:48 -0700] rev 4947
lock.py: cache hostname, but not pid, in case we fork
Bryan O'Sullivan <bos@serpentine.com> [Thu, 19 Jul 2007 12:41:07 -0700] rev 4946
convert/subversion: work around memory leak in svn's python bindings
The svn.ra.get_log wrapper attaches the hash of changed paths for every
log entry to a global memory pool, so memory consumption increases
rapidly, with no way to free it.
Our workaround is to call this function in a child process, and feed
its results back over a pipe. The memory consumption of the child still
grows huge (hundreds of megabytes), but at least it goes away once the
reading-the-log phase is done.
Bryan O'Sullivan <bos@serpentine.com> [Wed, 18 Jul 2007 22:46:14 -0700] rev 4945
Automated merge with http://hg.intevation.org/mercurial/crew
Bryan O'Sullivan <bos@serpentine.com> [Wed, 18 Jul 2007 22:44:25 -0700] rev 4944
convert/subversion: Simplify callback.
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 19 Jul 2007 07:28:27 +0200] rev 4943
merge with crew-stable
Bryan O'Sullivan <bos@serpentine.com> [Wed, 18 Jul 2007 14:00:55 -0700] rev 4942
Simplify update.
Bryan O'Sullivan <bos@serpentine.com> [Wed, 18 Jul 2007 13:56:08 -0700] rev 4941
Better fix for issue 622 than we had in
c4dd58af0fc8.
Bryan O'Sullivan <bos@serpentine.com> [Wed, 18 Jul 2007 19:56:36 -0700] rev 4940
convert/subversion: reduce memory usage by filtering early
This makes up to a 50% difference in memory consumption.
Bryan O'Sullivan <bos@serpentine.com> [Wed, 18 Jul 2007 19:47:22 -0700] rev 4939
Automated merge with http://hg.intevation.org/mercurial/crew
Bryan O'Sullivan <bos@serpentine.com> [Wed, 18 Jul 2007 17:44:52 -0700] rev 4938
convert/subversion: get converter working against plain HTTP.
Bryan O'Sullivan <bos@serpentine.com> [Wed, 18 Jul 2007 14:00:55 -0700] rev 4937
Simplify update.
Bryan O'Sullivan <bos@serpentine.com> [Wed, 18 Jul 2007 13:56:08 -0700] rev 4936
Better fix for issue 622 than we had in
c4dd58af0fc8.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 18 Jul 2007 16:46:20 +0200] rev 4935
merge with main
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 18 Jul 2007 16:46:01 +0200] rev 4934
merge with crew-stable
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 18 Jul 2007 16:41:45 +0200] rev 4933
fix test-tag on Solaris
Bryan O'Sullivan <bos@serpentine.com> [Mon, 16 Jul 2007 20:15:03 -0700] rev 4932
tag: handle .hgtags and .hg/localtags with missing final newline (issue 601)
This also fixes an asymmetry bug in which we called the pretag hook if we
were going to create a local tag, but didn't call the tag hook afterwards.
Bryan O'Sullivan <bos@serpentine.com> [Mon, 16 Jul 2007 18:01:20 -0700] rev 4931
issue 622: pull/unbundle -u updates to default branch if repo was empty
Bryan O'Sullivan <bos@serpentine.com> [Mon, 16 Jul 2007 16:50:47 -0700] rev 4930
mq: autodetect an existing git patch during qrefresh (issue 491)
Brendan Cully <brendan@kublai.com> [Wed, 11 Jul 2007 00:53:44 -0700] rev 4929
replace .hgtags instead of appending to it when doing a raw commit
Brendan Cully <brendan@kublai.com> [Wed, 11 Jul 2007 00:34:35 -0700] rev 4928
handle nonexistent .hgtags in raw _tag
Bryan O'Sullivan <bos@serpentine.com> [Tue, 17 Jul 2007 15:47:32 -0700] rev 4927
convert/subversion.py: str.rsplit is not available in Python 2.3
Bryan O'Sullivan <bos@serpentine.com> [Tue, 17 Jul 2007 15:26:27 -0700] rev 4926
Automated merge with http://hg.intevation.org/mercurial/crew
Bryan O'Sullivan <bos@serpentine.com> [Tue, 17 Jul 2007 15:24:59 -0700] rev 4925
convert/subversion.py: fix bad assumptions about SVN path naming
The SVN converter assumed that the trunk and branches paths were fixed,
and immediately under the base of the SVN URL. Fix the second assumption,
and allow the trunk and branches paths to be reconfigured.
Bryan O'Sullivan <bos@serpentine.com> [Tue, 17 Jul 2007 13:08:50 -0700] rev 4924
convert/subversion.py: escape quotes to make code readable in Emacs
Patrick Mezard <pmezard@gmail.com> [Tue, 17 Jul 2007 23:35:24 +0200] rev 4923
patch: patches should be read and written in binary mode when possible.
Patrick Mezard <pmezard@gmail.com> [Tue, 17 Jul 2007 23:34:52 +0200] rev 4922
patch: fix normalized paths separators.
Patrick Mezard <pmezard@gmail.com> [Tue, 17 Jul 2007 23:33:42 +0200] rev 4921
posixfile_nt: '+' was understood as read mode instead of update.
Matt Mackall <mpm@selenic.com> [Sat, 21 Jul 2007 16:18:42 -0500] rev 4920
revlog: privatize some methods
Matt Mackall <mpm@selenic.com> [Sat, 21 Jul 2007 16:18:24 -0500] rev 4919
revlog: delete unused function makenode
Matt Mackall <mpm@selenic.com> [Sat, 21 Jul 2007 16:18:21 -0500] rev 4918
revlog: raise offset/type helpers to global scope
Matt Mackall <mpm@selenic.com> [Sat, 21 Jul 2007 16:02:10 -0500] rev 4917
Make repo locks recursive, eliminate all passing of lock/wlock
Matt Mackall <mpm@selenic.com> [Sat, 21 Jul 2007 16:02:10 -0500] rev 4916
Use a weakref for recursive transactions
Matt Mackall <mpm@selenic.com> [Sat, 21 Jul 2007 16:02:10 -0500] rev 4915
Use try/finally pattern to cleanup locks and transactions
Matt Mackall <mpm@selenic.com> [Sat, 21 Jul 2007 16:02:09 -0500] rev 4914
repo locks: use True/False
Matt Mackall <mpm@selenic.com> [Sat, 21 Jul 2007 16:02:09 -0500] rev 4913
rename and simplify do_lock
Matt Mackall <mpm@selenic.com> [Sat, 21 Jul 2007 16:02:09 -0500] rev 4912
simplify dirstate fixups in repo.status()
Matt Mackall <mpm@selenic.com> [Sat, 21 Jul 2007 16:02:09 -0500] rev 4911
dirstate: add doesn't need to call stat
Matt Mackall <mpm@selenic.com> [Sat, 21 Jul 2007 16:02:09 -0500] rev 4910
use context for part of localrepo status
Matt Mackall <mpm@selenic.com> [Sat, 21 Jul 2007 16:02:09 -0500] rev 4909
context: add __contains__, __getitem__, and __iter__
Matt Mackall <mpm@selenic.com> [Sat, 21 Jul 2007 16:02:09 -0500] rev 4908
dirstate: get rid of default args for status
Matt Mackall <mpm@selenic.com> [Sat, 21 Jul 2007 16:02:09 -0500] rev 4907
dirstate: make filterfiles private
Matt Mackall <mpm@selenic.com> [Sat, 21 Jul 2007 16:02:09 -0500] rev 4906
dirstate: add __contains__ and make __getitem__ more useful
dirstate.state(f) == '?' -> f not in dirstate
dirstate.state(f) -> dirstate[f]
Matt Mackall <mpm@selenic.com> [Sat, 21 Jul 2007 16:02:09 -0500] rev 4905
dirstate: make wjoin function private
Matt Mackall <mpm@selenic.com> [Sat, 21 Jul 2007 16:02:09 -0500] rev 4904
dirstate: break update into separate functions
Matt Mackall <mpm@selenic.com> [Sat, 21 Jul 2007 16:02:09 -0500] rev 4903
dirstate: use True and false for _dirty
Matt Mackall <mpm@selenic.com> [Tue, 17 Jul 2007 15:26:28 -0500] rev 4902
doc: typo, -x bit
Bryan O'Sullivan <bos@serpentine.com> [Tue, 17 Jul 2007 09:39:30 -0700] rev 4901
Update test output to reflect small changes in patch chattiness.
Bryan O'Sullivan <bos@serpentine.com> [Tue, 17 Jul 2007 09:39:30 -0700] rev 4900
patch.py: re-add the ability to use an external patch program
This is now invoked by default only if ui.patch is set. Otherwise, we
use our built-in patch. If that fails because it can't find any valid
hunks, we'll fall back to trying the external patch command.
Bryan O'Sullivan <bos@serpentine.com> [Tue, 17 Jul 2007 09:39:30 -0700] rev 4899
patch.py: don't mark files as changed unless they have actually been changed
Bryan O'Sullivan <bos@serpentine.com> [Tue, 17 Jul 2007 09:39:30 -0700] rev 4898
patch.py: fix some incorrect uses of _() for i18n
Bryan O'Sullivan <bos@serpentine.com> [Tue, 17 Jul 2007 09:39:30 -0700] rev 4897
Add Chris Mason's mpatch library.
The original repo is http://oss.oracle.com/mercurial/mason/mpatch
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Tue, 17 Jul 2007 09:28:01 -0300] rev 4896
merge with crew-stable
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Tue, 17 Jul 2007 09:08:29 -0300] rev 4895
convert: manually set encoding to UTF-8
Right now the backends assume we're working in UTF-8 and there's
no good way to ignore the encoding when adding revisions.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Tue, 17 Jul 2007 09:08:29 -0300] rev 4894
hg parents: don't pass an OS-specific path to repo.filectx
The only reason to use the matcher code instead of calling util.canonpath
directly is to be able to use "path:canonical/path/to/file" patterns.
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 17 Jul 2007 08:22:43 +0200] rev 4893
merge with main
Bryan O'Sullivan <bos@serpentine.com> [Mon, 16 Jul 2007 20:15:03 -0700] rev 4892
tag: handle .hgtags and .hg/localtags with missing final newline (issue 601)
This also fixes an asymmetry bug in which we called the pretag hook if we
were going to create a local tag, but didn't call the tag hook afterwards.
Bryan O'Sullivan <bos@serpentine.com> [Mon, 16 Jul 2007 18:01:20 -0700] rev 4891
issue 622: pull/unbundle -u updates to default branch if repo was empty
Bryan O'Sullivan <bos@serpentine.com> [Mon, 16 Jul 2007 16:50:47 -0700] rev 4890
mq: autodetect an existing git patch during qrefresh (issue 491)
Matt Mackall <mpm@selenic.com> [Mon, 16 Jul 2007 17:39:03 -0500] rev 4889
contexts: improve filectx eq test
Matt Mackall <mpm@selenic.com> [Mon, 16 Jul 2007 17:30:34 -0500] rev 4888
Merge with -stable
Bryan O'Sullivan <bos@serpentine.com> [Mon, 16 Jul 2007 14:43:47 -0700] rev 4887
patchbomb: add --desc, to specify a file containing a series description
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 15 Jul 2007 21:05:38 +0200] rev 4886
merge with crew-stable
Patrick Mezard <pmezard@gmail.com> [Sun, 15 Jul 2007 14:57:20 +0200] rev 4885
Merge with crew-stable.
Matt Mackall <mpm@selenic.com> [Sun, 15 Jul 2007 14:43:38 -0500] rev 4884
merge: fix unnecessary rename merges on linear update (
issue631)
If one side's revision is identical to the ancestor, we skip the rest
of the copy detection logic.
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 15 Jul 2007 21:04:07 +0200] rev 4883
convert: Use clone's behaviour for the default destionation name.
Adjusted the documentation for this and for the fact that the destionation is
created even if a name is specified.
Patrick Mezard <pmezard@gmail.com> [Sun, 15 Jul 2007 14:09:56 +0200] rev 4882
test-symlink-basic: require symlinks availability
Patrick Mezard <pmezard@gmail.com> [Sat, 14 Jul 2007 18:34:06 +0200] rev 4881
Add hghave utility and run-tests.py support.
hghave detects system features like symlinks availability at run-time. Tests can be skipped by starting them with:
"$TESTDIR/hghave" symlink || exit 80
The 80 exit status triggers hghave output handling by run-tests.py. Also, tests output can be locally patched on the fly to match reference output.
Patrick Mezard <pmezard@gmail.com> [Sat, 14 Jul 2007 14:01:11 +0200] rev 4880
run-tests: extract correct status when script terminates with exit
Matt Mackall <mpm@selenic.com> [Sat, 14 Jul 2007 13:34:40 -0500] rev 4879
Merge with -stable
Matt Mackall <mpm@selenic.com> [Sat, 14 Jul 2007 12:44:47 -0500] rev 4878
diff: correctly handle combinations of whitespace options
Giorgos Keramidas <keramida@ceid.upatras.gr> [Mon, 09 Jul 2007 17:41:14 +0300] rev 4877
hg grep: handle re.compile errors & update tests/test-grep
Jesse Glick <jesse.glick@sun.com> [Thu, 12 Jul 2007 10:55:49 -0400] rev 4876
typo fix
jon.christopher@Rigaku.com [Sat, 14 Jul 2007 11:27:58 -0500] rev 4875
Re: mercurial.el and hg-version-other-window
hg-version-other window is unimplemented in mercurial.el. The version
below works for me, YMMV.
Christian Ebert <blacktrash@gmx.net> [Fri, 06 Jul 2007 12:02:43 +0200] rev 4874
Use isinstance instead of type == type
Brendan Cully <brendan@kublai.com> [Fri, 13 Jul 2007 08:28:57 -0700] rev 4873
convert: record the source revision in the changelog
Wesley J. Landaker <wjl@icecavern.net> [Thu, 12 Jul 2007 22:55:44 -0700] rev 4872
Use wsgi.url_scheme instead of ad-hoc CGI checks.
Instead of each place in hgweb_mod that needs to check for SSL or get
the protocol scheme (http vs. https) doing it ad-hoc, make them just
look at the wsgi.url_scheme which because of previous patches is now
always set correctly.
Brendan Cully <brendan@kublai.com> [Thu, 12 Jul 2007 22:44:16 -0700] rev 4871
cosmetics
Wesley J. Landaker <wjl@icecavern.net> [Thu, 12 Jul 2007 13:58:36 -0600] rev 4870
Make hg serve set the wsgi.url_scheme property correctly.
This fixes the bug where hg serve with SSL will always detect the wrong
urlbase for templates. This is also part of unifying the CGI interface
and hg serve interface to both use standard wsgi.
Wesley J. Landaker <wjl@icecavern.net> [Thu, 12 Jul 2007 13:55:20 -0600] rev 4869
Handle CGI SSL detection via HTTPS environment better.
Some servers send on/off, 0/1, yes/no, and may be upper or lower case.
This fix will handle all of those permutations. It was inspired by the
detection done in in some other wsgi python web applications I looked at.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 11 Jul 2007 20:15:03 -0300] rev 4868
merge with crew-stable
Wesley J. Landaker <wjl@icecavern.net> [Tue, 10 Jul 2007 10:54:54 -0600] rev 4867
Make {urlbase} work in templates when https is used.
Brendan Cully <brendan@kublai.com> [Wed, 11 Jul 2007 00:53:44 -0700] rev 4866
replace .hgtags instead of appending to it when doing a raw commit
Brendan Cully <brendan@kublai.com> [Wed, 11 Jul 2007 00:34:35 -0700] rev 4865
handle nonexistent .hgtags in raw _tag
Brendan Cully <brendan@kublai.com> [Wed, 11 Jul 2007 00:04:15 -0700] rev 4864
Export extra in _tag so convert can set the branch of a tag
Brendan Cully <brendan@kublai.com> [Tue, 10 Jul 2007 10:06:24 -0700] rev 4863
archive: abort on empty repository. Fixes #624.
Brendan Cully <brendan@kublai.com> [Tue, 10 Jul 2007 09:52:32 -0700] rev 4862
mq: improve qclone error handling when patch directory is not a repository.
Lee Cantey <lcantey@gmail.com> [Mon, 09 Jul 2007 22:35:10 -0700] rev 4861
Fix test-debugcomplete for new --certificate option
Brendan Cully <brendan@kublai.com> [Mon, 09 Jul 2007 22:12:28 -0700] rev 4860
Add SSL support to hg serve, activated via --certificate option
Lee Cantey <lcantey@gmail.com> [Mon, 09 Jul 2007 10:59:49 -0700] rev 4859
Correct inadvertent line ending change.
Lee Cantey <lcantey@gmail.com> [Mon, 09 Jul 2007 10:46:41 -0700] rev 4858
Fix for win32text corrupting files that have CRLF line endings. (
issue302)
Also generate a warning when encountering this condition.
From Shun-ichi Goto in attachment win32text-patch3.txt for issue 302.
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 08 Jul 2007 19:59:02 +0200] rev 4857
Add --line-number option to hg annotate (
issue506)
Line numbers are separated from the last annotation element with a colon,
like with many other commands, e.g. (hg) grep or compiler errors.
Idea and tests by FUJIWARA Katsunori.
FUJIWARA Katsunori <foozy@lares.dti.ne.jp> [Sun, 08 Jul 2007 19:46:04 +0200] rev 4856
Allow filectx.annotate to return the line number of first appearance.
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 08 Jul 2007 13:44:41 +0200] rev 4855
Check for conflict markers in hgmerge (
issue471)
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 08 Jul 2007 12:59:58 +0200] rev 4854
merge with crew-stable
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 08 Jul 2007 09:54:42 +0200] rev 4853
Removed deprecated hg:// and old-http:// protocols (
issue406)
Brendan Cully <brendan@kublai.com> [Sat, 07 Jul 2007 21:55:56 -0700] rev 4852
hgwebdir: check for repo foo before browsing subdirectories of foo/
Brendan Cully <brendan@kublai.com> [Sat, 07 Jul 2007 15:09:28 -0700] rev 4851
Merge with crew
Brendan Cully <brendan@kublai.com> [Sat, 07 Jul 2007 15:09:08 -0700] rev 4850
hgweb: browse subdirectories before checking whether parent directory is also a repository
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 07 Jul 2007 20:52:31 +0200] rev 4849
Use a prefix for debuginstall tempfiles.
This way you know where the files came from if they don't get removed.
Brendan Cully <brendan@kublai.com> [Fri, 06 Jul 2007 10:29:09 -0700] rev 4848
python 2.3 does not have sorted
Brendan Cully <brendan@kublai.com> [Fri, 06 Jul 2007 10:22:22 -0700] rev 4847
Sort changelog extra dict to avoid possible nondeterminism
Brendan Cully <brendan@kublai.com> [Fri, 06 Jul 2007 10:11:48 -0700] rev 4846
Last change broke new-style URLs
Brendan Cully <brendan@kublai.com> [Fri, 06 Jul 2007 09:15:17 -0700] rev 4845
hgwebdir: do not walk up the given path looking for a repository. It is there or it isn't.
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 06 Jul 2007 08:55:36 +0200] rev 4844
merge with crew-stable
Brendan Cully <brendan@kublai.com> [Thu, 05 Jul 2007 19:56:16 -0700] rev 4843
hgwebdir: show only trailing part of path when browsing subdirectories
Brendan Cully <brendan@kublai.com> [Thu, 05 Jul 2007 19:47:04 -0700] rev 4842
gitweb: add notfound template
Brendan Cully <brendan@kublai.com> [Thu, 05 Jul 2007 19:44:06 -0700] rev 4841
hgweb: let hgwebdir browse subdirectories
Brendan Cully <brendan@kublai.com> [Thu, 05 Jul 2007 16:14:01 -0700] rev 4840
convert: svn code movement (no actual changes)
Brendan Cully <brendan@kublai.com> [Thu, 05 Jul 2007 15:01:31 -0700] rev 4839
convert: svn: avoid parsing already-seen logentries due to branch following
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