Matt Mackall
6b93d4c0fd
tests: add -i switch
...
Prompt to accept changes for tests where output changed
2006-11-08 13:20:08 -06:00
Matt Mackall
4dc56ee619
tests: add -R switch
...
Restarts at first .err file if one exists, otherwise runs all tests
2006-11-08 13:20:08 -06:00
Matt Mackall
a6ea08deb0
tests: sort test list if running all tests
2006-11-08 13:20:08 -06:00
Thomas Arendsen Hein
73ed740a36
Fix accessing a repository via -R/--repository through a symlink.
...
Sometimes the repository root was compared to os.getcwd(), which always uses
the canonical path without symbolic links in it.
This would changes self.root of the localrepo objects to always use os.sep as
the directory separator, which is implicitly assumed in some places, but may
not be the case if somebody uses -R foo/repo on windows.
2006-11-07 22:35:07 +01:00
Thomas Arendsen Hein
5da1570f3e
Merge with upstream
2006-11-07 22:18:34 +01:00
Benoit Boissinot
0e56ff2f66
localrepo: factor commit and rawcommit
...
note: rawcommit with an empty text will now launch the editor
2006-11-07 21:43:19 +01:00
Benoit Boissinot
e8fd91f783
localrepo.commit: little cleanups
...
- use a list for new fileids
- sort the removed files
2006-11-07 21:43:15 +01:00
Matt Mackall
6b5e168d5c
Fix up parent display in logging
...
For changesets with a first parent nullid, but not rev 0, we ought to
display a null parent.
2006-11-07 14:04:15 -06:00
Lee Cantey
b20ea2c6c5
Remove references to documentation that was removed in 24418108a60e
2006-11-06 22:01:09 -08:00
Thomas Arendsen Hein
161d77a963
Corrected documentation for return value of python hooks.
2006-11-05 21:57:52 +01:00
Thomas Arendsen Hein
d5d0b90730
Fixed directory name having an extra dot on "hg archive -t tbz2 foo.tbz2".
...
Problem reported by Rob Landley.
2006-11-02 19:23:55 +01:00
Thomas Arendsen Hein
641503fdd4
Try hgweb unbundle methods in the order presented by the server.
...
If no common bundle format is found, push is aborted.
2006-11-02 15:30:45 +01:00
Thomas Arendsen Hein
b933ddcd3f
Client support for hgweb unbundle with versions.
2006-11-02 14:58:55 +01:00
Thomas Arendsen Hein
944124b40d
Add allowed bundle types as argument to hgweb unbundle capability.
...
Arguments to capabilities were added before the 0.9.1 release, so there
are no compatibility issues. Mercurial 0.9 didn't support http push.
Using HG10GZ, HG10BZ and HG10UN has the advantage that new bundle types can
be added later and the client doesn't have to try sending them first and
reacting on errors sent by the server.
2006-11-02 14:39:08 +01:00
Matt Mackall
6239f7b678
Clarify untracked file merge message
2006-11-01 21:47:55 -06:00
Alexis S. L. Carvalho
444ab6d2a3
hgweb: remove debugging print
2006-11-01 19:59:26 -03:00
Benoit Boissinot
b15071fd87
hgweb: introduce a new capability for sending a compressed bundle
...
the header of the bundle is the same as a on-disk bundle
HG10UN: uncompressed
HG10BZ: bz2
HG10GZ: gzip
no header means uncompressed (old client)
2006-11-01 22:06:24 +01:00
Benoit Boissinot
f8e3315daa
hgweb: if the server supports it, send a compressed bundle
2006-11-01 22:01:30 +01:00
Alexis S. L. Carvalho
7c0dca42a7
Use httpconnection even with proxies.
...
This should give us HTTP keepalive when we talk to proxies and
should allow us to stream a file in unbundle (instead of
reading everything into a string).
This should fix issue376.
2006-11-01 14:53:11 -03:00
Benoit Boissinot
7d00e37112
issue352: disallow '\n' and '\r' in filenames (dirstate and manifest)
2006-11-01 17:56:55 +01:00
Brendan Cully
5f6282dd1c
hgweb: split URLs containing spaces or other escaped characters correctly
2006-10-31 18:10:23 -08:00
Brendan Cully
b15461036c
zsh: perform ~ expansion on _hg_root
2006-10-31 17:31:30 -08:00
Brendan Cully
5658cffdec
mq: handle qpush -a with empty series
2006-10-31 17:24:42 -08:00
Brendan Cully
7f54c1d0b4
zsh: compute repository root instead of forking hg
2006-10-31 16:35:44 -08:00
Brendan Cully
9da5f91c89
zsh: complete users in ssh URLS
2006-10-31 16:04:03 -08:00
Brendan Cully
cd778eadd0
zsh: support remote cloning
2006-10-31 15:48:02 -08:00
Brendan Cully
9bbafade7a
zsh: add optional remote directory cache
2006-10-31 15:44:16 -08:00
Benoit Boissinot
6358cf0eea
sshrepo: fix the parsing of the ssh url
2006-10-31 23:56:52 +01:00
Brendan Cully
3119807ae3
zsh: complete SSH directories
2006-10-31 14:53:08 -08:00
Brendan Cully
131b2b2643
zsh: complete unknown commands normally
2006-10-31 12:05:47 -08:00
Benoit Boissinot
e9a0720a0d
merge with crew
2006-10-31 13:22:05 +01:00
Benoit Boissinot
0465719da8
hgweb: fix handling of path for old style template
...
- path from old style are prefixed by '/', make cleanpath strip them
- make manifest() use relative paths, that was the only function using
'/' prefixed paths
2006-10-31 13:09:43 +01:00
Benoit Boissinot
e12d0530f2
merge with crew
2006-10-31 13:03:52 +01:00
Benoit Boissinot
83a68d580f
merge with backout
2006-10-31 13:03:23 +01:00
Benoit Boissinot
3f2046d235
Backed out changeset 0fc94973be4ffeb0b5ace8a920dec676a9a51130
2006-10-31 13:02:49 +01:00
Benoit Boissinot
cf4e46def6
Backed out changeset 7a5175105148071d93677d257feb784dd19b5c90
2006-10-31 13:01:28 +01:00
Thomas Arendsen Hein
c6ffd9fee7
Check for at least having a final release of python 2.3.0 in setup.py
...
Mercurial uses features that are not in 2.3a1.
2006-10-31 10:50:16 +01:00
Brendan Cully
2e8580188f
test for git empty new files
2006-10-30 16:14:38 -08:00
Brendan Cully
803c7dd950
git patch: create empty added files
2006-10-30 16:10:58 -08:00
Brendan Cully
2e3c2f2949
zsh: tab-complete status results by directory
...
Filter diff and revert for modified files only, unless -r is given.
2006-10-30 00:03:04 -08:00
Benoit Boissinot
ec5738cb6d
filelog: rename filelog.size() to filelog.len()
...
filelog.size() is misleading for users of revlog.size() since
it doesn't return the size of the revision.
2006-10-29 16:33:46 +01:00
Benoit Boissinot
46893fed9e
revlog: more nullrev fixes
2006-10-29 16:14:55 +01:00
Benoit Boissinot
a0c2a353ec
revlog: return 0 as offset for nullid
2006-10-29 16:14:02 +01:00
Benoit Boissinot
7c04127ce4
doc: clone doesn't create a working directory in remote repos
2006-10-29 15:09:01 +01:00
Benoit Boissinot
a2d320e112
revlog.size() fix handling of rev == -1
2006-10-29 14:41:14 +01:00
Benoit Boissinot
b8176cb795
use workingcontext.files() to detect if the repo is unclean
2006-10-29 14:18:55 +01:00
Benoit Boissinot
58322272ec
allow update to switch to a different branch if the repo is clean
2006-10-29 13:08:10 +01:00
Thomas Arendsen Hein
9813e25f31
Explicitly use REVLOGV0 instead of 0 in bundlerepo.
2006-10-29 10:55:38 +01:00
Thomas Arendsen Hein
687e4a7111
Define and use nullrev (revision of nullid) instead of -1.
2006-10-29 10:53:51 +01:00
Alexis S. L. Carvalho
17f016acd0
Correct optimization from 56bc6966622e; add a test.
...
If there are two (or more) heads that point to the same .hgtags
node, we can safely skip parsing the file in all but the last head.
(In 56bc6966622e, we were parsing the file in the first head and
skipping all the others.)
2006-10-28 23:37:59 -03:00