Matt Mackall <mpm@selenic.com> [Mon, 13 Nov 2006 13:26:57 -0600] rev 3629
util: add copyfile function
Matt Mackall <mpm@selenic.com> [Mon, 13 Nov 2006 13:26:57 -0600] rev 3628
hgweb: internalize some socket details
Matt Mackall <mpm@selenic.com> [Mon, 13 Nov 2006 13:26:57 -0600] rev 3627
remove unused imports
Matt Mackall <mpm@selenic.com> [Wed, 08 Nov 2006 13:20:08 -0600] rev 3626
tests: add -i switch
Prompt to accept changes for tests where output changed
Matt Mackall <mpm@selenic.com> [Wed, 08 Nov 2006 13:20:08 -0600] rev 3625
tests: add -R switch
Restarts at first .err file if one exists, otherwise runs all tests
Matt Mackall <mpm@selenic.com> [Wed, 08 Nov 2006 13:20:08 -0600] rev 3624
tests: sort test list if running all tests
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 07 Nov 2006 22:35:07 +0100] rev 3623
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.
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 07 Nov 2006 22:18:34 +0100] rev 3622
Merge with upstream
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 07 Nov 2006 21:43:19 +0100] rev 3621
localrepo: factor commit and rawcommit
note: rawcommit with an empty text will now launch the editor
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 07 Nov 2006 21:43:15 +0100] rev 3620
localrepo.commit: little cleanups
- use a list for new fileids
- sort the removed files
Matt Mackall <mpm@selenic.com> [Tue, 07 Nov 2006 14:04:15 -0600] rev 3619
Fix up parent display in logging
For changesets with a first parent nullid, but not rev 0, we ought to
display a null parent.
Matt Mackall <mpm@selenic.com> [Wed, 01 Nov 2006 21:47:55 -0600] rev 3618
Clarify untracked file merge message
Lee Cantey <lcantey@gmail.com> [Mon, 06 Nov 2006 22:01:09 -0800] rev 3617
Remove references to documentation that was removed in
da9506fe2710
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 05 Nov 2006 21:57:52 +0100] rev 3616
Corrected documentation for return value of python hooks.
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 02 Nov 2006 19:23:55 +0100] rev 3615
Fixed directory name having an extra dot on "hg archive -t tbz2 foo.tbz2".
Problem reported by Rob Landley.
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 02 Nov 2006 15:30:45 +0100] rev 3614
Try hgweb unbundle methods in the order presented by the server.
If no common bundle format is found, push is aborted.
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 02 Nov 2006 14:58:55 +0100] rev 3613
Client support for hgweb unbundle with versions.
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 02 Nov 2006 14:39:08 +0100] rev 3612
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.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 01 Nov 2006 19:59:26 -0300] rev 3611
hgweb: remove debugging print
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Wed, 01 Nov 2006 22:06:24 +0100] rev 3610
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)
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Wed, 01 Nov 2006 22:01:30 +0100] rev 3609
hgweb: if the server supports it, send a compressed bundle
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 01 Nov 2006 14:53:11 -0300] rev 3608
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.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Wed, 01 Nov 2006 17:56:55 +0100] rev 3607
issue352: disallow '\n' and '\r' in filenames (dirstate and manifest)
Brendan Cully <brendan@kublai.com> [Tue, 31 Oct 2006 18:10:23 -0800] rev 3606
hgweb: split URLs containing spaces or other escaped characters correctly
Brendan Cully <brendan@kublai.com> [Tue, 31 Oct 2006 17:31:30 -0800] rev 3605
zsh: perform ~ expansion on _hg_root
Brendan Cully <brendan@kublai.com> [Tue, 31 Oct 2006 17:24:42 -0800] rev 3604
mq: handle qpush -a with empty series
Brendan Cully <brendan@kublai.com> [Tue, 31 Oct 2006 16:35:44 -0800] rev 3603
zsh: compute repository root instead of forking hg
Brendan Cully <brendan@kublai.com> [Tue, 31 Oct 2006 16:04:03 -0800] rev 3602
zsh: complete users in ssh URLS
Brendan Cully <brendan@kublai.com> [Tue, 31 Oct 2006 15:48:02 -0800] rev 3601
zsh: support remote cloning
Brendan Cully <brendan@kublai.com> [Tue, 31 Oct 2006 15:44:16 -0800] rev 3600
zsh: add optional remote directory cache
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 31 Oct 2006 23:56:52 +0100] rev 3599
sshrepo: fix the parsing of the ssh url
Brendan Cully <brendan@kublai.com> [Tue, 31 Oct 2006 14:53:08 -0800] rev 3598
zsh: complete SSH directories
Brendan Cully <brendan@kublai.com> [Tue, 31 Oct 2006 12:05:47 -0800] rev 3597
zsh: complete unknown commands normally
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 31 Oct 2006 13:22:05 +0100] rev 3596
merge with crew
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 31 Oct 2006 13:09:43 +0100] rev 3595
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
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 31 Oct 2006 13:03:52 +0100] rev 3594
merge with crew
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 31 Oct 2006 13:03:23 +0100] rev 3593
merge with backout
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 31 Oct 2006 13:02:49 +0100] rev 3592
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 31 Oct 2006 13:01:28 +0100] rev 3591
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 31 Oct 2006 10:50:16 +0100] rev 3590
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.
Brendan Cully <brendan@kublai.com> [Mon, 30 Oct 2006 16:14:38 -0800] rev 3589
test for git empty new files
Brendan Cully <brendan@kublai.com> [Mon, 30 Oct 2006 16:10:58 -0800] rev 3588
git patch: create empty added files
Brendan Cully <brendan@kublai.com> [Mon, 30 Oct 2006 00:03:04 -0800] rev 3587
zsh: tab-complete status results by directory
Filter diff and revert for modified files only, unless -r is given.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 29 Oct 2006 16:33:46 +0100] rev 3586
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.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 29 Oct 2006 16:14:55 +0100] rev 3585
revlog: more nullrev fixes
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 29 Oct 2006 16:14:02 +0100] rev 3584
revlog: return 0 as offset for nullid
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 29 Oct 2006 15:09:01 +0100] rev 3583
doc: clone doesn't create a working directory in remote repos
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 29 Oct 2006 14:41:14 +0100] rev 3582
revlog.size() fix handling of rev == -1
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 29 Oct 2006 14:18:55 +0100] rev 3581
use workingcontext.files() to detect if the repo is unclean
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 29 Oct 2006 13:08:10 +0100] rev 3580
allow update to switch to a different branch if the repo is clean
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 29 Oct 2006 10:55:38 +0100] rev 3579
Explicitly use REVLOGV0 instead of 0 in bundlerepo.
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 29 Oct 2006 10:53:51 +0100] rev 3578
Define and use nullrev (revision of nullid) instead of -1.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sat, 28 Oct 2006 23:37:59 -0300] rev 3577
Correct optimization from
3464f5e77f34; 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
3464f5e77f34, we were parsing the file in the first head and
skipping all the others.)
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sat, 28 Oct 2006 20:21:59 -0300] rev 3576
log speedup: don't call revlog.node if we don't have to
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sat, 28 Oct 2006 20:21:57 -0300] rev 3575
log speedup: use list.extend to avoid an explicit loop
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sat, 28 Oct 2006 20:21:56 -0300] rev 3574
log speedup: use parentrevs in log and changeset_printer.show
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sat, 28 Oct 2006 20:21:55 -0300] rev 3573
log speedup: set quiet/verbose/debugflag in the fake ui object
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sat, 28 Oct 2006 20:21:54 -0300] rev 3572
log speedup: use only ui.write in changeset_printer.show
- ui.status is not very useful, since this code is never
executed when ui.quiet is true.
- explicitly checking for ui.debug allows a regular hg log to
run without looking at the manifest index
- the calls to ui.note were converted for consistency
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sat, 28 Oct 2006 20:21:52 -0300] rev 3571
log speedup: walkchangerevs: filter the files only if we need them
This speeds up hg log and significantly reduces memory usage (max RSS
goes from ~92MB to ~21MB on the kernel repo), since we no longer store
all the revisions in the cache.
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 28 Oct 2006 23:05:57 +0200] rev 3570
Inform the user about the new URL when being redirected via http.
Additionally the changed code ensures that the new URL is used,
even if it doesn't end with the query string.
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 28 Oct 2006 11:00:59 +0200] rev 3569
Stripping of query string (since
88b4755fa48f) stripped too much (
issue327)
rstrip(qs) not only strips qs from the right, but it continues stripping
every char at the end of the URL that occurs on qs.
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 27 Oct 2006 23:09:46 +0200] rev 3568
Merge with upstream
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 27 Oct 2006 19:24:57 +0200] rev 3567
Turn bundle file into a string for http push, for urllib2 over proxies.
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 27 Oct 2006 18:30:53 +0200] rev 3566
Force the content-length header to be a string in httprepo.unbundle.
(Needed for Python2.3 compatibility)
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 27 Oct 2006 18:20:28 +0200] rev 3565
Use the new UnexpectedOutput exception in httprepo, too.
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 27 Oct 2006 18:17:12 +0200] rev 3564
New UnexpectedOutput exception to catch server errors in localrepo.stream_in
If the unexpected is a string, the empty string will be mentioned, and long
strings are cut to at most 400 chars.
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 27 Oct 2006 15:56:34 +0200] rev 3563
Some clarifications for pull/push protocols:
- List file:// and static-http://
- Mention that you can pull from bundle files
- List http and https as valid push targets, but emphasize that this
feature has to be enabled.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Fri, 27 Oct 2006 15:02:27 +0200] rev 3562
httprepo: record the url after a request, makes pull + redirect works
POST+redirect doesn't work in python, as a workaround we record the url
from the previous GETs so that when we do a POST it uses the redirected url
fix
issue327
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Fri, 27 Oct 2006 10:24:19 +0200] rev 3561
add AIX to the list of compilers that don't have inline keyword
Brendan Cully <brendan@kublai.com> [Thu, 26 Oct 2006 22:28:33 -0700] rev 3560
zsh: support remote URLs
Brendan Cully <brendan@kublai.com> [Thu, 26 Oct 2006 17:33:24 -0700] rev 3559
zsh: suppress mq completion error messages outside of repository
Brendan Cully <brendan@kublai.com> [Thu, 26 Oct 2006 17:28:12 -0700] rev 3558
zsh: suppress error message for status completion outside of repository
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 26 Oct 2006 19:25:45 +0200] rev 3557
Turn of "Not trusting file" logging when running hgweb and hgwebdir
(hg serve still shows the warning)
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Thu, 26 Oct 2006 19:25:45 +0200] rev 3556
use untrusted settings in hgwebdir
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Thu, 26 Oct 2006 19:25:45 +0200] rev 3555
use untrusted settings in hgweb
The only exceptions are web.static and web.templates, since they can
be used to get any file that is readable by the user running the CGI
script.
Other options can be (ab)used to increase the use of the cpu
(allow_bz2) or of the bandwidth (server.uncompressed), but they're
trusted anyway.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Thu, 26 Oct 2006 19:25:45 +0200] rev 3554
add untrusted argument to patch.diffopts
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Thu, 26 Oct 2006 19:25:45 +0200] rev 3553
add --untrusted to showconfig
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Thu, 26 Oct 2006 19:25:45 +0200] rev 3552
save settings from untrusted config files in a separate configparser
This untrusted configparser is a superset of the trusted configparser,
so that interpolation still works.
Also add an "untrusted" argument to ui.config* to allow querying
ui.ucdata.
With --debug, we print a warning when we read an untrusted config
file, and when we try to access a trusted setting that has one value
in the trusted configparser and another in the untrusted configparser.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Thu, 26 Oct 2006 19:25:44 +0200] rev 3551
Only read .hg/hgrc files from trusted users/groups
The list of trusted users and groups is specified in the [trusted]
section of a hgrc; the current user is always trusted; "*" can be
used to trust all users/groups.
Global hgrc files are always read.
On Windows (and other systems that don't have the pwd and grp modules),
all .hg/hgrc files are read.
This is essentially the same patch that was previously applied as
revision
494521a3f142.
Brendan Cully <brendan@kublai.com> [Thu, 26 Oct 2006 10:06:12 -0700] rev 3550
zsh: add revrange completion
Brendan Cully <brendan@kublai.com> [Thu, 26 Oct 2006 09:46:08 -0700] rev 3549
zsh: add qbase and qtip to qapplied completions
Brendan Cully <brendan@kublai.com> [Thu, 26 Oct 2006 09:44:03 -0700] rev 3548
zsh: use standard tags where possible
Brendan Cully <brendan@kublai.com> [Thu, 26 Oct 2006 09:40:20 -0700] rev 3547
mq: support qimport -
Christian Ebert <blacktrash@gmx.net> [Wed, 25 Oct 2006 20:59:50 +0200] rev 3546
hgcommand.vim: doc install delete into "black hole", g: prefix global vars.
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 26 Oct 2006 09:29:42 +0200] rev 3545
merge with crew
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 26 Oct 2006 09:22:10 +0200] rev 3544
Corrected hg synopsis.
Brendan Cully <brendan@kublai.com> [Thu, 26 Oct 2006 00:27:19 -0700] rev 3543
zsh: complete qguard with +/- guard prefixes
Christian Ebert <blacktrash@gmx.net> [Wed, 25 Oct 2006 21:01:00 +0200] rev 3542
hgcommand.vim: remove deprecated -b option from hg parents.
Brendan Cully <brendan@kublai.com> [Wed, 25 Oct 2006 19:31:42 -0700] rev 3541
zsh: complete qapplied, qdiff, qfold, qguard, qimport, qnext, qprev
as well as qrename, qselect, qseries, qunapplied and qtop.
Brendan Cully <brendan@kublai.com> [Wed, 25 Oct 2006 17:09:22 -0700] rev 3540
Merge with mpm
Brendan Cully <brendan@kublai.com> [Wed, 25 Oct 2006 16:35:35 -0700] rev 3539
zsh: make option lists more compact
Brendan Cully <brendan@kublai.com> [Wed, 25 Oct 2006 15:10:30 -0700] rev 3538
Merge with mpm
Brendan Cully <brendan@kublai.com> [Wed, 25 Oct 2006 15:08:40 -0700] rev 3537
zsh: rewrite
This version of zsh completion handles global options more correctly,
completes options for command abbreviations, and does much more lazy
evaluation.
Matt Mackall <mpm@selenic.com> [Fri, 27 Oct 2006 14:10:01 -0500] rev 3536
small refactoring of path normalization in dirstate.statwalk
Matt Mackall <mpm@selenic.com> [Fri, 27 Oct 2006 14:06:32 -0500] rev 3535
Make util.unique return a list
Matt Mackall <mpm@selenic.com> [Fri, 27 Oct 2006 12:09:33 -0500] rev 3534
Simplify ignore logic in dirstate.walk
- kill blockignore hack
- pull pconvert out of imatch
- skip imatch when not ignoring
Matt Mackall <mpm@selenic.com> [Fri, 27 Oct 2006 11:30:20 -0500] rev 3533
shortname: truncate at '.' too
Matt Mackall <mpm@selenic.com> [Fri, 27 Oct 2006 11:24:10 -0500] rev 3532
improve walk docstrings
Matt Mackall <mpm@selenic.com> [Fri, 27 Oct 2006 00:38:42 -0500] rev 3531
convert dict(zip(x,x)) to dict.fromkeys(x)
Matt Mackall <mpm@selenic.com> [Thu, 26 Oct 2006 23:59:21 -0500] rev 3530
minor hg grep simplification
Matt Mackall <mpm@selenic.com> [Thu, 26 Oct 2006 23:54:24 -0500] rev 3529
simplify dirstate walking
- kill walkhelper
- stop passing dc around
- remove unused stat arg from statmatch (renamed imatch)
Matt Mackall <mpm@selenic.com> [Thu, 26 Oct 2006 18:43:57 -0500] rev 3528
kill makewalk function
Matt Mackall <mpm@selenic.com> [Thu, 26 Oct 2006 17:45:03 -0500] rev 3527
Pull getchange out of walkchangerevs
Matt Mackall <mpm@selenic.com> [Thu, 26 Oct 2006 17:27:07 -0500] rev 3526
Make revrange return a list of ints so that callers don't have to convert
Matt Mackall <mpm@selenic.com> [Thu, 26 Oct 2006 17:15:55 -0500] rev 3525
simplify revrange and revpair
Matt Mackall <mpm@selenic.com> [Thu, 26 Oct 2006 14:09:15 -0500] rev 3524
lookup(str(x)) -> lookup(x)
Matt Mackall <mpm@selenic.com> [Thu, 26 Oct 2006 14:04:58 -0500] rev 3523
Fixups for hg grep
- kill trimuser function
- remove ucache
- simplify descending logic
- fix files with matches logic
- correct tests
Matt Mackall <mpm@selenic.com> [Wed, 25 Oct 2006 18:31:49 -0500] rev 3522
Update tests for removed commands
Matt Mackall <mpm@selenic.com> [Wed, 25 Oct 2006 18:29:54 -0500] rev 3521
Remove update -m, deprecated for 0.9.1
Matt Mackall <mpm@selenic.com> [Wed, 25 Oct 2006 17:53:24 -0500] rev 3520
Remove the undo command, deprecated pre-0.9
Matt Mackall <mpm@selenic.com> [Wed, 25 Oct 2006 17:47:53 -0500] rev 3519
Remove forget command, deprecated pre-0.9
Matt Mackall <mpm@selenic.com> [Wed, 25 Oct 2006 17:45:35 -0500] rev 3518
Fix excessive complaining from hg log -b
Matt Mackall <mpm@selenic.com> [Wed, 25 Oct 2006 17:40:03 -0500] rev 3517
Remove some more deprecated options from help syntax summaries
Matt Mackall <mpm@selenic.com> [Wed, 25 Oct 2006 17:38:17 -0500] rev 3516
Hide deprecated flags in help unless verbose
Matt Mackall <mpm@selenic.com> [Wed, 25 Oct 2006 16:45:39 -0500] rev 3515
Remove old fish-merge test
Matt Mackall <mpm@selenic.com> [Wed, 25 Oct 2006 16:42:52 -0500] rev 3514
Merge with crew
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 25 Oct 2006 18:45:18 +0200] rev 3513
Show number (-v) and list (--debug) of changesets with bundle/pull/push etc.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Wed, 25 Oct 2006 18:22:04 +0200] rev 3512
fix graph traversal in commands.bundle (it wasn't O(n))
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 25 Oct 2006 17:20:39 +0200] rev 3511
Corrected help text for bundle.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 25 Oct 2006 08:11:17 +0200] rev 3510
Corrected synopsis of hg heads