Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 04 May 2006 12:23:01 -0700] rev 2200
move mail sending code into core, so extensions can share it.
document hgrc settings used.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 04 May 2006 12:02:32 -0700] rev 2199
move stringio class from bugzilla extension into templater module.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 04 May 2006 12:00:45 -0700] rev 2198
rename [patchbomb] section to [email] section in hgrc. old name still ok.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 04 May 2006 11:32:00 -0700] rev 2197
define standard name for base url to use when printing hgweb urls.
useful for bugzilla integration, email notifications, other stuffs.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Thu, 04 May 2006 14:05:44 +0200] rev 2196
merge with crew
TK Soh <teekaysoh@yahoo.com> [Thu, 04 May 2006 14:01:55 +0200] rev 2195
gitweb: strip leading & trailing blank lines in changeset description
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 03 May 2006 22:47:57 -0700] rev 2194
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 03 May 2006 22:47:08 -0700] rev 2193
add util.samestat function for windows.
windows does not have os.path.samestat, and stat().st_ino is always zero,
so util.samestat always returns false on windows.
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 03 May 2006 14:40:39 -0700] rev 2192
add bugzilla integration hook. example of writing hook in python.
hook updates bugzilla bugs when it sees commit comments that mention
bug id, such as "i fixed bug 77".
only bugzilla 2.16 supported yet, but easy to extend. bugzilla versions
have different schema, i have not used later than 2.16.
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 03 May 2006 14:35:17 -0700] rev 2191
make templater bit more flexible and efficient for external users.
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 03 May 2006 11:00:24 -0700] rev 2190
fix minor bugs in localrepo.hook.
Vadim Gelfer <vadim.gelfer@gmail.com> [Wed, 03 May 2006 10:25:28 -0700] rev 2189
move changeset_templater into templater module.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Wed, 03 May 2006 13:12:34 +0200] rev 2188
merge with crew
TK Soh <teekaysoh@yahoo.com> [Wed, 03 May 2006 11:25:36 +0200] rev 2187
tests: support older version of bunzip2 and, possibly, gunzip too
TK Soh <teekaysoh@yahoo.com> [Wed, 03 May 2006 11:25:25 +0200] rev 2186
tests: fix compatibility on Solaris
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 03 May 2006 11:57:14 +0200] rev 2185
Better help for mq: Corrected synopses, get qcommit options from commands.py.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 03 May 2006 10:53:51 +0200] rev 2184
Add debugaddremove alias to addremove, so it doesn't show up in 'hg help'.
Add an explicit description of 'hg commit --addremove'.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 03 May 2006 10:45:20 +0200] rev 2183
Always clean the build directory before installing for running the tests.
Otherwise tests might run an old version, when e.g. commands.py.orig is
moved back after a revert (old timestamp).
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 03 May 2006 10:18:52 +0200] rev 2182
Corrected test output for deprecated addremove command.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 02 May 2006 21:50:53 -0700] rev 2181
deprecate addremove command.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 02 May 2006 21:45:53 -0700] rev 2180
make test-remove check some more cases.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 02 May 2006 21:44:24 -0700] rev 2179
add --after option to remove command.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 02 May 2006 14:38:32 -0700] rev 2178
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 02 May 2006 14:37:55 -0700] rev 2177
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Tue, 02 May 2006 14:30:00 -0700] rev 2176
fix file handling bugs on windows.
add util.posixfile class that has posix semantics on windows.
fix util.rename so it works with stupid windows delete semantics.
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 02 May 2006 18:44:02 +0200] rev 2175
Make hg update more verbose by default (issue12)
(including small changes to revert and backout to not show these stats
with the exception of backout --merge)
Show update stats (unless -q), e.g.:
K files updated, L files merged, M files removed, N files unresolved
Inform the user what to do after a merge:
(branch merge, don't forget to commit)
Inform the user what to do if a branch merge failed:
There are unresolved merges, you can redo the full merge using:
hg update -C X
hg merge Y
Inform the user what to do if a working directory merge failed:
There are unresolved merges with locally modified files.
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 01 May 2006 19:17:34 +0200] rev 2174
If default sorting is name, offer name-descending with one click.
Additionally no longer ignore case when sorting by name to match default
sorting. This makes e.g. a repository "FOO" being listed before "bar".
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 01 May 2006 18:38:25 +0200] rev 2173
Make hgwebdir columns sortable.
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 01 May 2006 10:04:25 +0200] rev 2172
Merge with crew
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 01 May 2006 10:02:17 +0200] rev 2171
Add download links to hgwebdir index page for allowed archive types.
Based on a patch by Colin McMillen <mcmillen@cs.cmu.edu>
Colin McMillen <mcmillen@cs.cmu.edu> [Mon, 01 May 2006 09:01:59 +0200] rev 2170
Add archive download links to tip on main changeset list page
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 30 Apr 2006 22:46:54 +0200] rev 2169
Combine catching exceptions added in dd4ec4576cc8 in one except statement.
Colin McMillen <mcmillen@cs.cmu.edu> [Sun, 30 Apr 2006 22:43:41 +0200] rev 2168
Proper check to see if zip dest needs to be wrapped in tellable
From hgweb, calling archival.zipit fails with the error message
"Illegal seek". This happens because sys.stdout.tell() throws an
exception:
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/mercurial/archival.py", line 99, in addfile
self.z.writestr(i, data)
File "/usr/lib/python2.4/zipfile.py", line 468, in writestr
zinfo.header_offset = self.fp.tell() # Start of header bytes
Checking whether hasattr(dest, 'tell') is insufficient, because
sys.stdout has a tell() method; you just can't call it.
This patch instead determines whether a fileobj is tellable by trying
to tell(), wrapping the fileobj if an exception is generated.
Vadim Gelfer <vadim.gelfer@gmail.com> [Sun, 30 Apr 2006 16:30:57 -0700] rev 2167
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Sun, 30 Apr 2006 16:30:39 -0700] rev 2166
do not check sys.argv from localrepo when running hooks.
instead add traceback field to ui class.
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 30 Apr 2006 21:11:22 +0200] rev 2165
Use better names (hg-{usage}-{random}.{suffix}) for temporary files.
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 30 Apr 2006 19:30:59 +0200] rev 2164
Applied $PWD fix (changeset 278f9b13c39a) to tests/test-hook, too.
Sascha Wilde <wilde@sha-bang.de> [Sun, 30 Apr 2006 19:29:57 +0200] rev 2163
SunOS fix: Replaced $PWD with `pwd`
under certain conditioins $PWD isn't up to date,
observed on SunOS 5.8
Colin McMillen <mcmillen@cs.cmu.edu> [Sun, 30 Apr 2006 18:52:34 +0200] rev 2162
Add self to CONTRIBUTORS
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sun, 30 Apr 2006 18:50:53 +0200] rev 2161
Fix just introduced possible old-http bug
My last patch changed httprangereader.read to read only the specified
amount of data from the connection, to prevent it from returning more
than what was asked.
I just realized that this could lead to the connection not being closed.
In practice, it looks like the connection is closed just fine, but it's
probably safer to read everything and then return only what's necessary.
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 30 Apr 2006 18:46:49 +0200] rev 2160
Cleanup archive command: Don't overwrite gettext, quoting in cmd table entry.
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 30 Apr 2006 18:40:30 +0200] rev 2159
Small cleanups to backout command:
- Accept -m for --message (like commit and similar commands), too.
- Don't ignore --logfile option.
- Fix command table entry (synopsis, group commit related option)
Vadim Gelfer <vadim.gelfer@gmail.com> [Sat, 29 Apr 2006 20:56:46 -0700] rev 2158
add backout command.
command undoes effect of an earlier commit, commits new changeset
as result.
Vadim Gelfer <vadim.gelfer@gmail.com> [Sat, 29 Apr 2006 20:39:28 -0700] rev 2157
make test-revert check executable bit.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 28 Apr 2006 15:50:56 -0700] rev 2156
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 28 Apr 2006 15:50:22 -0700] rev 2155
support hooks written in python.
to write hook in python, create module with hook function inside.
make sure mercurial can import module (put it in $PYTHONPATH or load it
as extension). hook function should look like this:
def myhook(ui, repo, hooktype, **kwargs):
if hook_passes:
return True
elif hook_explicitly_fails:
return False
elif some_other_failure:
import util
raise util.Abort('helpful failure message')
else:
return
# implicit return of None makes hook fail!
then in .hgrc, add hook with "python:" prefix:
[hooks]
commit = python:mymodule.myhook
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 28 Apr 2006 14:51:36 -0700] rev 2154
merge with crew.
Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 28 Apr 2006 14:50:23 -0700] rev 2153
move SignalInterrupt class into util module.