Commit Graph

7984 Commits

Author SHA1 Message Date
Alexander Solovyov
4f628e24de diffstat hook example 2009-03-26 16:49:47 +02:00
Alexander Solovyov
609db13729 ability to load hooks from arbitrary python module 2009-03-27 01:28:09 +02:00
Benoit Boissinot
1d8f6c802d merge with crew 2009-03-29 19:06:56 +02:00
Tobias Bell
f4fcc933bb i18n-de: Several updates
* translated 'hg help revisions'
  * updated translation from hg.pot
  * completed translation of rebase
2009-03-28 18:19:17 +01:00
Benoit Boissinot
a59bc0256c record: fix indentation 2009-03-29 00:08:33 +01:00
Rocco Rutte
a1eb264519 record: Give user a hint about chunk selection progress
It greatly improves usability when one roughly knows where
the chunks of interest are.
2009-03-28 23:09:36 +01:00
Rocco Rutte
0e71380f6b coal/paper: Turn <img> into <img/> where missing 2009-03-28 22:22:22 +01:00
Benoit Boissinot
6712106532 add missing +x flag to test-inotify-issue1542 2009-03-28 19:50:37 +01:00
Benoit Boissinot
ff7ad59687 merge with crew 2009-03-28 19:25:10 +01:00
Tobias Bell
c9f5cd26d2 i18n: spelling correction in German translation 2009-03-28 16:34:40 +01:00
Tobias Bell
fbfad51d39 i18n: completed German translation of the children extension 2009-03-27 18:17:24 +01:00
Tobias Bell
cb25681d01 i18n: fixed textwidth in bookmarks extension 2009-03-27 17:59:35 +01:00
Rocco Rutte
895d037e99 Add missing imports for posix.py for OS X
These don't seem to do harm on Linux.
2009-03-27 17:56:18 +01:00
Tobias Bell
2519fadc92 i18n: completed German translation of bookmarks extension 2009-03-27 17:48:59 +01:00
Mads Kiilerich
36ec467f85 convert: missing p4 tool is only slightly fatal
checktool with default abort=True caused convert to fail too early.
2009-03-27 13:39:18 +01:00
Fabian Kreutz
664aa36f7a i18n: continuation of command.py translations/checking 2009-03-27 11:52:32 +02:00
Steve Borho
582e7e6612 windows: add various missing import 2009-03-26 23:02:21 -05:00
Steve Borho
67420334f3 windows: hoist expand_glob() back into util.py
The windows version of expand_glob() requires patkind(). To
avoid a circular dependency, move function back into util.py.
2009-03-26 22:07:01 -05:00
Fabian Kreutz
658e380a3e i18n: more commands.py translations 2009-03-24 18:52:48 +01:00
Fabian Kreutz
f66981d640 i18n: more commands.py reworking + new translations 2009-03-24 18:50:46 +01:00
Martin Geisler
05b3dfb2cf cmdutil: fix untranslatable string in copy 2009-03-27 17:35:00 +01:00
Tobias Bell
afe3a2b645 enhance Makefile for language translators
To update a po-file just do 'make i18n/xx.po'. No other po-file will
be touched.
2009-03-26 08:07:28 +01:00
Nicolas Dumazet
ddda9ba6fe Fixing issue1542, adding a relevant test
inotify is smart enough to notify you about any changes in a
directory, even if you only watch the directory, and none if its
contents: the recursive add_watch I added was unnecessary.

The only thing that matters here is the recursive status update on
directory deletion.

And scan() has to be called _before_ the deferred call is registered.
(race condition: depending on the times, the previous patch could
apparently fail on the provided test. It's not the case anymore.)
2009-03-26 19:01:06 +09:00
Stefano Tortarolo
bf2fa160b0 rebase: remove unused statement 2009-03-11 20:28:09 +01:00
Matt Mackall
0952760f82 util: split out posix, windows, and win32 modules 2009-03-26 13:54:44 -05:00
John Mulligan
18339d9ef9 patchbomb: option to set the name of bundle attachment (issue1452)
specifying --bundlename=NAME will create a "NAME.hg" attachment
2009-03-14 10:46:48 -04:00
Matt Mackall
b6fd334dd0 Merge with -stable 2009-03-24 16:41:41 -05:00
Tobias Bell
d744971252 i18n: add German translation
* Most basic commands are translated
  * hgext/alias.py
  * hgext/acl.py
  * hgext/fetch.py
  * help topics
    * urls
    * dates
    * patterns
    * diffs

433 translated messages, 1350 untranslated messages.

Translators:
  * Tobias Bell
  * Fabian Kreutz (fabian DOT kreutz AT qvantel.com)
  * Lutz Horn (lutz DOT horn AT fastmail DOT fm)

Please report issues to http://bitbucket.org/tobidope/i18n-german-translation/issues/
or to the mailing list.
2009-03-22 20:59:03 +01:00
Dongsheng Song
faee65720b i18n: updated Chinese translation 2009-03-20 14:28:48 +08:00
Stefano Tortarolo
f95f7599c7 i18n: update italian translation 2009-03-10 19:16:16 +01:00
Nicolas Dumazet
3ced073c3b revlog: faster hash computation when one of the parent node is null
Because we often compute sha1(nullid), it's interesting to copy a precomputed
hash of nullid instead of computing everytime the same hash. Similarly, when
one of the parents is null, we can avoid a < comparison (sort).

Overall, this change adds a string equality comparison on each hash() call,
but when p2 is null, we drop one string < comparison, and copy a hash instead
of computing it. Since it is common to have revisions with only one parent,
this change makes hash() 25% faster when cloning a big repository.
2009-03-23 15:32:29 +01:00
Nicolas Dumazet
5c8c0a663b ancestor: caching the parent list to improve performance
When computing the DAG depth, we walk through all ancestors: this commit adds
memoization during that first step. Then, the memorized parents are fetched
from a dict instead of calling parents() on each vertex.

This tweak, according to Kcachegrind, improves ancestor() performance by 16%
when cloning a big repository.
2009-03-23 15:36:30 +01:00
Dirkjan Ochtman
7b5b0945c3 kill another trailing space 2009-03-23 13:49:16 +01:00
Dirkjan Ochtman
33d6485beb add debugcommands command: an easy to parse command + option index 2009-03-23 13:43:48 +01:00
Alexander Solovyov
475ce753d3 templater: ability to display diffstat for log-like commands 2009-03-23 10:41:42 +01:00
Alexander Solovyov
7ea3611901 templater: use contexts consistently throughout changeset_templater 2009-03-23 13:15:57 +01:00
Peter Arrenbrecht
8c3658a497 cleanup: whitespace cleanup 2009-03-23 13:13:27 +01:00
Peter Arrenbrecht
ce6e853a0b cleanup: drop enumerate() when index is not used 2009-03-23 13:13:11 +01:00
Peter Arrenbrecht
19591b6a8c cleanup: drop unused assignments 2009-03-23 13:13:06 +01:00
Peter Arrenbrecht
a2d3e23eef cleanup: drop variables for unused return values
They are unnecessary. I did leave them in localrepo.py where there is
something like:

  _junk = foo()
  _junk = None

to free memory early. I don't know if just `foo()` will free the return
value as early.
2009-03-23 13:13:02 +01:00
Peter Arrenbrecht
bc21361ed2 cleanup: drop unused imports 2009-03-23 13:12:07 +01:00
Alexander Solovyov
0dac3f9036 contrib: add perflog and perftemplating commands to perf extension 2009-03-23 13:12:03 +01:00
Dirkjan Ochtman
66fabbd9b4 merge with crew-stable 2009-03-23 13:12:44 +01:00
Matt Mackall
68f6893175 Merge with -stable 2009-03-20 18:55:20 -05:00
Lee Cantey
1f2673b393 Fix for merge changes introduced in rev 397091458855 2009-03-19 10:25:13 -07:00
Dirkjan Ochtman
6160525885 merge with crew-stable 2009-03-18 17:49:48 +01:00
Dirkjan Ochtman
0027b7f5ed convert: honor 2.3 compatibility (rsplit) 2009-03-18 17:49:11 +01:00
Matt Mackall
4cd17487f7 Merge with stable 2009-03-17 13:46:53 -05:00
Benjamin Pollack
022828a7a5 regression test for issue1552
Ensures that fetch correctly infers what to merge when pulling a
repository with inactive branches.
2009-03-17 11:34:40 -04:00
Benjamin Pollack
206a106a49 fetch: do not count inactive branches when inferring a merge
The fetch extension would erroneously consider inactive branches when
inferring which branches to merge.  It now considers only active
branches.
2009-03-17 11:47:40 -04:00