Commit Graph

11455 Commits

Author SHA1 Message Date
Martin Geisler
b6f296c814 i18n-ja: split messages into paragraphs 2010-06-19 17:19:14 +02:00
Martin Geisler
5c04cc6e28 i18n-it: split messages into paragraphs 2010-06-19 17:19:14 +02:00
Martin Geisler
e0717f4c05 i18n-fr: split messages into paragraphs 2010-06-19 17:19:14 +02:00
Martin Geisler
f9f8d79dab i18n-el: split messages into paragraphs 2010-06-19 17:19:14 +02:00
Martin Geisler
286e330aa8 i18n-de: split messages into paragraphs 2010-06-19 17:19:14 +02:00
Martin Geisler
46df75d845 i18n-da: split messages into paragraphs 2010-06-19 17:19:14 +02:00
Martin Geisler
96002610aa Merge with hg-i18n 2010-06-19 17:06:11 +02:00
Martin Geisler
c5a1b1f582 i18n-da: remove spurious \n 2010-06-18 15:22:56 +02:00
Matt Mackall
0b177f47ca bookmarks: add support for push --bookmark to export bookmarks 2010-06-17 15:54:26 -05:00
Matt Mackall
624998f1b4 bookmarks: add support for pull --bookmark to import remote bookmarks 2010-06-17 14:26:23 -05:00
Dirkjan Ochtman
56aef99b57 patch: inline small, single-use 'write' function 2010-06-17 15:51:27 +02:00
Dirkjan Ochtman
12058a3e8e patch: inline small, single-use 'close' function 2010-06-17 15:50:35 +02:00
Dirkjan Ochtman
75e5a3fcef mq: __str__ falls back to __repr__ 2010-06-17 15:53:26 +02:00
Matt Mackall
bb9bb2f2c0 bookmarks: update known bookmarks on the target on push 2010-06-17 12:22:21 -05:00
Matt Mackall
58c8d93978 bookmarks: pull known bookmarks from server that are newer 2010-06-17 12:10:47 -05:00
Matt Mackall
07bf3725e6 bookmarks: add pushkey server-side support 2010-06-17 11:01:51 -05:00
Matt Mackall
3902a6d8f6 pushkey: add debugpushkey command for testing 2010-06-16 16:05:47 -05:00
Matt Mackall
d8e0a2188b pushkey: add http support
pushkey requires the same permissions as push
listitems requires the same permissions as pull
2010-06-16 16:05:19 -05:00
Matt Mackall
2ba2a77855 pushkey: add ssh support 2010-06-16 16:05:13 -05:00
Matt Mackall
ae48625c19 pushkey: add localrepo support 2010-06-16 16:04:46 -05:00
Matt Mackall
45841ee8f1 pushkey: add pushkey core 2010-06-16 16:04:44 -05:00
Matt Mackall
aea05348a2 sshrepo: sort arguments
All current commands have zero or one args. Future multi-arg commands
will want args to appear in a deterministic order.
2010-06-16 15:01:09 -05:00
Greg Ward
1b6a40bfe8 mq: make 'qdelete <patchidx>' work again.
This just backs out b51fc1a46a02 (a minor code cleanup that
accidentally broke qdelete) and adds a test.
2010-06-16 22:00:02 -04:00
Renato Cunha
51519e8461 bdiff.c: Added support for py3k.
This patch adds support for py3k in bdiff.c. This is accomplished by including
a header file responsible for abstracting the API differences between python 2
and python 3.
2010-06-15 19:49:56 -03:00
Renato Cunha
5ee0b47edb diffhelpers.c: Added support for py3k.
This patch adds support for py3k in diffhelpers.c. This is accomplished by
including a header file responsible for abstracting the API differences between
python 2 and python 3.
2010-06-15 19:49:56 -03:00
Renato Cunha
5d4023de29 base85.c: Added support for py3k.
This patch adds support for py3k in base85.c. This is accomplished by including
a header file responsible for abstracting the API differences between python 2
and python 3.
2010-06-15 19:49:56 -03:00
Renato Cunha
e7d8ae78a9 parsers.c: Added support for py3k.
This patch adds support for py3k in parsers.c. This is accomplished by including
a header file responsible for abstracting the API differences between python 2
and python 3.
2010-06-15 19:49:56 -03:00
Renato Cunha
f8467c0605 mpatch.c: Added preliminary support for py3k.
This is done by including the util.h header file, that defines appropriate
macros according to the current python version.
2010-06-15 19:49:56 -03:00
Renato Cunha
29e7db1052 osutil.c: Support for py3k added.
This patch adds support for py3k in osutil.c. This is accomplished by including
a header file responsible for abstracting the API differences between python 2
and python 3.

listdir_stat_type is also changed in the following way: A previous call to
PyObject_HEAD_INIT is substituted to a call to PyVarObject_HEAD_INIT, which
makes the object buildable in both python 2.x and 3.x without weird warnings.

After testing on windows, some modifications were also made in the posixfile
function, as it calls PyFile_FromFile and PyFile_SetBufSize, which are gone in
py3k. In py3k the PyFile_* API is, actually a wrapper over the io module, and
code has been adapted accordingly to fit py3k.
2010-06-15 19:49:56 -03:00
Renato Cunha
9dcf925abb util.h: Utility macros for handling different Python APIs.
If we are in py3k, a IS_PY3K symbol is defined. Apart from that, byte strings
use the API defined in Python 2.6+ (_?PyBytes_.*). For Python < 2.6, the bytes
API is defined accordingly for mercurial usage (shameless copy from
bytesobject.h from Python's code). Some macros were backported from 2.6, as
inspired by rPath's pycompat.h.
2010-06-15 19:49:56 -03:00
Martin Geisler
0cbec6eadd relink: ensure deterministic directory walk in collect 2010-06-16 12:22:14 +02:00
Faheem Mitha
45dd4bd055 help: add "glossary" topic
Joint work with Vishakh Harikumar, Pradeepkumar Gayam, David Champion,
Mark Booth, timeless, Matt Mackall, Heinrik Stuart, Greg Ward, and
Martin Geisler.
2010-06-16 15:20:22 +05:30
Julian Cowley
96da4ff949 parser: fix URL to effbot 2010-06-11 01:35:38 -10:00
Eric Eisner
09e0759fc2 glog: fix crash on empty revision range 2010-06-24 21:35:52 -07:00
Mads Kiilerich
20a31caeb0 mercurial.spec: don't include convert-repo - use "hg convert" instead 2010-06-25 19:59:22 +02:00
Julian Cowley
dde4582c77 revset: remove debugging leftover 2010-06-25 01:27:25 -10:00
Gilles Moris
b51db262e6 contrib: update tcsh_completion with commands for 1.6
Added the following commands: debugbuilddag debugdag debugpushkey
debugrevspec.
2010-06-26 15:56:48 +02:00
timeless
675858ac70 relink/progress: Adding progress for collecting stage 2010-06-10 15:35:06 +02:00
timeless
6ffa07b04b relink/progress: Adding progress for pruning stage 2010-06-10 13:09:50 +02:00
Greg Ward
20b557f443 merge: when current branch has 1 or > 2 heads, actually abort.
Currently merge just prints abort-like messages to stderr and then
exits with a misleading status 0 (cleverly disguised as "False").
With this change it raises Abort, just like every other fatal error.
2010-06-14 16:06:52 -04:00
Greg Ward
727416d630 tags: remove inactive debugging code.
It was left in just in case things went wrong with the tag cache in
Mercurial 1.4, so we could easily crank up the verbosity with a
one-line change.  There have been no problems in 1.4 or 1.5, so it
should be safe to drop this now.
2010-06-15 16:10:32 -04:00
Greg Ward
2139b39f36 tags: remove the old non-caching implementation of findglobaltags().
It was left behind just in case the tag cache blew up in Mercurial
1.4, so we could easily revert to the non-caching code.  There have
been no problems with the tag cache in 1.4 or 1.5, so it should be
safe to get rid of this code now.
2010-06-15 15:02:54 -04:00
Christian Ebert
e5d231e804 keyword: postpone manifest calculation in kwtemplater.overwrite
We can check for file existence in the working directory (needed
in case of recording) by simply using the given context and
calculate the manifest only when there are in fact candidates
for expansion/shrinking.
2010-06-15 17:15:31 +02:00
Georg Brandl
072ab526a7 revset: fix call to ctx.extra() in closed() 2010-06-13 23:25:27 +02:00
Martin Geisler
6e246c45aa p4: fix long line and bad spacing around % 2010-06-15 11:05:17 +02:00
Frank Kingswood
28f1de6e41 Fix shell quoting on p4 conversion 2010-06-14 16:38:36 +01:00
Greg Ward
0f887ec58d tests: rename test-merge3 to test-add-remove.
It tests that 'hg commit' does not crash if the user removes a newly
added file, which has nothing to do with merging.
2010-06-14 13:39:00 -04:00
Martin Geisler
5bd48f2f1e check-code: reformat long lines 2010-06-15 10:01:55 +02:00
Martin Geisler
6bcf7f735a dagparser: replace format with str 2010-06-15 10:00:07 +02:00
Martin Geisler
28297c8184 check-code: catch format(), introduced in Python 2.6 2010-06-15 09:55:59 +02:00