Commit Graph

13611 Commits

Author SHA1 Message Date
Martin Geisler
9567e5a379 i18n: merge with stable 2011-03-16 17:43:43 +01:00
Martin Geisler
c18e2c0bc2 i18n-da: synchronize with 3bcc6424bb23 2011-03-16 17:42:42 +01:00
Martin Geisler
a0a2144b94 i18n: don't mark trivial string for translation 2011-03-16 17:38:25 +01:00
Martin Geisler
6f502a2558 i18n: merge with mpm 2011-03-16 17:34:13 +01:00
Martin Geisler
87e06b967c relink: mark abort message for translation 2011-03-16 15:34:45 +01:00
Martin Geisler
ba5898d620 relink: avoid trying to lock the same repo twice 2011-03-16 15:34:10 +01:00
David Soria Parra
8cd17f87d7 i18n-de: correct translation for some fuzzy strings 2011-03-15 10:39:19 +01:00
David Soria Parra
31bf9ec82f i18n-de: synchronize with 3fc1a48c5069 2011-03-15 10:20:55 +01:00
David Soria Parra
10510a0de1 bundle: update current bookmark to most recent revision on current branch
We check if the current bookmark is set to the first parent of the
dirstate. Is this the case we move the bookmark to most recent revision
on the current branch (where hg update will update you to).
2011-03-14 23:03:56 +01:00
Patrick Mezard
ec6a1a3ed2 convert/svn: fix _iterfiles() output in root dir case (issue2647)
When converting directory additions/replacement with project directory set to
root, _iterfiles() sometimes returned paths starting with a slash making
following svn calls to fail.

I could not reproduce the issue with hand-crafted repositories.

Report and first analysis by Clinton Chau <clinton@clearcanvas.ca>
2011-03-14 21:35:31 +01:00
David Soria Parra
848c5155b1 localrepo: do not update bookmarks in addchangegroup
We want to update the current bookmark to the most recent revision on
current branch unless there is a remote bookmark that points to
a different descendant. Addchangegroup is called before we can check for
remote bookmarks.

We don't update the bookmark in addchangegroup anymore to allow proper updating
of bookmarks in pull.
2011-03-14 20:53:55 +01:00
Radomir Dopieralski
30b72ca2fb rebase: add -m/--message to rebase --collapse (issue2389)
When collapsing changesets with rebase, you get a chance to edit the commit
message manually, but there is no way to pass this message from the command
line. This patch adds a `--message` (with short form `-m`) and `--logfile`
(with short form `-m`) options to the rebase command. These options suppresses
the generation of the default commit message, and instead use the message
provided in the option (in case of `-m`) or in the file it points to (in case
of `-l`).

If you use this option without the `--collapse` option, it will raise an
error.

Options documentation edited by Patrick Mezard <pmezard@gmail.com>
2011-03-15 18:33:36 +01:00
David Wolever
7bd158b865 Updating hgext.extdiff to use revsets 2011-03-15 17:50:02 -04:00
Martin Geisler
9b725c9bcb merge with stable 2011-03-16 16:07:06 +01:00
Martin Geisler
af8080dec2 relink: format reclaimed byte count nicely 2011-03-16 13:51:47 +01:00
Martin Geisler
48bef00c98 test-relink: remove unnecessary ui.username setting 2011-03-16 13:25:12 +01:00
David Soria Parra
2def9dba3a test-https: match output from b396ee1c907c 2011-03-16 09:05:59 +01:00
Matt Mackall
1402203495 merge with stable 2011-03-15 16:53:46 -05:00
Patrick Mezard
bc20b44708 merge with crew 2011-03-14 22:37:50 +01:00
Matt Mackall
a1c69b99f5 merge with stable 2011-03-14 15:59:44 -05:00
Patrick Mezard
5f254d281f eol: no need to accumulate files when checking all changesets
Just check the files touched by the changesets.
2011-03-14 21:31:54 +01:00
Patrick Mezard
99858baa84 eol: improve hook failure output
Before, only the first failure was reported:

  abort: b.txt should not have CRLF line endings

while now all of them are listed:

  abort: end-of-line check failed:
    d.txt in a7040e68714f should not have CRLF line endings
    b.txt in fbcf9b1025f5 should not have CRLF line endings

As first suggested by Antoine Pitrou <solipsis@pitrou.net>
2011-03-14 21:08:18 +01:00
Steve Borho
89afb35fbf diff: make diff -c aware of revision sets 2011-03-14 13:11:26 -05:00
Martin Geisler
2009744e21 color: wrap lines in docstring 2011-03-14 15:19:58 +01:00
Martin Geisler
47a3f1a049 merge with stable 2011-03-14 14:05:19 +01:00
Christian Ebert
d7bf092ada keyword: offer additional datefilters when the extension is enabled
Before the additional datefilters (utcdate, svnisodate, svnutcdate)
were used when kwtemplater was initialized. Now they always be used
once the extension is enabled.
2011-03-14 12:26:50 +01:00
Christian Ebert
538e3f9097 keyword: docstrings for additional date filters 2011-03-14 12:19:59 +01:00
David Soria Parra
a43d669108 bookmarks: remove API limitation in setcurrent
setcurrent refuses to set a new current bookmark if the current bookmark
points to the current dirstate. This restriction is not needed. A current
bookmark can point to a different bookmark.
2011-03-14 09:36:17 +01:00
Martin Geisler
09f646d380 merge with stable 2011-03-14 09:20:21 +01:00
Martin Geisler
be8aa69be9 test-https: update to match output from 6eebab86aebc 2011-03-14 09:20:05 +01:00
David Soria Parra
4e5087c547 bookmarks: separate bookmarks update code from localrepo's pull.
We explicitly want to update bookmarks from a remote. This will avoid
duplicate calls to listkeys if we clone (which calls pull) and keep
bookmark related code together.
2011-03-14 00:10:43 +01:00
David Soria Parra
cdf3407b1a tests: respect new hg clone listkey queries in http-proxy test 2011-03-14 00:10:43 +01:00
Jon M. Dugan
83ac2d7b6b setup: fix mac build broken by 1564bc7b747b
Sometimes xcodebuild prints warnings to stderr, but runcmd() assumes anything
printed to stderr implies failure.  Since runcmd() was originally only
intended to run hg, this was fine until it was pressed into service for
running xcodebuild.  Thus: split runcmd() into two parts: runcmd(), which does
the minimal amount of work to run a subprocess, and runhg(), which calls
runcmd().
2011-03-13 17:39:33 -05:00
Martin Geisler
e450b1ed50 color: don't mention internal function in docstring
The render_text function actually never existed, the docstring
probably meant the render_effects function instead.
2011-03-14 13:54:25 +01:00
Martin Geisler
f881346b4c mq: do not let qrefresh write bad patch 2011-03-13 16:18:46 +01:00
Steve Borho
af5b09475e merge with stable 2011-03-13 10:09:30 -05:00
Steve Borho
f61b2a6d58 eol: do not abort when win32text is found, only warn
The win32text extension does not break eol or vice-versa, so it is not a fatal
error to have both of them enabled.  It's just folly.  So spewing warnings in
this condition is preferrable to aborting.  When both extensions are enabled,
the user now sees:

% hg st
the eol extension is incompatible with the win32text extension
win32text is deprecated: http://mercurial.selenic.com/wiki/Win32TextExtension
M hgext/eol.py
2011-03-13 10:03:06 -05:00
Benoit Boissinot
48b6ee837f merge with stable 2011-03-13 15:59:50 +01:00
Dirkjan Ochtman
d961fbf4ea tests: fix failures introduced in 6c855f5350cd 2011-03-13 15:59:24 +01:00
thron7
34b16e2601 i18n-de: added translations concerning hardlinks 2011-03-13 15:35:23 +01:00
thron7
5416cc51a9 i18n-de: added more translations concerning rebase 2011-03-13 15:18:17 +01:00
Klaus Koch
b52874b751 graphlog: give meaningful error if more than one file is given 2011-03-13 15:04:13 +01:00
Steve Borho
d00322059c setup: remove unnecessary code for win32com (pywin32) 2011-03-13 08:50:06 -05:00
Patrick Mezard
3fe2303b35 test-highlight: fix test output (introduced by c1aafe72f67b) 2011-03-13 15:10:01 +01:00
Patrick Mezard
d52fb5d6ab eol: rename hook into checkheadshook, add checkallhook (issue2665)
"hook" is still an alias for "checkheadshook".
2011-03-13 15:07:44 +01:00
Patrick Mezard
25db85f436 eol: make the hook check all new heads, not only tip (issue2666)
Report and test by Antoine Pitrou <solipsis@pitrou.net>
2011-03-13 15:07:44 +01:00
Patrick Mezard
31042d7b6f eol: the hook no longer requires the extension to be loaded
Reading rules in the hook means we no longer need ui to be filled and do not
need reposetup() to be run anymore.
2011-03-13 15:07:44 +01:00
Patrick Mezard
df3e99aabe eol: extract parsing error handling in parseeol() 2011-03-13 15:07:44 +01:00
Patrick Mezard
6138329fcd eol: separate .hgeol parsing from merge in ui
This will help refactoring the hook.
2011-03-13 15:07:44 +01:00
Patrick Mezard
bd3e6eac01 eol: remove unused argument in readhgeol() 2011-03-13 15:07:44 +01:00