Steve Borho
b092b562f9
win32: include contrib/vim in Windows package
2007-12-07 18:19:16 -06:00
Steve Borho
84bda28dba
win32: use relative path to install source
...
Remove hard-coded path to the source repo to be packaged.
2007-12-07 18:19:16 -06:00
Steve Borho
a380954518
win32: move default install path inside program files
...
All of the 'space in path' problems have been resolved, so
we can install Mercurial the Windows standard location. The
{pf} InnoSetup variable is locale aware.
2007-12-07 18:19:01 -06:00
Steve Borho
ae1da92108
win32: it is no longer necessary to bundle patch.exe
...
Mercurial can use it's built-in mpatch library
2007-12-07 18:18:11 -06:00
Steve Borho
478009f6bd
win32: do not install bash hgmerge on Windows
2007-12-07 18:15:24 -06:00
Steve Borho
96b2ad022b
win32: ignore all installers generated in Output/
2007-12-07 18:14:16 -06:00
Matt Mackall
fda4cb5390
Merge with crew
2007-12-07 14:59:33 -06:00
Matt Mackall
06d5fbf2a5
copy: handle rename internally
...
- add rename parameter
- don't collect copied list
- report "moving" rather than "copying"
- remove renamed files
- don't return copied list
- simplify callers
2007-12-07 02:29:55 -06:00
Matt Mackall
9c9f979f96
copy: move rename logic
2007-12-07 02:03:42 -06:00
Matt Mackall
e777df13c0
copy: simplify inner copy
...
- save dirstate lookup and exists check
- do all fs work inside a single dryrun clause
- move unlinking into inner copy section
- move target dir creation
- eliminate undelete mess
- fix a bug on mv a -> b -> a after merge
2007-12-07 02:01:13 -06:00
Matt Mackall
7ccba02a77
copy: minor cleanups
...
- add after and dryrun variables
- add some comments
2007-12-07 02:01:10 -06:00
Matt Mackall
5078c44417
copy: propagate errors properly
2007-12-06 15:15:47 -06:00
David J. Mellor
b1df375d09
convert: fix SVN date parser dropping the final whole second digit
2007-12-06 13:10:25 -08:00
Matt Mackall
6d83b8c76f
copy: refactor okaytocopy into walkpat
...
- rename core copy function to copyfile
- move origsrc details into copyfile
- turn okaytocopy loop into walkpat
2007-12-06 14:58:57 -06:00
Steve Borho
4b1652b29a
win32: favor local mercurial.ini over registry key
...
Hopefully this is the best of both worlds. Multiple py2exe based
installers can coexist on one machine, while source and lib based
Mercurial users can still use a registry key in lieu of resorting to
HGRCPATH.
2007-12-05 22:57:35 -06:00
Bryan O'Sullivan
d98a355588
Merge with stable
2007-12-06 13:11:36 -08:00
Christian Ebert
6965f3c58c
highlight: adapt to hgweb_mode refactoring
2007-12-05 12:48:33 +01:00
Bryan O'Sullivan
ac5dac6d91
Merge with -stable
2007-12-06 09:55:56 -08:00
Steve Borho
465647eece
workaround for raw_input() on Windows
...
Since change 0f20f68c768c, Mercurial has set_binary() on stdin, stdout, and stderr.
On Windows, this had the side effect of causing raw_input() to emit trailing carriage
returns on it's returned strings. This was causing web authentication problems.
2007-12-03 17:28:26 -06:00
Patrick Mezard
8cbb871ee7
Merge with crew-stable
2007-12-04 23:28:10 +01:00
Patrick Mezard
a55f5fd7fe
utils_win32: calling SHGetPathFromIDList under NT is useless and broken
...
The call was done under NT when running as a service (CGI script for instance) and always crash, even in interactive processes.
2007-12-04 23:10:13 +01:00
Dirkjan Ochtman
e267ed3e21
hgwebdir: refactor inner loop
2007-12-03 19:19:12 +01:00
Dirkjan Ochtman
342d039d4e
hgwebdir: split out templater creation
2007-12-03 18:58:18 +01:00
Dirkjan Ochtman
5cda3f99f4
hgwebdir: split out makeindex function, facilitate test failure diagnosis
2007-12-03 18:40:37 +01:00
Dirkjan Ochtman
2365373281
hgweb: explicitly pass around the templater
2007-12-03 13:30:08 +01:00
Dirkjan Ochtman
031b079856
hgweb: split out templater definition
2007-12-03 12:40:29 +01:00
Dirkjan Ochtman
e2b08400db
separate the wire protocol commands from the user interface commands
2007-12-03 12:27:11 +01:00
Dirkjan Ochtman
8169e83987
hgweb: extract constant to global level
2007-12-03 12:06:21 +01:00
Dirkjan Ochtman
4391298487
hgweb: get rid of some nested functions
2007-12-03 11:58:52 +01:00
Dirkjan Ochtman
b14cdb9ce4
fix some imports; pushing bz2 bundles over http is currently untested
2007-12-03 11:58:29 +01:00
Bryan O'Sullivan
f504f42466
coverage: return to not assuming that python is in /usr/bin
2007-12-02 21:54:56 -08:00
Bryan O'Sullivan
96070392c5
Fix breaking test from aa641bdbd843
2007-12-02 21:52:40 -08:00
Matt Mackall
60b67b58aa
copy: fix copying back with -A (issue836)
2007-12-02 18:41:22 -06:00
Matt Mackall
87c040230a
move commands.docopy to cmdutil.copy
2007-12-02 18:11:59 -06:00
Matt Mackall
7d8a71a539
churn: avoid division by zero
2007-12-02 17:04:16 -06:00
Matt Mackall
1d88526edb
update test output
2007-12-02 16:26:56 -06:00
Dirkjan Ochtman
fa26469f51
import latest coverage.py version
2007-12-02 23:26:40 +01:00
Dirkjan Ochtman
58139af39c
split out hgweb commands into a separate file, move some code around
2007-12-02 23:26:40 +01:00
Dirkjan Ochtman
f0a64b1743
add more tests for hgweb commands
2007-12-02 23:26:40 +01:00
Matt Mackall
2e547ddf4b
doc: add repo/ to .hgignore and .hgtags
...
These names were disappearing in the asciidoc output and no form of
escaping seems to help. Let's just add repo/ to make it explicit that
they're in the repository root.
2007-12-02 15:52:36 -06:00
Matt Mackall
e03c4beef0
imported patch rollback-help
2007-12-02 15:26:01 -06:00
Matt Mackall
4c9c6fbda6
imported patch rev-help
2007-12-02 15:25:37 -06:00
Patrick Mezard
30d1cd81b7
hgwebdir: test virtual paths leading or trailing separators are stripped
2007-12-02 19:39:29 +01:00
Patrick Mezard
65e701f1ae
Merge with crew-stable
2007-12-02 19:45:38 +01:00
Patrick Mezard
9421498212
hgwebdir: normalize virtual paths before stripping the separator
...
It is not even clear that virtual paths should be normalized as normal paths at all, we could expect slash to be the natural separator.
2007-12-02 19:39:27 +01:00
Steve Borho
6d589928ab
win32: read system rcpath from registry
...
Using the module name was not always helpful. It breaks down
when Mercurial is installed as source and when the Mercurial
libs are used by external applications.
This patch allows Mercurial installers to store the system wide
rcpath in the registry, where it can always be found. HGRCPATH
is a poor option for storing the system wide rcpath, since it
overrides both the system and user rcpaths.
2007-12-02 17:15:03 +01:00
Patrick Mezard
e7dc152912
Merge with crew-stable
2007-12-02 14:06:10 +01:00
Patrick Mezard
4bd17cf5de
mq: missing target files do not make qpush to fail immediately (issue 835)
...
Reported and explained by Peter Arrenbrecht <peter.arrenbrecht@gmail.com>.
Following file additions were skipped but empty files were still created. This situation could lead to qrefresh losing patch information.
2007-12-02 13:53:29 +01:00
Dirkjan Ochtman
857b34f4d7
Fix style nit and add some comments to tests.
2007-12-02 10:12:26 +01:00
Dirkjan Ochtman
a20c52b449
Use SCRIPT_NAME and PATH_INFO instead of REQUEST_URI. This is required by WSGI (fixes issue846).
2007-12-01 19:19:08 +01:00