Benoit Boissinot
b5423b8015
cached data was wrong: rev is different from self.rev(node) in bundlerepo.py
2006-04-25 23:28:40 +02:00
Thomas Arendsen Hein
c520714baf
Merge with crew
2006-04-25 19:38:45 +02:00
Thomas Arendsen Hein
7c76509082
Allow 'hg serve --webdir-conf foo' to be run outside a repository.
2006-04-25 19:38:19 +02:00
Thomas Arendsen Hein
2b2d4fd5fe
Use <link> tag instead if CDATA import for CSS stylesheets. Fixes issue200.
2006-04-25 18:50:40 +02:00
Vadim Gelfer
d7e336b427
merge with crew.
2006-04-25 08:38:15 -07:00
Vadim Gelfer
acc87bc678
fix issue 217.
...
fall back to fixed path if windows >= nt function not present.
2006-04-25 08:37:05 -07:00
Thomas Arendsen Hein
682eb88794
Use string literal concatenation for optlist and import -p option
2006-04-25 09:00:09 +02:00
Alexander Schremmer
4361fc8de6
Cleaned trailing whitespace in hgweb.py, removed command line shortcut for webdir-conf.
2006-04-25 00:43:40 +02:00
Alexander Schremmer
72fac63870
Fixed path handling of the standalone server, fixed typo.
2006-04-23 00:34:07 +02:00
Alexander Schremmer
427c46afe9
Added hgwebdir support to hg serve.
2006-04-23 00:31:09 +02:00
Alexander Schremmer
45ba4dc188
Added threading support to hg serve.
2006-04-23 00:27:46 +02:00
Alexander Schremmer
09fe3ef263
Added my name to the contributors list.
2006-04-23 00:18:58 +02:00
Alexander Schremmer
693792563e
Cleaned hgweb.py a little bit
2006-04-23 00:15:30 +02:00
Thomas Arendsen Hein
b0cc3f14c7
Merge with upstream
2006-04-22 09:19:27 +02:00
Jim Meyering
29bdfc218f
Fix issue 165: `hg status' with abs path containing a symlink-to-dir fails
2006-04-21 16:09:43 -07:00
Vadim Gelfer
225a97f6fa
update tests after changing archival code.
...
test-archive now contains tests for archive command.
2006-04-21 15:47:27 -07:00
Vadim Gelfer
256b041588
make hgweb use new archival module.
...
also use "x-gzip" encoding for ".tar.gz" files, so mozilla and firefox
will not transparently decompress stream and save with wrong name.
2006-04-21 15:28:50 -07:00
Vadim Gelfer
dfa56ff468
add "archive" command, like "cvs export" only better.
...
most code in mercurial/archival.py module, for sharing with hgweb.
2006-04-21 15:27:57 -07:00
Matt Mackall
81b83a9409
Merge with crew
2006-04-21 16:30:49 -05:00
Matt Mackall
2cd0e1932b
Revert push new heads logic
...
This breaks push -r's new head detection but fixes the common case.
For now we'll assume that someone doing push -r knows what they're doing.
2006-04-21 16:30:23 -05:00
Matt Mackall
cce771d25f
Move empty local repo logic for pull into findincoming
...
This fixes a silly attempt to pull a changegroup from an empty repo.
2006-04-21 15:33:51 -05:00
Matt Mackall
c0ee3e5b00
Don't die calling outgoing hook if we have no changesets
2006-04-21 15:14:27 -05:00
Stephen Darnell
0a609e474e
Add a pure python version of run-tests.
...
If this works well for most people, it should replace the shell version
of run-test.
2006-04-21 18:47:55 +02:00
Matt Mackall
be828d059c
Merge with crew
2006-04-20 12:13:54 -05:00
Matt Mackall
7788d4170a
Merge with cmason
2006-04-20 12:12:03 -05:00
Chris Mason
19f27664d2
Make bundlerepo use proper index format for revlogng
...
bundlerepo just appends index entries from the bundle onto the index for the
current repo. This patch makes sure it appends the correct format.
2006-04-20 13:08:16 -04:00
Andrew Thompson
f0d3e098fb
Add tests/test-committer
...
This checks to see if the EMAIL environment variable is being used for commit.
2006-04-20 16:33:49 +02:00
Alexis S. L. Carvalho
d2e4d48810
Use application/octet-stream as the content-type of unknown binary files
2006-04-20 15:42:02 +02:00
Vadim Gelfer
4d66e01617
remove appendfile data as soon as not needed.
2006-04-19 22:18:03 -07:00
Thomas Arendsen Hein
c79e5266d3
Merge with crew
2006-04-19 21:39:51 +02:00
Thomas Arendsen Hein
54deb05059
Merge with cmason
2006-04-19 21:37:43 +02:00
Chris Mason
7f6b83e178
Remove bogus raise from localrepo.lookup()
2006-04-19 15:35:10 -04:00
Alexis S. L. Carvalho
2995553eee
Fix hg qdiff <file>
2006-04-19 11:41:27 -07:00
Alexis S. L. Carvalho
e1e5a2b65c
Ignore EPIPE in pipefilter
...
This hides the following traceback (there's a race condition involved,
so you may have to try a few times to hit it):
$ hg sign --key key-that-does-not-exist
Signing 2062:4bad92f4ea65
gpg: skipped "key-that-does-not-exist": secret key not available
gpg: signing failed: secret key not available
Exception in thread Thread-1:
Traceback (most recent call last):
File "threading.py", line 442, in __bootstrap
self.run()
File "threading.py", line 422, in run
self.__target(*self.__args, **self.__kwargs)
File "mercurial/util.py", line 24, in writer
pin.close()
IOError: [Errno 32] Broken pipe
abort: Error while signing
2006-04-19 11:41:25 -07:00
Alexis S. L. Carvalho
62cadcfab1
Don't send "Content-Type: none"
...
mimetypes.guess_type will return (None, None) when it can't detect the
filetype.
2006-04-19 11:41:22 -07:00
Alexis S. L. Carvalho
23a2185010
Fix filerevision-raw.tmpl
...
Two bugs:
- conteXt-type instead of conteNt-type
- trailing newline
The easiest way to fix the second one (and keep it fixed) is to put
everything inline in map-raw.
2006-04-19 11:39:34 -07:00
Vadim Gelfer
c1238a617f
convert-repo: fix reversed time zone offset
2006-04-19 11:29:41 -07:00
Vadim Gelfer
e027b4a869
catch SIGBREAK on windows.
2006-04-19 11:17:13 -07:00
Lee Cantey
bfac2dd926
update windows readme to document msys/mingw rxvt problems.
2006-04-19 10:56:44 -07:00
Vadim Gelfer
39bf3d1d78
fix util.canonpath on windows.
...
old test for absolute path was not portable. use os.path api instead.
2006-04-19 09:08:45 -07:00
Vadim Gelfer
15e922024b
make appendfile simpler so it does not break with revlogng on windows.
...
it used to cache open files. this made revlogng break because it wants
to rename files when splitting .i into .i/.d, but cannot rename or unlink
open files on windows.
new code is bit slower, but safe on linux and windows. proper fix for
too many open/close of changelog/manifest belongs in different place.
can get 10% speed improvement back.
2006-04-19 08:33:46 -07:00
Thomas Arendsen Hein
28782db5b2
Exit test-hup only after the background process has died.
...
Otherwise the open file might let the tests fail on NFS.
2006-04-19 07:09:15 +02:00
Vadim Gelfer
d8b7ef7c3b
merge with mainline.
2006-04-18 20:33:33 -07:00
Chris Mason
92b1bcb569
merge revlogng with mpm tip
2006-04-18 19:50:12 -04:00
Vadim Gelfer
fba6f04a5f
mq: do not fail if directory to create exists
2006-04-18 14:56:54 -07:00
Chris Mason
4841dc10da
Fix transaction handling during interleaved file split.
2006-04-17 13:19:58 -04:00
Vadim Gelfer
7c29a12e6d
import: use gpatch if present on system. patch is broken on solaris.
...
fixes issue 205.
add new useful function, util.find_in_path.
2006-04-13 17:42:49 -07:00
Vadim Gelfer
e2979af413
merge with crew.
2006-04-13 17:12:09 -07:00
Vadim Gelfer
00f30a4647
merge with crew.
2006-04-13 17:11:35 -07:00
Vadim Gelfer
82f373878f
let run-tests run optional code coverage tests.
...
to enable, set env var TEST_COVERAGE to non-empty string. run-tests will
print report after running.
after coverage run, file tests/.coverage will contain coverage data. use
tests/coverage.py to get more info, like annotated source code.
2006-04-13 17:11:04 -07:00