Commit Graph

5540 Commits

Author SHA1 Message Date
Patrick Mezard
58988c1395 localrepo: fix undelete() on merge working directory (issue 746) 2007-09-23 14:40:44 +02:00
Patrick Mezard
091a0db4eb Test static-http calls on '/' URI (issue 747) 2007-09-22 18:52:26 +02:00
Paul Bx
ab0ccce138 statichttprepo: fix calls on '/' URI (issue 747) 2007-09-22 18:37:35 +02:00
Patrick Mezard
7c438d2066 convert: test cvs repository conversion 2007-09-14 22:47:15 +02:00
Patrick Mezard
8577cf36be convert: workaround for cvsps.cache under Windows
In non-cygwin environment, cvsps fails to create its cache directory and redirect its output to stderr. Just ignore the error and capture stderr as well.
2007-09-14 22:17:53 +02:00
Patrick Mezard
7d74b8608f convert: fix remote cvs file paths separator 2007-09-14 22:17:53 +02:00
Patrick Mezard
fc230fc7bd convert: avoid interpreting Windows path as CVS connection strings.
CVS connection strings regexp detect colons to separate protocols from path and login. Unfortunately, Windows paths contains colons and were interpreted as rsh connection strings.
2007-09-14 22:17:53 +02:00
Patrick Mezard
93f1b14c12 convert: call popen2 in binary mode, with a command string. 2007-09-14 22:17:53 +02:00
Patrick Mezard
ee42bab2ca hghave: detect cvs and cvsps availability
"cvsps -h" was returning 1 in cygwin, probably because CVSROOT was unset, which does not prevent it to work correctly.
2007-09-14 22:17:53 +02:00
Christian Ebert
efbbc0df82 churn: simplify code to get terminal width 2007-09-12 12:54:36 +02:00
Patrick Mezard
59a5193f63 patch: fix git sendmail handling without proper mail headers 2007-10-08 22:20:23 +02:00
TK Soh
630bf5e215 hgk: allow any extdiff command for visual diff 2007-10-08 11:18:34 +08:00
Giorgos Keramidas
a1efeccfd8 osutil.c: style fix - delete trailing end-of-line spaces 2007-10-07 21:56:36 +03:00
Benoit Boissinot
8905e2628f convert: do not output when trying to load svn bindings 2007-10-07 20:45:10 +02:00
Benoit Boissinot
7120a66c0d convert: split converters into sink/source 2007-10-07 20:44:54 +02:00
Patrick Mezard
91790f92bf Test darcs converter 2007-10-07 19:03:32 +02:00
Patrick Mezard
99fd23e158 convert: fix darcs_source.pull() under windows 2007-10-07 18:59:03 +02:00
Patrick Mezard
fec1f9ad02 convert: fix darcs_source._run() under windows 2007-10-07 18:58:54 +02:00
Patrick Mezard
07f69a32a2 hghave: detect darcs client 2007-10-07 18:58:44 +02:00
Patrick Mezard
dc56a66c81 hghave: reorder check functions and entries 2007-10-07 18:58:36 +02:00
Patrick Mezard
be799c79c6 Test workingctx exec/link bit for copies.
Also, make the test runnable on platforms without symlinks.
2007-10-07 15:13:50 +02:00
Patrick Mezard
2dee2a1086 Fix workingctx exec/link bit of copies on non-supporting systems 2007-10-07 15:07:35 +02:00
Patrick Mezard
2eb7f085fc test-manifest: test symlink and exec bit display 2007-10-06 22:30:24 +02:00
Patrick Mezard
c9215420e8 Display symlink or executable bit with manifest -v
New output looks like:

644   a
755 * b/a
644 @ l
2007-10-06 22:30:22 +02:00
Patrick Mezard
2d81806ba5 convert: quote "^" to avoid windows using it as an escape char. 2007-10-06 21:19:06 +02:00
Alexis S. L. Carvalho
fa0374301e Always copy the necessary files before applying a git patch
This patch removes the "copymod" attribute from the gitpatch
class.

AFAICS, that attribute was only used to delay the copying of
renamed/copied files if there are no other changes to the target,
but in this case, if there are changes to the source, we'll end
up copying the wrong version.

This should fix issue762.
2007-10-06 15:30:15 -03:00
Alexis S. L. Carvalho
5a20fc9e55 mercurial_sink: regrab locks in setbranch 2007-10-06 15:30:15 -03:00
Alexis S. L. Carvalho
856d368557 convert --filemap: reduce memory usage 2007-10-06 15:30:15 -03:00
Alexis S. L. Carvalho
f377d00047 convert: change SKIPREV to 'SKIP' 2007-10-06 15:30:15 -03:00
Patrick Mezard
8102777e5e Fix bad lambda prototype in workingctx.fileflags() 2007-10-06 17:54:33 +02:00
Alexis S. L. Carvalho
f77b38c731 osutil.c: use readdir instead of readdir64
Some systems (e.g. *BSD) don't have a readdir64 function - the regular
readdir already uses 64-bit types.

On other systems (Linux, Solaris, ...), if Python was compiled with large
file support, Python.h will define _LARGEFILE_SOURCE and _FILE_OFFSET_BITS=64,
so that any call to readdir will actually be a call to readdir64.  If Python
was not compiled with large file support, we probably don't want to define
these macros to avoid ABI problems.
2007-10-06 14:14:11 -03:00
Alexis S. L. Carvalho
f65110708a osutil.c: include Python.h before the other headers
This is recommended by the Python documentation, since Python.h defines
some constants.
2007-10-06 14:14:11 -03:00
Bryan O'Sullivan
e317f81ab3 Add osutil module, containing a listdir function.
This is similar to os.listdir, only it returns a sorted list of tuples.
2007-10-05 15:01:06 -07:00
Patrick Mezard
0e612978e0 hgk: add basic usage and configuration documentation 2007-10-05 23:40:33 +02:00
Patrick Mezard
8dbf0b280f hgk: add context menu visual diff action
* * *
2007-10-02 23:28:04 +02:00
Patrick Mezard
510efc6c01 hgk: add debug-config command to pass configuration options 2007-10-05 22:39:36 +02:00
Patrick Mezard
671b107790 hgk: fix right-mouse button handling under macosx 2007-10-02 23:28:02 +02:00
Patrick Mezard
0dd09ef0fc Test *_ISLINK merge environment vars 2007-10-05 23:01:38 +02:00
Patrick Mezard
2d1e4a3c40 merge: provide *_ISLINK environment vars to merge helper
Sets HG_MY_ISLINK, HG_OTHER_ISLINK, HG_BASE_ISLINK in environment. Without these variables, it's impossible for the merge application to know whether the 'other' and 'base' files were symlinks in their original contexts. For the purposes of the merge they are always emitted as small text files.
2007-10-03 23:09:36 +02:00
Patrick Mezard
904ffeda9f context: add fileflags() to avoid rebuilding manifests 2007-10-05 23:01:38 +02:00
Bryan O'Sullivan
f5b570e3a6 run-tests.py: allow a different temporary directory to be specified 2007-10-05 12:42:52 -07:00
Bryan O'Sullivan
01e8a7db01 Update test for new output produced since e24568a05150 2007-10-05 12:30:19 -07:00
Bryan O'Sullivan
74de1ac8b8 Fix accidentally broken test. 2007-10-05 12:28:18 -07:00
Bryan O'Sullivan
1a3055eb4e Merge with crew. 2007-10-05 12:17:29 -07:00
Bryan O'Sullivan
a03fea73e0 Allow tests to run in parallel. 2007-10-05 12:17:01 -07:00
Bryan O'Sullivan
b1622da091 run-tests.py: reorder options alphabetically. 2007-10-05 09:30:02 -07:00
Alexis S. L. Carvalho
a305a3e419 convert_svn: add --filemap support 2007-10-04 23:21:37 -03:00
Alexis S. L. Carvalho
df6f43b4df convert_cvs: add --filemap support 2007-10-04 23:21:37 -03:00
Alexis S. L. Carvalho
b7d48206ca convert_git: add --filemap support 2007-10-04 23:21:37 -03:00
Alexis S. L. Carvalho
f951bc5803 mercurial_source: add --filemap support 2007-10-04 23:21:37 -03:00