Commit Graph

1698 Commits

Author SHA1 Message Date
Vadim Gelfer
6ee0c5dc9f dirstate: speed up inner loop of read. 2006-06-12 09:36:23 -07:00
Thomas Arendsen Hein
56a3c0876e Report on push/pull if heads are merged, too, like for new heads.
Use case: If a remote repo has two heads and I _want_ to merge them, I merge
and push. Meanwhile someone else pushed on top of one of the heads. He won't
get a warning, because he doesn't create a new head, I won't notice that I
don't close a head, because I don't get a message telling me.
2006-06-10 17:39:29 +02:00
Benoit Boissinot
4c76bf148e merge with upstream 2006-06-10 11:28:40 +02:00
Matt Mackall
6452b6e88f ssh: add capability detection at startup
Because older servers don't return any output for unknown commands,
it's tricky to add new commands. The approach is this: we add a
"hello" command that reports any interesting capabilities (and other
things that might be of interest in the future). To detect whether
this new command is supported, we issue both it and our startup
detection command ("between") at the beginning of a connection.
2006-06-09 18:03:35 -05:00
Matt Mackall
e9d5610b1d ssh: gather initial output so we can do capability detection 2006-06-09 17:48:14 -05:00
Matt Mackall
3debcf9f86 Initial implementation of hello command for ssh 2006-06-09 17:47:38 -05:00
Vadim Gelfer
8861256257 add --lsprof option. 3x faster than --profile, more useful output.
results include calls to c code and nested calls.

requires python 2.5 or lsprof installed from svn at
http://codespeak.net/svn/user/arigo/hack/misc/lsprof/
2006-06-09 12:05:17 -07:00
Vadim Gelfer
14cebaa7d7 copy: fix introduced bug. 2006-06-09 09:14:30 -07:00
Vadim Gelfer
2f048b868e make description of -n option better. 2006-06-09 09:09:17 -07:00
Vadim Gelfer
440db9b651 revert: add -n/--dry-run option 2006-06-09 09:06:40 -07:00
Vadim Gelfer
7273631cf4 remove: add -n/--dry-run option 2006-06-09 09:00:08 -07:00
Vadim Gelfer
86d912ea78 copy: add -n/--dry-run option 2006-06-09 08:48:30 -07:00
Vadim Gelfer
99c2de6f9e addremove: add -n/--dry-run option 2006-06-09 08:42:36 -07:00
Vadim Gelfer
114744d3cb add: add -n/--dry-run option 2006-06-09 08:40:06 -07:00
Vadim Gelfer
58d36bd614 debugconfig: allow to print by section and exact item name 2006-06-08 11:28:27 -07:00
Vadim Gelfer
aa92622634 revert: better fix for not printing 'reverting' message 2006-06-07 13:16:25 -07:00
Vadim Gelfer
de949d0590 revert: check for changes against target rev 2006-06-07 10:33:26 -07:00
Benoit Boissinot
796cc73beb pick a non-conflicting module name when loading an extension
prefix the module name by 'hgext_' so that it doesn't conflict
with any core python module (for example bisect -> hgext_bisect)

fix issue271
2006-06-07 18:33:15 +02:00
Thomas Arendsen Hein
494ca88023 Fixed 'hg serve --webdir-conf foo' which broke due to split of hgweb. 2006-06-05 16:48:24 +02:00
Thomas Arendsen Hein
531e4e3573 Further cleanup of ui.py (changeset 158595c3f09e used one-char variable names). 2006-06-05 12:24:00 +02:00
Eung-Ju PARK
03e548ea66 packagescan can't scan nested packages 2006-06-02 16:19:47 +09:00
Vadim Gelfer
1014e2c420 import: allow to import stdin with file name "-" 2006-06-04 16:47:46 -07:00
Vadim Gelfer
d2bc16b368 fix comment. 2006-06-04 10:32:13 -07:00
Vadim Gelfer
38798208ac merge with crew. 2006-06-04 10:30:46 -07:00
Vadim Gelfer
fd56f76ec7 merge change to ssh protocol. 2006-06-04 10:29:34 -07:00
Vadim Gelfer
c57ade3a95 refactor ssh server. 2006-06-04 10:26:05 -07:00
Matt Mackall
292b3da40c Give a response to unknown SSH commands 2006-06-04 18:05:52 +01:00
Benoit Boissinot
55cbea1661 remove appendfile for the manifest when adding a changegroup
Since the changelog is using appendfile, the manifest entries cannot
be referenced, so we don't need to use append file for the manifest.
2006-06-04 17:46:33 +02:00
Benoit Boissinot
e0e1e090fa hgweb: fix errors and warnings found by pychecker
- fix missing import
- use type_ instead of type
- remove unused variable
2006-06-04 12:19:51 +02:00
Benoit Boissinot
72acadbf1d dirstate: refactor the dirstate binary format, remove magic numbers 2006-06-04 02:25:27 +02:00
Eric Hopper
1d1293da03 Adjusting hgweb splitup to be a little cleaner. 2006-06-02 08:25:02 -07:00
Eric Hopper
c6fcaec078 Fixing up comment headers for split up code. 2006-06-02 08:05:01 -07:00
Vadim Gelfer
c2592d7d3d merge with crew. 2006-06-01 15:55:09 -07:00
Markus F.X.J. Oberhumer
a0e21775b5 Cleanup: unifiy the coding style in the ui.py configitems forwarders.
No functional changes.
2006-06-01 15:54:31 -07:00
Markus F.X.J. Oberhumer
54c6cdc1d8 Expand '~' in path to extensions. 2006-06-01 15:53:43 -07:00
Thomas Arendsen Hein
4b040d1963 Renamed localrepo.undo() to rollback() and talk about "rollback information". 2006-06-01 19:08:29 +02:00
Thomas Arendsen Hein
e4abeb4452 Fix automatic decompression of tarballs with Firefox.
The encoding was set to gzip/bzip2, so Firefox (correctly) assumed, that this
has to be "decoded" (i.e. decompressed).
2006-06-01 18:36:32 +02:00
TK Soh
63cd05485f hgweb: fix tracebacks on both index and repo pages 2006-06-01 09:14:27 -05:00
Thomas Arendsen Hein
28d5a5ad5d Allow comma to separate types in allow_archive, too. Use longer variable name. 2006-06-01 17:51:40 +02:00
TK Soh
633f958ebe hgweb: add allow_archive support to [web] section of hgrc 2006-06-01 10:02:24 -05:00
Vadim Gelfer
36a7dc7e89 merge with crew. 2006-05-31 14:16:21 -07:00
Thomas Arendsen Hein
5800bfc290 Manifest groups may be empty, so don't abort in this case (fixes issue210).
Only abort on empty changelog and file revlogs.
2006-05-31 22:25:20 +02:00
Eric Hopper
0379b620c6 Final stage of the hgweb split up.
hgweb and hgwebdir now have their own modules.
2006-05-31 10:42:44 -07:00
Thomas Arendsen Hein
6e9c33e5eb Pass filename to decoder for 'hg archive' (fixes issue267)
Despite writing to a file descriptor, the check in the
[decode] section needs a filename.
localrepo.wwrite() still writes to the file descriptor.
2006-05-31 19:41:01 +02:00
Eric Hopper
20797956ec Splitting up hgweb so it's easier to change. 2006-05-31 08:03:29 -07:00
Benoit Boissinot
7f2c70ddf8 use a more reliable way to find what are the new changesets on pull/unbundle
The number of csets and the hooks where wrong (negative number of csets) when
we unbundled a bundle which contains csets we already had.
Remove unused variables.
2006-05-24 10:59:30 +02:00
Benoit Boissinot
d91b489a27 merge with crew 2006-05-24 09:27:16 +02:00
Benoit Boissinot
c070465611 n is always 'True', we can only stop the loop with the break statement 2006-05-24 01:01:39 +02:00
Vadim Gelfer
88b27ca967 add ui.has_config method. 2006-05-23 14:57:45 -07:00
Benoit Boissinot
ba6fa6a223 document and fix findincoming
- add documentation about what the function does, notably
  the fact that it updates 'base'
- transform the workflow to a more simple 'if elif elif else'
- do not call remote.branches if not necessary
- some nodes where missing in 'base' (from what I understand,
  if the root of a branch is missing but one parent is present,
  the parent should be in 'base')
- add a testcase for an incorrect outgoing that is fixed by
  this cset
- add a testcase for an empty group bug, it needs fixing
2006-05-23 10:44:40 +02:00
Vadim Gelfer
46bfa5a813 http: fix many problems with url parsing and auth. added proxy test.
problems fixed:

- https scheme handled properly for real and proxy urls.

- url of form "http://user:password@host:port/path" now ok.

- no-proxy check uses proper host names.
2006-05-22 15:42:49 -07:00
Vadim Gelfer
36e6b802b2 http: print better error if exception happens. 2006-05-22 09:00:24 -07:00
Vadim Gelfer
b8bc35963b add ui.print_exc(), make all traceback printing central. 2006-05-22 08:47:53 -07:00
Vadim Gelfer
5c09ef5952 merge with crew. 2006-05-21 23:07:50 -07:00
Vadim Gelfer
fc995eeb9e diff: allow to use -rA:B syntax as well as -rA -rB 2006-05-21 23:07:19 -07:00
Vadim Gelfer
d4708f60e2 add 'uisetup' function to extension module protocol.
if uisetup functin exists in extension, is called before cmdtable examined.
called with ui object as parameter. lets module modify cmdtable before
commands.py sees it.
2006-05-21 22:14:11 -07:00
Alexis S. L. Carvalho
8b1ff2c942 hgweb.manifest: revno of manifest and changelog aren't always the same
In the v4l-dvb repo, the manifest revno and the changelog revno are not
in sync.  This happened because the same patch was applied to the same
revision in two different branches, resulting in the same manifest text,
with the same parents and so the first revision was reused.

Since hgweb.manifest was assuming the revnos of the manifest and of the
changelog were always the same, clicking on manifest -> bz2 in the
v4l-dvb site would download the wrong revision.

Use the linkrev to go from manifest revision to changelog revision.

This still won't be perfect since the page will still talk about
"manifest for changeset XYZ", where XYZ was the first changeset to have
this manifest, which is not necessarily the same changeset that the user
clicked to get to this page - but at least the contents will be the
same.
2006-05-20 15:34:19 -03:00
Vadim Gelfer
6870c5c25e merge with crew. 2006-05-19 08:57:26 -07:00
Vadim Gelfer
4e8a64a4b7 merge with crew. 2006-05-19 08:57:12 -07:00
Volker Kleinfeld
271afc71fc setup.py: install packagescan before any mercurial modules is imported
Further the installation of packagescan over demandload is moved to the
packagescan module.

I added as well few more comments in the packagescan module to avoid
the wrong use of package scan in the future.

Reason:

mercurial.packagescan acts as fake mercurial.demandload during a py2exe
run.  Unfortunatly the import of mercurial.version in setup.py is done
before mercurial.packagescan is installed. This results in few imports
without mercurial.packagescan in charge and therefore not all dependend
modules are detected when running mercurial.packagescan.getmodules
later e.g.  winerror is missed.
2006-05-19 08:54:28 -07:00
Volker Kleinfeld
cbdd4c99a6 packagescan: handle demandload module naming changes. 2006-05-19 08:51:58 -07:00
Vadim Gelfer
5eb540c338 fix parsing of tags. make parse errors useful. add new tag tests.
old code read every head of .hgtags. delete and recreate of .hgtags gave
new head, but if error in deleted rev, .hgtags had error messages every
time it was parsed. this was very hard to fix, because deleted revs hard
to get back and update, needed merges too.

new code reads .hgtags on every head. advantage is if parse error
happens with new code, is possible to fix them by editing .hgtags on a
head and committing.

NOTE: new code uses binary search of manifest of each head to be fast,
but still much slower than old code. best thing would be to have delete
record stored in filelog so we never touch manifest. could find live
heads directly from filelog. this is more work than i want now.

new tests check for parse of tags on different heads, and inaccessible
heads created by delete and recreate of .hgtags.
2006-05-18 23:31:12 -07:00
Volker Kleinfeld
138d9f83fc Remove quotes from patch command.
When the gpatch fix for solaris was introduced in b67447b909f3 the
patch command was "". For some strange reason windows 2000 is
not happy with those quotes when given in os.popen.
2006-05-18 22:35:41 -07:00
Thomas Arendsen Hein
1d8afd83c1 Fixed typo (qshell instead of shell) in win98 code (see issue244). 2006-05-19 06:10:59 +02:00
Vadim Gelfer
3d84de6ddb merge with crew. 2006-05-18 16:49:45 -07:00
John Arbash Meinel
385cf70f5d demandload: implement __call__
demandload can now load functions and classes, and not just modules.

(So if you access foo() rather than just foo.* it still works).

demandload still doesn't work for constants.
2006-05-18 13:52:55 -07:00
Vadim Gelfer
a7019f377d remove: rewrite to be ~400x faster, bit more friendly
old remove code called localrepo.changes for each file.
was very expensive:

  $ hg --time rm arch>/dev/null
  Time: real 1066.120 secs (user 1014.450+0.000 sys 18.090+0.000)

new code, same files:

  $ hg --time rm arch>/dev/null
  Time: real 2.770 secs (user 2.190+0.000 sys 0.580+0.000)

also mention "-f" if not removing files. also allow "-f" to forget
added files.

make test a bit better.
2006-05-18 13:48:12 -07:00
Thomas Arendsen Hein
cfcf8066dd Use platform path for renaming file in util.atomictempfile.rename() 2006-05-18 21:01:38 +02:00
Eric Hopper
0c1117d5be Moving hgweb.py into it's own module in preparation for breaking it up. 2006-05-18 11:48:33 -07:00
Thomas Arendsen Hein
be0ce7238f Strip empty lines and trailing spaces around commit messages.
Fixes issue213 and part of issue249 (trying to keep node id on import)
2006-05-17 19:38:41 +02:00
Thomas Arendsen Hein
be2a7bb68c Use "# Date" instead of "# Timestamp" for dated export/import of patches.
And don't break up list for % formatting.
2006-05-17 19:00:16 +02:00
Danek Duvall
2a19fd683a Add timestamp field to export format. Make import and mq use it. 2006-05-17 18:54:30 +02:00
Benoit Boissinot
01540f3159 fix a typo in an error message 2006-05-16 11:07:56 +02:00
Thomas Arendsen Hein
95d74b6df3 Catch urllib's HTTPException and give a meaningful error message to the user.
Usually urllib only throws HTTPError exceptions, which already are a subclass
of IOError.
2006-05-16 09:35:38 +02:00
Vadim Gelfer
bbb33944e9 add --config global option. allows to set hgrc option on command line.
syntax: --config section.name=value

also add new test-globalopts to test all global options in one place.
2006-05-15 11:16:32 -07:00
Vadim Gelfer
de0a3b422b allow to send email using sendmail.
default is still smtp.
update hgrc doc with sendmail info.
2006-05-15 10:25:17 -07:00
Vadim Gelfer
882aea035d merge with crew. 2006-05-15 09:27:27 -07:00
Vadim Gelfer
aa621a0ae1 remove non-prefixed environment variables from hooks. 2006-05-15 09:13:00 -07:00
Samuel Masham
16f0b677e8 Update debugindexdot to work with RevlogNG. 2006-05-15 08:53:32 -07:00
Vadim Gelfer
222b04bf94 do not set smtp host by default - raise error instead 2006-05-15 08:47:42 -07:00
Volker Kleinfeld
aa4b87446c win98: fall back to win32api.GetModuleFileName if needed. 2006-05-14 23:49:31 -07:00
Volker Kleinfeld
94db8d7fec On win98 os.path.expanuser('~') does not result in a useable directory.
The MSDN recommendation for user specific directories is the use of
shell.ShGetSpecialFolder, so use it.

For details see:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/functions/shgetspecialfolderpath.asp
2006-05-14 23:44:50 -07:00
Vadim Gelfer
e5df462a15 deprecate 'update -m'. use 'merge' instead. 2006-05-14 21:07:34 -07:00
Vadim Gelfer
32a97f51f8 merge with crew. 2006-05-14 17:37:34 -07:00
Vadim Gelfer
2b273c6862 prompt user for http authentication info
in interactive mode, mercurial now asks the user for the username and
password when the server requires it. the previous behavior was to fail
with an http 401.

based on patch from eric jaffe <jaffe.eric@gmail.com>.
2006-05-14 17:37:17 -07:00
Alexis S. L. Carvalho
e2d5b135e9 Fix revlog.parseindex
parseindex could fail if read returns too little data in the right
moment (e.g. when there's still leftover data from the previous
iteration and read returns less than "s" bytes).
2006-05-14 18:22:12 -03:00
Thomas Arendsen Hein
d8dda7e592 On Windows look for mercurial.ini in $USERPROFILE, too, if available
as os.path.expanduser('~') does not always yield a useful directory.

Based on a patch from Edouard Gomez <ed.gomez@free.fr>
2006-05-14 18:24:32 +02:00
Manpreet Singh
cc6f64ec98 Make hg status work for repositories in root directory on windows (issue 228) 2006-05-13 23:00:05 -07:00
Alexis S. L. Carvalho
617a86c97c Fix hgweb.filediff
The third argument to hgweb.diff should be a list, not a string.

This fixes a bug found by xorAxAx, where hgweb would also show the diff
for "README" when you ask for the diff for "Demo/cgi/README".
2006-05-12 21:25:07 -07:00
Benoit Boissinot
600d0a563c add support for compressed bundle repositories
we simply create a uncompressed bundle in a tempfile
in .hg
2006-05-12 18:38:56 +02:00
Vadim Gelfer
cd6ded15df revert: fix corner case found by faheem mitha.
if file not in dest manifest, remove only if in source manifest.
2006-05-11 22:10:47 -07:00
Manpreet Singh
05f4a37fe7 Make it possible to use the root directory as the root of a repository. 2006-05-11 21:55:15 -07:00
Vadim Gelfer
c278e6a6c4 merge with crew. 2006-05-11 14:46:24 -07:00
Vadim Gelfer
5c38728103 fix coding style of backout editor change. 2006-05-11 14:41:52 -07:00
john.levon@sun.com
28c6c53f5e Force editor to appear for an 'hg backout' if a message or logfile aren't
supplied. Pre-fill the commit message with the changeset being backed out.
Fixes bug 238.
2006-05-11 14:32:09 -07:00
Vadim Gelfer
1f1118a083 hooks: add preupdate and update hooks.
preupdate run before working dir updated. can prevent update.
update run after working dir updated.
2006-05-11 10:14:48 -07:00
Vadim Gelfer
c828df5692 merge with crew. 2006-05-11 09:44:11 -07:00
Vadim Gelfer
0a3e1cd1e7 localrepo.update: abort if outstanding merges, instead of warn/return 1 2006-05-11 09:43:50 -07:00
Vadim Gelfer
5a3e6d2974 make reason for sys.argv change obvious in code. 2006-05-11 09:01:32 -07:00
Vadim Gelfer
edc07498a2 merge with crew. 2006-05-11 08:48:52 -07:00
Shun-ichi GOTO
876fe3cdc4 Check existance of sys.argv for the use from mod_python. 2006-05-11 08:48:36 -07:00
Benoit Boissinot
7994bf99a6 fix a traceback when unbundling does not add any changesets
only run the hooks when some changesets has been added
2006-05-11 15:01:30 +02:00
Benoit Boissinot
137780258f indent: fix alignment 2006-05-11 11:24:28 +02:00
Benoit Boissinot
45eac475a5 fix errors spotted by pychecker (mostly scope problems) 2006-05-11 11:15:23 +02:00
mason@suse.com
f2b0d07cb4 Reduce ram used for very large inlined index files
During a clone, an inline index is not converted to a split index
file until the very end.  When the conversion happens, the index
can be very large, and the inline index loading functions always load
the entire index file into ram.

This changes the revlog code to read the index in smaller chunks.
2006-05-10 15:26:56 -07:00
Vadim Gelfer
0f9df5acf6 backout command: better help. 2006-05-10 15:24:26 -07:00
Vadim Gelfer
1de5bf52df fix speed regression in mdiff caused by line split bugfix. 2006-05-10 13:39:12 -07:00
Vadim Gelfer
20d2979fe8 windows: revlog.lazyparser not always safe to use.
can not use on windows < nt or if win32 api not available.
2006-05-10 11:10:18 -07:00
Vadim Gelfer
d82f9c6fd2 merge with crew. 2006-05-10 10:32:24 -07:00
Vadim Gelfer
c440466a54 fix diffs containing embedded "\r".
add test to make sure fix stays fixed.
2006-05-10 10:31:54 -07:00
Thomas Arendsen Hein
667b1d7a64 Added -A as an alias for --after to hg remove, like for other commands. 2006-05-10 19:23:19 +02:00
Christian Boos
58fa61b2c0 The posixfile implemented using the win32 API should be iterable. 2006-05-10 11:53:56 +02:00
Vadim Gelfer
79f11ff2dd hide deprecated undo command by making it an alias for debugundo. 2006-05-09 20:56:13 -07:00
Vadim Gelfer
3528e1b2de undo: add "deprecated" message to output. 2006-05-09 13:29:55 -07:00
Vadim Gelfer
4b2d02c52a reduce memory used by util.opener when making a temp copy of a file. 2006-05-09 11:12:45 -07:00
Vadim Gelfer
09f8d99751 reduce memory used when appendfile appends to real file. 2006-05-09 11:08:06 -07:00
Thomas Arendsen Hein
571a43feca Always remove appendopener tmp files (fixes issue235).
test-hup triggered this bug by killing "hg serve --stdio".
2006-05-09 17:03:00 +02:00
Vadim Gelfer
990eecd90f localrepository.addchangegroup: add more source infos to hooks 2006-05-08 16:50:27 -07:00
Vadim Gelfer
724c8bd48c changegroup hooks: add source to hook parameters 2006-05-08 16:07:56 -07:00
Vadim Gelfer
daf27b2d40 merge with mainline. 2006-05-08 14:20:37 -07:00
Vadim Gelfer
c0d2c42c9f deprecate undo command, replace with rollback command. 2006-05-08 14:19:05 -07:00
mason@suse.com
58d4ef2538 Use revlogng and inlined data files by default
This changes revlog specify revlogng by default.  Inlined
data files are also used unless a flags option is found in the .hgrc.
Some example hgrc files:

[revlog]
# use the original revlog format
format=0

[revlog]
# use revlogng.  Because no flags are included, inlined data files
# also be selected
format=1

[revlog]
# use revlogng but do not inline the data files with the index
flags=

[revlog]
# the new default
format=1
flags=inline
2006-05-08 14:26:18 -05:00
Vadim Gelfer
41eb4e2c6e reverse sense of return value from python hooks.
old scheme (False/None/0/'' == fail) made coding style
unnatural, did not allow use of mercurial commands as hooks.

new scheme (False/None/0 == pass) is pythonic, does not require peculiar
"return True" at ends of hooks, allows hooks like this:

[hooks]
# update working dir after push into this repo
changegroup.update = python:mercurial.commands.update
2006-05-08 10:59:58 -07:00
Vadim Gelfer
f337648835 add filename to IOError if read of file fails.
if file replaced with directory or symlink, IOError not fully filled out.
2006-05-08 08:20:56 -07:00
Vadim Gelfer
ee2bf06926 revert: require explicit revision when working dir has two parents. 2006-05-05 10:31:03 -07:00
Stephen Darnell
df126198c9 Use text rather than binary mode for editing commit messages 2006-05-04 15:42:14 -07:00
Vadim Gelfer
15365b9a8c fix doc comments for revert command. people found them confusing. 2006-05-04 15:23:58 -07:00
Vadim Gelfer
9a2b3a6303 make templater.stringio a tiny bit more use. 2006-05-04 14:45:57 -07:00
Vadim Gelfer
f906ed16e7 move mail sending code into core, so extensions can share it.
document hgrc settings used.
2006-05-04 12:23:01 -07:00
Vadim Gelfer
c40534f466 move stringio class from bugzilla extension into templater module. 2006-05-04 12:02:32 -07:00
Vadim Gelfer
9d02d49bf7 merge with crew. 2006-05-03 22:47:57 -07:00
Vadim Gelfer
47101ddc97 add util.samestat function for windows.
windows does not have os.path.samestat, and stat().st_ino is always zero,
so util.samestat always returns false on windows.
2006-05-03 22:47:08 -07:00
Vadim Gelfer
b30de1431a make templater bit more flexible and efficient for external users. 2006-05-03 14:35:17 -07:00
Vadim Gelfer
991036f426 fix minor bugs in localrepo.hook. 2006-05-03 11:00:24 -07:00
Vadim Gelfer
f6f81d8d37 move changeset_templater into templater module. 2006-05-03 10:25:28 -07:00
Thomas Arendsen Hein
dc3e204fa1 Add debugaddremove alias to addremove, so it doesn't show up in 'hg help'.
Add an explicit description of 'hg commit --addremove'.
2006-05-03 10:53:51 +02:00
Vadim Gelfer
6e0d4ab1da deprecate addremove command. 2006-05-02 21:50:53 -07:00
Vadim Gelfer
b8271cf884 add --after option to remove command. 2006-05-02 21:44:24 -07:00
Vadim Gelfer
e23536fd9e merge with crew. 2006-05-02 14:38:32 -07:00
Vadim Gelfer
75ddc9a984 merge with crew. 2006-05-02 14:37:55 -07:00
Vadim Gelfer
fad839fb0b fix file handling bugs on windows.
add util.posixfile class that has posix semantics on windows.
fix util.rename so it works with stupid windows delete semantics.
2006-05-02 14:30:00 -07:00
Thomas Arendsen Hein
46d0753ec7 Make hg update more verbose by default (issue12)
(including small changes to revert and backout to not show these stats
 with the exception of backout --merge)

Show update stats (unless -q), e.g.:
K files updated, L files merged, M files removed, N files unresolved

Inform the user what to do after a merge:
(branch merge, don't forget to commit)

Inform the user what to do if a branch merge failed:
There are unresolved merges, you can redo the full merge using:
  hg update -C X
  hg merge Y

Inform the user what to do if a working directory merge failed:
There are unresolved merges with locally modified files.
2006-05-02 18:44:02 +02:00
Thomas Arendsen Hein
17b60b17d4 If default sorting is name, offer name-descending with one click.
Additionally no longer ignore case when sorting by name to match default
sorting. This makes e.g. a repository "FOO" being listed before "bar".
2006-05-01 19:17:34 +02:00
Thomas Arendsen Hein
76df0ed346 Make hgwebdir columns sortable. 2006-05-01 18:38:25 +02:00
Thomas Arendsen Hein
8ca893378d Merge with crew 2006-05-01 10:04:25 +02:00
Thomas Arendsen Hein
3c27b42f55 Add download links to hgwebdir index page for allowed archive types.
Based on a patch by Colin McMillen <mcmillen@cs.cmu.edu>
2006-05-01 10:02:17 +02:00
Colin McMillen
710e4fc2b4 Add archive download links to tip on main changeset list page 2006-05-01 09:01:59 +02:00
Vadim Gelfer
e68d5a8805 merge with crew. 2006-04-30 16:30:57 -07:00
Vadim Gelfer
b5e4f14fb3 do not check sys.argv from localrepo when running hooks.
instead add traceback field to ui class.
2006-04-30 16:30:39 -07:00
Thomas Arendsen Hein
7afa65a340 Combine catching exceptions added in ef4567e4fb9c in one except statement. 2006-04-30 22:46:54 +02:00