Christian Ebert <blacktrash@gmx.net> [Fri, 11 Jan 2008 23:36:56 +0100] rev 5856
keyword: test that expansion is done filewise
Checks issue fixed in
2a66138c5e7e.
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 14 Jan 2008 09:00:23 +0100] rev 5855
Solaris compatibility fixes for test-keyword:
- do not use /bin/false (yields 255 instead of 1)
- do not use "cd -", simply use "cd .." instead.
Edouard Gomez <ed.gomez@free.fr> [Sat, 05 Jan 2008 01:51:21 +0100] rev 5854
convert: separate trunk detection from branch layout detection
In some subversion repositories, trunk is present but no branches
are used. The current code is assuming that both trunk and branches
must exist before adding trunk's head to the heads list.
It's just better to separate the branch layout stuff from the trunk one.
Patrick Mezard <pmezard@gmail.com> [Sat, 12 Jan 2008 20:49:07 +0100] rev 5853
Merge with crew-stable
Patrick Mezard <pmezard@gmail.com> [Sat, 12 Jan 2008 19:35:11 +0100] rev 5852
patch: handle empty vs no file in git patches (
issue906)
Patrick Mezard <pmezard@gmail.com> [Sat, 12 Jan 2008 20:43:09 +0100] rev 5851
patch: remove CRLF when parsing file names
Brendan Cully <brendan@kublai.com> [Fri, 11 Jan 2008 18:33:10 -0800] rev 5850
Merge with crew-stable
Brendan Cully <brendan@kublai.com> [Fri, 11 Jan 2008 18:31:13 -0800] rev 5849
Document --base null in bundle help
Bryan O'Sullivan <bos@serpentine.com> [Fri, 11 Jan 2008 16:51:54 -0800] rev 5848
Merge with mpm
Patrick Mezard <pmezard@gmail.com> [Fri, 11 Jan 2008 21:20:27 +0100] rev 5847
util_win32: implement posixfile_nt.writelines()
Used by the keyword extension.
Shun-ichi GOTO <shunichi.goto@gmail.com> [Wed, 09 Jan 2008 22:41:30 +0900] rev 5846
New extension to support problematic MBCS on Windows.
The aim of this extension is to clear the problem related to having
0x5c in 2nd byte of encoded bytes. So this extension is usefull for:
* Japanese Windows user shift_jis encoding.
* Chinese Windows user using big5 encoding.
To use this extension, simply enable it without any customization.
Note that some important python built-in functions and mercurial
functions are altered for this extension to convert argument if need
to handle MBCS.
Shun-ichi GOTO <shunichi.goto@gmail.com> [Wed, 09 Jan 2008 21:30:37 +0900] rev 5845
Fix not to use os.sep directly.
This change is intended for MBCS support.
Shun-ichi GOTO <shunichi.goto@gmail.com> [Wed, 09 Jan 2008 21:30:36 +0900] rev 5844
Add util.splitpath() and use it instead of using os.sep directly.
This change is intended to allow hooking splitpath() by win32mbcs
extension for MBCS support.
Shun-ichi GOTO <shunichi.goto@gmail.com> [Wed, 09 Jan 2008 21:30:35 +0900] rev 5843
Add endswithsep() and use it instead of using os.sep and os.altsep directly.
This change is intended to allow hooking endswithsep() by win32mbcs
extension for MBCS support.
Shun-ichi GOTO <shunichi.goto@gmail.com> [Wed, 09 Jan 2008 21:30:13 +0900] rev 5842
Use util.normpath() instead of direct path string operation.
This change is intended to allow hooking normpath() by win32mbcs
extension for MBCS support.
"Shun-ichi GOTO" <shunichi.goto@gmail.com> [Fri, 11 Jan 2008 14:06:05 -0600] rev 5841
svn: fix copy exception
Matt Mackall <mpm@selenic.com> [Fri, 11 Jan 2008 14:06:05 -0600] rev 5840
posixfile_nt: set closed early
Exceptions in __init__ may leave us with close undefined in __del__
Will Maier <willmaier@ml1.net> [Wed, 09 Jan 2008 10:00:18 -0600] rev 5839
Don't use the -i option with sed
This patch fixes test-keyword on platforms without GNU sed (like
OpenBSD).
Edouard Gomez <ed.gomez@free.fr> [Wed, 09 Jan 2008 00:27:33 +0100] rev 5838
convert: respect hg.tagsbranch setting
Jesse Glick <jesse.glick@sun.com> [Sat, 05 Jan 2008 15:35:46 -0500] rev 5837
Issue #880: Simple misspelling ('occured') in web error message.
mark.williamson@cl.cam.ac.uk [Fri, 11 Jan 2008 01:36:20 +0000] rev 5836
Tweak finddate to pass date directly.
Previous implementation was passing (date + "to" + date), which fails
when "<" and friends are prepended to the date specifier.
Signed-off-by: Mark Williamson <mark.williamson@cl.cam.ac.uk>
Michele Cella <michele.cella@gmail.com> [Wed, 09 Jan 2008 11:15:00 +0100] rev 5835
adding "prefix" option to "hg serve" (command line and [web] section)
allows "hg serve" to serve from a different path than '/' (server root)
Kevin Christen <kevin.christen@gmail.com> [Tue, 08 Jan 2008 21:12:30 -0600] rev 5834
Fix XHTML validation error on file diff page.
Replaces <div>, a block level element, with <span>, it's inline
counterpart, in <pre>, which is also an inline element.
Matt Mackall <mpm@selenic.com> [Fri, 11 Jan 2008 13:06:38 -0600] rev 5833
hook: redirect stdout to stderr for ssh and http servers
Maxim Dounin <mdounin@mdounin.ru> [Fri, 11 Jan 2008 06:07:43 +0300] rev 5832
convert: add commandline.xargs(), use it in svn_sink class
Introduce commandline.xargs() to limit argument list with respect
to ARG_MAX bytes. If no ARG_MAX information available - use POSIX
required minimum of 4096 bytes.
Under Windows, while actual argument list length is limited to 32k,
shells impose their own limits on command line length, down to 2047 bytes
for cmd.exe under Windows NT/2k and about 2500 bytes for older 4nt.exe.
See http://support.microsoft.com/kb/830473 for details about cmd.exe
limitations.
Since ARG_MAX is limit for argument list and environment, we reserve half
of it and one byte for environment variables. This way with default ARG_MAX
(4096 bytes) we get value 2047 bytes which is OK for Windows too.
Christian Ebert <blacktrash@gmx.net> [Fri, 11 Jan 2008 15:01:29 +0100] rev 5831
keyword: fix some doc strings; update copyright
Kirill Smelkov <kirr@mns.spb.ru> [Thu, 10 Jan 2008 12:07:18 +0300] rev 5830
hg qrecord -- like record, but for mq
I'm a former Darcs user, and I've discovered that it is very convenient to
actually perform development using MQ first, and only when the patches are
'ready' move them to project's history in stone.
Usually I work on some topic, temporarily forgetting about any version control,
and just do coding, experimenting, debugging, etc.
After some time, I approach a moment, where my work should actually go to
patches/commits, and here is the problem::
As it is now, there is no way to put part of the changes into one patch,
and another part of the changes into second patch.
This works, but only when changes are touching separate files, and for
semantically different changes touching the same file(s) there is now
pretty way to put them into separate patches.
For some time, I've tolerated the pain to run vim patches/... and move hunks
between files by hand, but I think this affects my productivity badly.
So, here is the first step towards untiing the problem:
Let's use 'hg qrecord' for mq, like we use 'hg record' for usual commits!
Kirill Smelkov <kirr@mns.spb.ru> [Thu, 10 Jan 2008 12:07:18 +0300] rev 5829
cmdutil.commit: extract 'addremove' from opts carefully
we are going to use cmdutil.commit for qrecord, and it's brother
qrefresh does not support addremove.
Kirill Smelkov <kirr@mns.spb.ru> [Thu, 10 Jan 2008 12:07:18 +0300] rev 5828
dispatch: allow extensions to provide setup code
we'll need this soon, when record extension will optionally depend
on mq early -- when preparing cmdtable.
Also, if accepted, ExtensionHowto wiki should be updated as well.
Kirill Smelkov <kirr@mns.spb.ru> [Thu, 10 Jan 2008 12:07:13 +0300] rev 5827
record: refactor record into generic record driver
rationale
---------
I'd like to make MQ version of record -- qrecord.
>From the first glance it seemed to be easy -- the task in essence would be to
change call to cmdutil.commit() to something like mq.qrefresh().
As it turned out queue.refresh() and cmdutil.commit() have different semantics
-- cmdutil.commit() first scans for changes and then delegate the actual commit
to lowlevel func. On the other hand queue.refresh() do it all in once, and I am
a bit scary to change it.
Maybe the right way would be to first refactor queue.refresh() to use
cmdutil.commit() machinery, and then trivially adjust record, but I feel I'm
not competent for the task right now.
Instead, I propose we refactor record to be some sort of high-level driver, or
like a high-level decorator one can say, which will first interactively filter
changes, and then delegate commit job to high-level commiter, e.g. 'commit' or
'qrefresh'
So, this patch does just that -- refactor record to be generic driver, and
update 'hg record' code to use the driver.
'hg qrecord' will follow.