Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 28 Mar 2006 09:04:33 -0800] rev 2017
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 28 Mar 2006 09:01:07 -0800] rev 2016
fix backtrace printed when cannot get lock.
change lock error handling code so exceptions have useful info and
exception handling in one place.
add test case for when cannot get lock.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 29 Mar 2006 12:45:33 +0200] rev 2015
Catch HTTPException when reading from remote http repository.
If the server dies very early, an httplib.IncompleteRead exception may be
raised, because httplib can't read a single byte. Catching all HTTPException
subclasses here will prevent ugly backtraces for similar things, too.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 28 Mar 2006 09:26:38 -0800] rev 2014
merge with crew.
Eung-Ju Park <eungju@gmail.com> [Tue, 28 Mar 2006 09:24:29 -0800] rev 2013
Fix error on Windows if "hg log | more" exits.
TK Soh <teekaysoh@yahoo.com> [Tue, 28 Mar 2006 19:02:00 +0200] rev 2012
add missing filename title to gitweb's filelog page
TK Soh <teekaysoh@yahoo.com> [Tue, 28 Mar 2006 18:54:00 +0200] rev 2011
don't overquote description on gitweb summary page (issue 184)
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 27 Mar 2006 08:31:33 -0800] rev 2010
fix appendfile problem on macos.
when i open file with mode 'a+' on linux, seek position is 0.
on macos seek position is end of file instead. not documented.
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 26 Mar 2006 22:54:05 +0200] rev 2009
Fix broken hgignore tests due to full path showing up in output.
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 26 Mar 2006 22:32:44 +0200] rev 2008
Don't ignore everything if all hgignore files are empty.
TK Soh <teekaysoh@yahoo.com> [Sun, 26 Mar 2006 07:28:52 -0800] rev 2007
show committer's name on gitweb's summary page (issue 137)
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 25 Mar 2006 10:31:06 +0100] rev 2006
Show reason why an ignore file can't be read and state that it is skipped.
mcmillen@cs.cmu.edu [Sat, 25 Mar 2006 10:12:23 +0100] rev 2005
On error parsing hgignore file, print the correct filename.
mcmillen@cs.cmu.edu [Sat, 25 Mar 2006 10:02:39 +0100] rev 2004
Add warning if user-configured hgignore file isn't found
mcmillen@cs.cmu.edu [Fri, 24 Mar 2006 20:18:02 +0100] rev 2003
Implementation of per-user .hgignore.
Reference: http://www.selenic.com/mercurial/bts/issue166
If the [ui] section of .hgrc contains keys like "ignore" or
"ignore.something", the values corresponding to these keys are
treated as per-user hgignore files. These hgignore files apply to all
repositories used by that user.
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 24 Mar 2006 19:51:05 +0100] rev 2002
Calling revlog.addgroup with an empty changegroup now raises RevlogError.
The empty changegroup can be caused by remote servers dying soon after
findincoming, and further code in pull assumes (correctly) that there are
new changesets.
Lee Cantey <lcantey@gmail.com> [Fri, 24 Mar 2006 10:33:18 -0800] rev 2001
Windows py2exe version didn't handle names given to templatepath() correctly
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 24 Mar 2006 10:31:23 -0800] rev 2000
add benoit's test for issue148.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 24 Mar 2006 09:23:11 -0800] rev 1999
forgot to add new module.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 24 Mar 2006 09:08:12 -0800] rev 1998
fix race in localrepo.addchangegroup.
localrepo.addchangegroup writes to changelog, then manifest, then normal
files. this breaks access ordering. if reader reads changelog while
manifest is being written, can find pointers into places in manifest
that are not yet written. same can happen for manifest and normal files.
fix is to make almost no change to localrepo.addchangegroup. it must
to write changelog and manifest data early because it has to read them
while writing other files. instead, write changelog and manifest data
to temp file that reader cannot see, then append temp data to manifest
after all normal files written, finally append temp data to changelog.
temp file code is in new appendfile module. can be used in other places
with small changes.
much smaller race still left. we write all new data in one write call,
but reader can maybe see partial update because python or os or filesystem
cannot always make write really atomic. file locking no help: slow, not
portable, not reliable over nfs. only real safe other plan is write to
temp file every time and rename, but performance bad when manifest or
changelog is big.
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 24 Mar 2006 15:19:08 +0100] rev 1997
Added missing gettext import to changegroup.py.
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 24 Mar 2006 15:03:15 +0100] rev 1996
Don't mention deprecated HGEDITOR variable in the help text of commit.
mcmillen@cs.cmu.edu [Fri, 24 Mar 2006 14:53:23 +0100] rev 1995
Spelling fix: "commited" -> "committed"
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 24 Mar 2006 08:51:08 +0100] rev 1994
show message if no changes found on outgoing
Now the messages for pull/push/incoming/outgoing should be consistent.
TK Soh <teekaysoh@yahoo.com> [Fri, 24 Mar 2006 08:34:56 +0100] rev 1993
show message if no changes found on incoming
Lee Cantey <lcantey@gmail.com> [Fri, 24 Mar 2006 08:27:24 +0100] rev 1992
Include templates/static/* in MANIFEST.in so that distutils setup will include them.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Thu, 23 Mar 2006 23:55:51 +0100] rev 1991
merge with self
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Thu, 23 Mar 2006 23:39:53 +0100] rev 1990
make it possible to escape characters in a glob expression
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Thu, 23 Mar 2006 23:16:41 +0100] rev 1989
ignore EPIPE in ui.err_write
It avoids not being able to abort a transaction when a push via ssh fails.
Maybe some other place should ignore EPIPE too.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 21 Mar 2006 23:31:04 -0800] rev 1988
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 21 Mar 2006 23:29:21 -0800] rev 1987
add changelog style to command line template.
to use, "hg log --style=changelog". makes different output with no
flags, -q, -v, --debug.
templater module has new template filters for this.
email - committer email address
fill68 - refill text to 68 colums
fill76 - refill text to 76 colums
tabindent - prefix every not empty line with tab
shortdate - iso 8631 date, no time zone
stringify - turn template iterator into string
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Wed, 22 Mar 2006 05:30:47 +0100] rev 1986
add checking for invalid entries in tag files
safely parse the differents tag files, output warning
when parsing an invalid entry.
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 21 Mar 2006 15:33:29 +0100] rev 1985
Adapted behaviour of ui.username() to documentation and mention it explicitly:
Searched in this order: $HGUSER, [ui] section of hgrcs, $EMAIL
and stop searching if one of these is set.
Abort if found username is an empty string to force specifying
the commit user elsewhere, e.g. with line option or repo hgrc.
If not found, use $LOGNAME or $USERNAME +"@full.hostname".
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 21 Mar 2006 12:54:32 +0100] rev 1984
Improved ui.edit():
- Use descriptive name for temporary file: hg-editor-*.txt
- Don't import tempfile in the method, but use demandload()
- Remove tempfile file even if editor aborts.
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 21 Mar 2006 12:45:27 +0100] rev 1983
Pass correct username as $HGUSER to hgeditor if "commit -u" is used.
And only use the new util.system parameter to set the environment.
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 21 Mar 2006 12:15:25 +0100] rev 1982
Added test for incoming via ssh.
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 21 Mar 2006 11:47:21 +0100] rev 1981
make incoming work via ssh (issue139); move chunk code into separate module.
Incoming ssh needs to detect the end of the changegroup, otherwise it would
block trying to read from the ssh pipe. This is done by parsing the
changegroup chunks.
bundlerepo.getchunk() already is identical to
localrepo.addchangegroup.getchunk(), which is followed by getgroup which
looks much like what you can re-use in bundlerepository.__init__() and in
write_bundle(). bundlerevlog.__init__.genchunk() looks very similar, too,
as do some while loops in localrepo.py.
Applied patch from Benoit Boissinot to move duplicate/related code
to mercurial/changegroup.py and use this to fix incoming ssh.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 21 Mar 2006 06:03:33 +0100] rev 1980
use HG10UN header for uncompressed bundle
- use HG10UN instead of HG11 for uncompressed bundles header
- check HG10BZ for compressed bundle
- better error handling for invalid header
some notes:
- people who created uncompressed bundle will no longer be
able to use them (it could be fixed with hand-editing)
- older hg cannot detect an uncompressed bundle
(bzip2 decompression will fail).
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 20 Mar 2006 17:14:58 +0100] rev 1979
More detailed documentation about ssh:// URLs; fixes issue170.
TK Soh <teekaysoh@yahoo.com> [Mon, 20 Mar 2006 08:46:29 +0100] rev 1978
do proper typecasting on malloc() and calloc() calls
to support build on Solaris 2.6 using Sun Pro SC4.0 (C++ 4.1) compiler.
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 19 Mar 2006 21:26:58 +0100] rev 1977
Don't forget version at the end of setup.py, write it only if changed.
This fixes issue159: "python setup.py install" shouldn't write new files
in the working dir if one has done "python setup.py build" first.
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 19 Mar 2006 14:53:58 +0100] rev 1976
Enable path validation for copy, rename, debugwalk and other canonpath users.
This fixed the last bit of issue134.
Added some tests to test-rename and test-walk.
Shun-ichi Goto <shunichi.goto@gmail.com> [Sat, 18 Mar 2006 09:51:25 -0800] rev 1975
Duplicate cache when creating templater.
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 18 Mar 2006 14:36:45 +0100] rev 1974
Delete bundle file of hg incoming in case of errors, preserve existing files.
Let write_bundle always create the bundle file, check if target doesn't exist
and delete it in case of errors.
This way incoming only has to delete the bundle file if it was meant to
be a temporary file.
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 18 Mar 2006 11:24:19 +0100] rev 1973
Cleaned up the code path for bundle handling in hg incoming, updated comments.
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 18 Mar 2006 10:45:21 +0100] rev 1972
Documented behaviour of write_bundle regarding file handles.
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 18 Mar 2006 09:13:27 +0100] rev 1971
imported patch /home/thomas/fix-incoming-abortion4.patch
Shun-ichi GOTO <shunichi.goto@gmail.com> [Fri, 17 Mar 2006 17:23:52 -0800] rev 1970
Fixed abort while remote incoming command on windows.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Fri, 17 Mar 2006 18:53:04 +0100] rev 1969
write_bundle: close the file before removing it in case of failure
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 17 Mar 2006 09:49:28 -0800] rev 1968
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 17 Mar 2006 09:48:43 -0800] rev 1967
still use old variable names when running hooks. dropped by accident.
we set HG_FOO (new name) and FOO (old name).
plan is to drop old names after 0.9.
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 17 Mar 2006 18:19:05 +0100] rev 1966
hg status cleanups: Don't translate long options, remove stray semicolon.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Thu, 16 Mar 2006 06:58:15 +0100] rev 1965
add remotecmd/ssh option support to incoming/outgoing
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 15 Mar 2006 11:28:00 -0800] rev 1964
fix template bug that made hgweb break.
problem found by Shun-ichi Goto <shunichi.goto@gmail.com>.
this fix tested with command template and hgweb templates.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 15 Mar 2006 11:26:57 +0100] rev 1963
Don't require the "yes" command for test-merge5.
TK Soh <teekaysoh@yahoo.com> [Wed, 15 Mar 2006 11:09:24 +0100] rev 1962
tests: more portability fix for the old systems
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 14 Mar 2006 23:01:11 -0800] rev 1961
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 14 Mar 2006 23:00:45 -0800] rev 1960
update test for unrelated repo.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 14 Mar 2006 22:58:14 -0800] rev 1959
add -f/--force to pull, incoming, outgoing, to work on unrelated repo.
before this, push would not push from e.g. "hg" repo to "kernel" repo
but other commands worked. this was bad idea, could merge unrelated
projects by accident. i did this tonight.
now, all commands still work with unrelated repo but need
--force/-f. abort is default. this is safer.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Wed, 15 Mar 2006 07:15:13 +0100] rev 1958
merge with crew
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Wed, 15 Mar 2006 07:10:04 +0100] rev 1957
merge with crew
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Wed, 15 Mar 2006 07:09:42 +0100] rev 1956
use a proper test instead of catching every exception
Shun-ichi GOTO <shunichi.goto@gmail.com> [Wed, 15 Mar 2006 06:39:04 +0100] rev 1955
Fix the py2exe template path problem (issue:152) again.
This patch is same with 1834:24881eaebee3 which is leaved behind by
1897:58b6784cf9f1.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 14 Mar 2006 22:02:41 -0800] rev 1954
merge with crew.
TK Soh <teekaysoh@yahoo.com> [Tue, 14 Mar 2006 22:01:30 -0800] rev 1953
change default strftime format for better portability
On some systems, such as Solaris and HP-UX, "%c" format
give output without the leading zero on the single-digit
month-day.
TK Soh <teekaysoh@yahoo.com> [Tue, 14 Mar 2006 21:42:32 -0800] rev 1952
tests: fix portability issue for echo -n
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 14 Mar 2006 21:40:46 -0800] rev 1951
add HGRCPATH env var, list of places to look for hgrc files.
if set, override default hgrc search path.
if empty, only .hg/hgrc of current repo read.
for each element, if directory, all entries in directory with end in
".rc" are added to path. else, element is added to path.
big thing about this change is that user "~/.hgrc" and system hgrc not
longer breaks tests. run-tests makes HGRCPATH empty now.
Hollis Blanchard <hollisb@us.ibm.com> [Wed, 15 Mar 2006 03:19:16 +0100] rev 1950
hgk "committer:" bug
I've been having an hgk problem with this tree:
http://xenbits.xensource.com/ext/linux-ppc-2.6.hg, specifically changeset
93c590d23a53.
The problem seems to be that the commit message contains a "committer:" line,
which triggers a (relatively unused?) case in hgk.py... Both cases need the
dates at the end of the line.
Soh Tk-r28629 <tksoh@freescale.com> [Wed, 15 Mar 2006 02:49:45 +0100] rev 1949
tests: add bunzip2 to prerequisite list
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Mon, 13 Mar 2006 23:38:14 +0100] rev 1948
merge with crew/templates
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Mon, 13 Mar 2006 23:32:57 +0100] rev 1947
fix the call to util.matcher (the args should be (reporoot, cwd, ...))
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Mon, 13 Mar 2006 06:58:31 +0100] rev 1946
bundlerepo: remove relative import, fix a comment
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Mon, 13 Mar 2006 03:56:36 +0100] rev 1945
new type of repo: bundle://path/to/repo+/path/to/bundlename
You can use it to pull only some changeset from an uncompressed
bundle.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Mon, 13 Mar 2006 03:54:23 +0100] rev 1944
incoming: add support for remote repo using bundlerepo
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Mon, 13 Mar 2006 03:54:23 +0100] rev 1943
refactor the bundle writing code, since we will reuse it later
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Mon, 13 Mar 2006 03:54:23 +0100] rev 1942
add bundlerepo.py: a read-only repo that can use uncompressed bundles
The idea is to create a repo consisting of a normal local repository
plus all the changesets contained in a bundle.
The bundle needs to be uncompressed. A futur version could implement
the seeking through a compressed bundle.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Mon, 13 Mar 2006 03:54:23 +0100] rev 1941
revlog.py: factorization and fixes for rev < 0 (nullid)
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Mon, 13 Mar 2006 03:54:23 +0100] rev 1940
add a new bundle type: uncompressed bundle
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 13 Mar 2006 18:33:33 +0100] rev 1939
Use timestamps without leading 0 in test-command-template for portable tests.
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 13 Mar 2006 08:25:33 -0800] rev 1938
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 13 Mar 2006 08:24:44 -0800] rev 1937
fix use of python 2.4 features.
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 13 Mar 2006 13:19:23 +0100] rev 1936
Make test-remove portable for strange strftime implementations (second try).
I forgot to replace the date output for 'hg log -p', too.
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 13 Mar 2006 13:11:35 +0100] rev 1935
Removed obsolete workaround for error message in tests/test-static-http.
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 13 Mar 2006 13:08:31 +0100] rev 1934
Make test-remove portable for strange strftime implementations.
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 13 Mar 2006 13:05:41 +0100] rev 1933
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero.
Some systems show "Thu Jan 01" instead of "Thu Jan 1", which breaks tests.
Using "1000000" yields "Mon Jan 12 13:46:40 1970", which looks the same on
all systems.
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 13 Mar 2006 12:22:55 +0100] rev 1932
Merge with http://hg.home.dataloss.nl/hg-portabletests
Peter van Dijk <peter@dataloss.nl> [Mon, 06 Mar 2006 18:01:34 +0100] rev 1931
merge with crew
Peter van Dijk <peter@dataloss.nl> [Mon, 06 Mar 2006 18:00:44 +0100] rev 1930
merge with crew
Eric Hopper <hopper@omnifarious.org> [Mon, 06 Mar 2006 08:47:16 -0800] rev 1929
Merging with crew.
Peter van Dijk <peter@dataloss.nl> [Mon, 06 Mar 2006 17:58:53 +0100] rev 1928
clarify license on md5sum.py
Peter van Dijk <peter@dataloss.nl> [Wed, 22 Feb 2006 16:11:17 +0100] rev 1927
add http_proxy= lines to test-bad-pull and test-pull
Peter van Dijk <peter@dataloss.nl> [Wed, 22 Feb 2006 15:57:43 +0100] rev 1926
changes by John Levon to standardize some erroroutput
Peter van Dijk <peter@dataloss.nl> [Wed, 22 Feb 2006 15:42:48 +0100] rev 1925
small solaris portability fixes from John Levon <levon@movementarian.org>
Peter van Dijk <peter@dataloss.nl> [Tue, 21 Feb 2006 22:32:17 +0100] rev 1924
add md5sum.py required by fix in previous changeset
Peter van Dijk <peter@dataloss.nl> [Tue, 21 Feb 2006 22:23:51 +0100] rev 1923
fix testsuite for freebsd and one timingissue
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Mon, 13 Mar 2006 08:56:59 +0100] rev 1922
ui: output the number of file updated/merged/removed/... on update
add a note for people to remember commiting after a merge.
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 12 Mar 2006 20:34:09 +0100] rev 1921
Don't expand empty [paths] so later interpolation can do the right thing.
Example:
[paths]
default =
default-push = %(default)s
Vadim Gelfer <vadim.gelfer@gmail.com> [Sun, 12 Mar 2006 16:21:59 -0800] rev 1920
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Sun, 12 Mar 2006 15:58:56 -0800] rev 1919
add changeset_quiet to templates.
Vadim Gelfer <vadim.gelfer@gmail.com> [Sun, 12 Mar 2006 15:50:18 -0800] rev 1918
fix template tests.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 10 Mar 2006 21:41:44 -0800] rev 1917
add quiet and debug template keys.
Vadim Gelfer <vadim.gelfer@gmail.com> [Sun, 05 Mar 2006 17:08:35 -0800] rev 1916
fix test failures that depend on when tests run.
Vadim Gelfer <vadim.gelfer@gmail.com> [Sat, 04 Mar 2006 21:12:53 -0800] rev 1915
add tests for command line template.
fix default template problem found in test.
Vadim Gelfer <vadim.gelfer@gmail.com> [Sat, 04 Mar 2006 15:15:18 -0800] rev 1914
make --style=compact look for map-cmdline.compact.
change name of key in map file from changelog to changeset.
rename command map files to start with map-cmdline.
rename ui.logmap to ui.style in hgrc.
now --style=foo does this:
tries to open foo as file.
tries as map-cmdline.foo in template path.
tries as foo in template path.
Vadim Gelfer <vadim.gelfer@gmail.com> [Sat, 04 Mar 2006 12:40:10 -0800] rev 1913
fix some things people wanted to be cleaner.
rename --map-file to --style.
no more -t alias for --template.
update docs.
rename template entry in map files to changelog.
if --verbose, use changelog_verbose if there, else changelog.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 28 Feb 2006 07:24:54 -0800] rev 1912
hide some functions behind lambdas, so demandload is useful.
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 27 Feb 2006 21:37:57 -0800] rev 1911
add extra newline to verbose log template. asak found this.
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 27 Feb 2006 21:32:15 -0800] rev 1910
changeset_templater: only compute manifest when --debug.
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 27 Feb 2006 15:07:25 -0800] rev 1909
add doc comments to template code.
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 27 Feb 2006 13:25:40 -0800] rev 1908
print tags in compact template.
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 27 Feb 2006 13:18:57 -0800] rev 1907
let commands that show changesets use templates.
mechanism is same as hgweb templates.
old show_changeset code is still used for now if no template given,
because it is faster than template code when verbose or debug.
simple template can be given on command line using -t, --template.
example:
hg log -t '{author|person}\n'
complex template can be put in template map file, given on command line
using --map-file.
we give two example map files:
map-log.compact prints 3 lines of output for every change.
map-log.verbose prints exact same output as default "hg log -v".
map files are searched where user says, then in template path as backup.
example:
hg log --map-file map-log.compact
defaults can be set in hgrc with ui.logtemplate and ui.logmap.
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 27 Feb 2006 12:50:49 -0800] rev 1906
add iso date template filter.
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 27 Feb 2006 12:41:20 -0800] rev 1905
improve template errors when something is wrong.
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 27 Feb 2006 11:33:09 -0800] rev 1904
improve templating.
allow {foo} as well as #foo#.
add new functions for changeset authors.
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 27 Feb 2006 11:32:10 -0800] rev 1903
move shortuser into util module.
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 27 Feb 2006 11:18:56 -0800] rev 1902
make parsestring work with strings that do not have quotes.
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 27 Feb 2006 09:35:43 -0800] rev 1901
use safer string parser for template engine.
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 27 Feb 2006 09:15:59 -0800] rev 1900
move repeated work out of inner loops.
Vadim Gelfer <vadim.gelfer@gmail.com> [Sun, 26 Feb 2006 20:53:37 -0800] rev 1899
many small changes to templater.
get string code to parse escapes. uses eval now, should parse strings
itself soon.
let caller check if fragment is defined using "in".
make templatepath take optional file name.
Vadim Gelfer <vadim.gelfer@gmail.com> [Sun, 26 Feb 2006 13:11:53 -0800] rev 1898
missed hunk when moving code to templater module
Vadim Gelfer <vadim.gelfer@gmail.com> [Sun, 26 Feb 2006 13:09:26 -0800] rev 1897
move hgweb.templatepath into templater
Vadim Gelfer <vadim.gelfer@gmail.com> [Sun, 26 Feb 2006 12:59:28 -0800] rev 1896
move hgweb template code out to templater
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Mon, 13 Mar 2006 00:02:33 +0100] rev 1895
findincoming should return an iterable
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 12 Mar 2006 20:23:05 +0100] rev 1894
Allow symbolic path names in global -R/--repository parameter.
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 12 Mar 2006 20:13:58 +0100] rev 1893
Read paths specified in .hg/hgrc relative to repo root, otherwise to home dir.
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 12 Mar 2006 18:05:13 +0100] rev 1892
Directory names take precedence over symbolic names consistently.
Previously this was only done for clone.
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 12 Mar 2006 15:11:11 +0100] rev 1891
New version/release in mercurial.spec, patchbomb is now in hgext.
Xiaofeng Ling <xiaofeng.ling@intel.com> [Sun, 12 Mar 2006 15:07:40 +0100] rev 1890
fix contrib/mercurial.spec for hgext
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 12 Mar 2006 13:57:55 +0100] rev 1889
Try to import extensions from the hgext module first.
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 12 Mar 2006 12:29:03 +0100] rev 1888
Make bash_completion more robust for e.g. broken hgrc or old hg installations.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 12 Mar 2006 11:32:03 +0100] rev 1887
new command debugcomplete
add a new command debugcomplete, it lists all the possible
completion for the specified command.
make the bash_completion script uses it instead of the awk code
TK Soh <teekaysoh@yahoo.com> [Sun, 12 Mar 2006 08:08:22 +0100] rev 1886
remove bashisms from tests
Vadim Gelfer <vadim.gelfer@gmail.com> [Sat, 11 Mar 2006 21:33:19 -0800] rev 1885
run merge program in repo root.
before, merge program was run in user current directory. Well defined
location is better for scripts. no more need to pass HG_ROOT to merge
program now.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 10 Mar 2006 23:34:36 -0800] rev 1884
merge with self.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 10 Mar 2006 23:34:02 -0800] rev 1883
give more info to hgmerge script.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 10 Mar 2006 22:42:59 -0800] rev 1882
merge util.esystem and util.system.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 10 Mar 2006 23:25:50 -0800] rev 1881
undo edit that was accident.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 10 Mar 2006 22:24:19 -0800] rev 1880
fix broken environment save/restore when a hook runs.
move "run commend with different env/cwd" code out to function in util.
new function is called esystem.
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 10 Mar 2006 20:06:41 +0100] rev 1879
make clean now removes generated documentation.
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 10 Mar 2006 19:16:49 +0100] rev 1878
Make #!/usr/bin/env python in test-bdiff run the specified python version.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 10 Mar 2006 08:31:31 -0800] rev 1877
change lock format to let us detect and break stale locks.
old style: symlink to pid
new style: symlink to hostname:pid
if lock code finds new-style lock, it breaks lock if locking pid is on
same machine and pid is not alive.
otherwise, lock is left alone. this makes locking code safe with
old-style locks and with locks on other machines.
new code makes server part of mercurial more robust in case machine
crashes, power fails, or crazy user does kill -9.
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 10 Mar 2006 11:34:02 +0100] rev 1876
Catch hgrc interpolation errors nicely.
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 10 Mar 2006 11:33:28 +0100] rev 1875
Catch other exceptions (e.g. util.Abort) in parse(), too.
This has the benefit of removing duplicate catching of AmbiguousCommand
and UnknownCommand, and keeping all exception handling together.
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 10 Mar 2006 11:06:45 +0100] rev 1874
Inherit config from real parentui and don't use ConfigParser internals.
Added comments for the meaning of parentui.
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 10 Mar 2006 10:44:17 +0100] rev 1873
Added check for minimal python version to setup.py
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 09 Mar 2006 16:27:21 -0800] rev 1872
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 09 Mar 2006 16:26:49 -0800] rev 1871
patchbomb: ignore exception if pager quits.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 09 Mar 2006 12:18:59 -0800] rev 1870
make push over http print good error message.
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 09 Mar 2006 08:27:49 +0100] rev 1869
Reordered options for remove, fixed synopsis for rename.
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 08 Mar 2006 18:48:40 -0800] rev 1868
merge with self.
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 08 Mar 2006 15:14:24 -0800] rev 1867
add -f/--force to remove command.
else to remove modified file, must use "hg revert; hg rm"
or "rm; hg rm --after".
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 08 Mar 2006 14:53:57 -0800] rev 1866
inherit hgrc so "%" interpolation works.
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 08 Mar 2006 11:21:45 -0800] rev 1865
merge with crew.
Lee Cantey <lcantey@gmail.com> [Wed, 08 Mar 2006 11:20:39 -0800] rev 1864
Fix manifest view on Windows
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 08 Mar 2006 19:31:54 +0100] rev 1863
Removed script header from mq.py
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 08 Mar 2006 19:30:30 +0100] rev 1862
Moved bisect extension to hgext folder.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 08 Mar 2006 19:25:03 +0100] rev 1861
Added copyright information to hbisect.py
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 08 Mar 2006 06:20:32 +0100] rev 1860
Merged tah and crew
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 08 Mar 2006 06:13:24 +0100] rev 1859
Moved --cwd handling in front of -R handling again. Shorter code for initial -R.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 08 Mar 2006 01:30:43 +0100] rev 1858
Make hg paths and hg debugconfig work with -R/--repository option.
Commands that can use a repo, but don't need one, should be added
to the "optionalrepo" string, similar to the "norepo" string.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 08 Mar 2006 01:25:14 +0100] rev 1857
Always try to open the repository if -R/--repository is specified.
This makes 'hg -R something_unknown command' consistently fail for
all commands, not only for those who need a repository.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 08 Mar 2006 05:31:20 +0100] rev 1856
Make bisect extension work with python2.3
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 08 Mar 2006 05:16:36 +0100] rev 1855
Fixed spacing/indentation, removed #! script header, added short description.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 08 Mar 2006 05:07:20 +0100] rev 1854
Fixed contrib/hbisect.py to work with the new opener behaviour.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 08 Mar 2006 00:27:23 +0100] rev 1853
Fix some problems when working on broken repositories:
Fix tracebacks in hg verify for certain repo errors.
Print compression type byte encoded safely.
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 07 Mar 2006 22:41:24 +0100] rev 1852
Fix mq's usage of opener, which don't allow absolute paths now.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 07 Mar 2006 22:27:18 +0100] rev 1851
merge with crew
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 07 Mar 2006 08:46:19 +0100] rev 1850
Hide debug commands in ambiguous command list, unless no normal command matches.
This will execute diff if 'hg d' is typed and hide rawcommit on 'hg r'.
Based on a patch by TK Soh.
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 07 Mar 2006 08:41:13 +0100] rev 1849
Show ambiguous aliases, if they are not simple abbreviations. Sort output.
TK Soh <teekaysoh@yahoo.com> [Tue, 07 Mar 2006 08:05:17 +0100] rev 1848
show choices on ambiguous commands
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 07 Mar 2006 20:37:27 +0100] rev 1847
fix annotate for removed files
walk in the manifest files instead of the working dir files
when running annotate
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 06 Mar 2006 21:06:53 -0800] rev 1846
only put numbers on patches if > 1 patch.
Lee Cantey <lcantey@gmail.com> [Mon, 06 Mar 2006 21:05:18 -0800] rev 1845
Patchbomb only sends introductory message [0 of N] if there are multiple patches.
Lee Cantey <lcantey@gmail.com> [Mon, 06 Mar 2006 21:03:46 -0800] rev 1844
Remove patchbomb from list of contrib files to install since it's now an extension.
Innosetup script was referencing old contrib location.
Also cosmetic change to group related files.
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 06 Mar 2006 23:16:42 +0100] rev 1843
Removed PKG-INFO from repository, because it already gets auto-generated.
Canonical place for changing the contained info is setup.py.
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 06 Mar 2006 10:50:26 -0800] rev 1842
merge with crew.
Eung-ju Park <eungju@gmail.com> [Mon, 06 Mar 2006 10:49:34 -0800] rev 1841
Fix py2exe packagescan problem with new demandload
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 06 Mar 2006 17:53:11 +0100] rev 1840
Merge with crew
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 06 Mar 2006 17:47:41 +0100] rev 1839
Create local ui object per repository, so .hg/hgrc don't get mixed.
This is needed for hooks, but may be important for other settings, too.
Fixes issue113, also integrated push-hook-lock.sh as a test case for this.
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 06 Mar 2006 17:34:49 +0100] rev 1838
Call hooks in alphabetical (=defined) order, of course still grouped by type.
Output of test-hook adjusted.
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 06 Mar 2006 08:35:15 -0800] rev 1837
make ui flush output. this makes error happen if printing to /dev/full.
before this change, error happened with some pythons, but not others.
now always happens.
fixes issue 155.
Vadim Gelfer <vadim.gelfer@gmail.com> [Sun, 05 Mar 2006 01:37:28 -0800] rev 1836
make lock module use demandload.
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 04 Mar 2006 19:01:45 +0100] rev 1835
Validate paths before reading or writing files in repository or working dir.
Fixes security relevant issue134.
Lee Cantey <lcantey@gmail.com> [Fri, 03 Mar 2006 13:41:12 -0800] rev 1834
Fixes running 'hg serve' with Windows executable and no explicit template path configured.
PY2EXE executables don't support __file__ but do place the directory of the
shared code library into sys.prefix.
Fixes bug 152.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 03 Mar 2006 13:24:26 -0800] rev 1833
i made a mistake in last change.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 03 Mar 2006 13:11:25 -0800] rev 1832
generate profile even when exception raised.
otherwise, is not possible to profile hg serve.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 03 Mar 2006 09:40:18 -0800] rev 1831
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 03 Mar 2006 09:39:37 -0800] rev 1830
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 10 Feb 2006 11:25:07 -0800] rev 1829
hgwebdir: export collections of repos
now you can use [collections] section in hgweb.config to export entire
tree of repos.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 03 Mar 2006 08:44:37 -0800] rev 1828
merge with crew.
Vadim Gelfer <vadim.gelger@gmail.com> [Thu, 02 Mar 2006 11:38:39 -0800] rev 1827
get patchbomb extension to use demandload. speeds up hg startup by 50%.
Vadim Gelfer <vadim.gelger@gmail.com> [Thu, 02 Mar 2006 11:38:03 -0800] rev 1826
rewrite demandload module to be more flexible.
performance not affected.
old demandload module could only import top-level modules like os and
sys.
with rewrite, all of following syntax is emulated perfectly:
import foo, bar foo bar
import foo.bar.quux foo.bar.quux
from foo.bar import quux, blurfl foo.bar:quux,blurfl
only thing missing is "import foo as bar".
also, namespace clashes between placeholder object and demand loaded
module are no longer possible.