Commit Graph

1165 Commits

Author SHA1 Message Date
Dirkjan Ochtman
67bd09df5b python2.6: use subprocess if available 2008-10-05 21:35:26 +02:00
Patrick Mezard
71877ea8d9 convert: make built-in cvsps the default
Reviewed by Frank Kingswood <frank@kingswood-consulting.co.uk>
2008-10-15 20:14:28 +02:00
Patrick Mezard
8e45917fce convert: fix builtin cvsps under Windows
Drafted and reviewed by Frank Kingswood <frank@kingswood-consulting.co.uk>.
2008-10-13 17:31:03 +01:00
Christian Ebert
53abba7e41 patchbomb: consistently use opts.get 2008-10-07 13:57:00 +02:00
Matt Mackall
37121b48f9 zeroconf: advertise a proper hostname for _hg services 2008-10-12 15:21:08 -05:00
Matt Mackall
84b350fc7d zeroconf: use only first part of hostname for building local name 2008-10-12 15:21:08 -05:00
Matt Mackall
d9f96e12e7 inotify: avoid status getting out of sync
Always looking up oldstatus keeps us from failing to update our state
when we disagree with the dirstate.
2008-10-12 15:21:08 -05:00
Matt Mackall
ad08a5e361 inotify: fixup rebuilding ignore 2008-10-12 15:21:08 -05:00
Matt Mackall
84505139dc inotify: skip deactivation message 2008-10-10 11:29:57 -05:00
Matt Mackall
894d30e88b inotify: fix confusion on files in lookup state 2008-10-10 11:29:30 -05:00
Alexander Solovyov
79c547d51d churn: py2.3 compatibility fix
- generator expressions appeared in py2.4
 - sort doesn't have any arguments except sorting function
2008-10-10 15:53:49 +03:00
Patrick Mezard
f8f73e46ef Merge with crew-stable 2008-10-10 13:20:40 +02:00
Patrick Mezard
3eb95e081f convert: properly encode subversion URLs (issue 1224) 2008-10-10 11:36:02 +02:00
Patrick Mezard
0107794fd2 convert: tolerate embedded spaces in filemap source revisions 2008-10-10 11:32:38 +02:00
Matt Mackall
dd40e6aca7 zeroconf: initial implementation
This is a basic, hopefully portable, zeroconf extension.

Enabling it will allow hg paths/pull/push/clone/etc. to automatically
discover services advertised as "_hg".

And naturally, running hg serve will advertise itself as a "_hg"
service as well as a "_http" service for use by browsers.
2008-10-08 19:58:35 -05:00
Alexander Solovyov
dfa7272d1d churn and stats commands merged 2008-10-09 00:14:20 +03:00
Alexander Solovyov
0d41308ed2 churn: generalisation, now it is possible to see statistics grouped by custom template 2008-10-03 00:07:38 +03:00
Dirkjan Ochtman
a3c364ffd3 convert: fixed python2.3 incompatibility in bzr source (generator expression) 2008-10-02 15:48:57 +02:00
Patrick Mezard
c4a9b7abb7 convert: improve convert_source documentation 2008-09-29 09:30:36 +02:00
Marek Kubica
0f790a60a5 convert: add bzr source 2008-09-26 20:33:47 +02:00
Martin Geisler
9eb8225664 i18n, churn: mark string for translation 2008-09-23 22:01:40 +02:00
Sune Foldager
1465c20864 fetch: use dirstate branch instead of first parents 2008-09-24 13:22:11 +02:00
Benoit Boissinot
bb6f34eb86 inotify: add client code for long pathname handling 2008-09-07 15:10:11 +02:00
Benoit Boissinot
6600c99d5a inotify: workaround ENAMETOOLONG by using symlinks
If we can't create the unix socket because the path is too long
we create the socket in a temporary directory and symlink it into
the repo.

Fix issue1208
2008-09-06 14:11:33 +02:00
Benoit Boissinot
5b0f8d909f inotify: deactivate inotify status on failure
workaround issue1208, add test
fix traceback handling (socket.error is a singleton in this case)
2008-09-06 12:49:20 +02:00
Benoit Boissinot
9849809bc7 inotify: fix traceback when the server has been already started 2008-09-06 12:48:52 +02:00
Benoit Boissinot
9ceefedcef merge with -stable 2008-09-10 23:20:04 +02:00
Jim Hague
788364de51 Add support for Bugzilla 3.0 series to bugzilla hook.
The only difference is 'fieldid' in table 'fielddefs' got renamed
to 'id' for 3.0.
2008-08-29 20:36:55 +01:00
Martin Geisler
63784c935a i18n, record: improve use of translated docstring in prompts
The old code would confuse the user if the translator actually
translated the letters "Ynsfdaq?" in the prompt, since the user input
would be matched against the English string, despite the translation.

The new code fixes this, but the translator must be 100% consistent.
Also, the translation of single character strings is problematic if
they are used differently by different pieces of code.
2008-09-09 21:32:39 +02:00
Sune Foldager
71dc05b36f fetch: added support for named branches
Previously, fetch didn't really work when there were multiple named branches
in the repository. Now it tries to do the right thing(tm) in all situations.
2008-09-08 12:55:46 +02:00
Martin Geisler
ce59efd5c2 i18n, mq: mark command line options for translation 2008-09-06 17:44:03 +02:00
Martin Geisler
43bddfde19 i18n, imerge: mark command line for translation 2008-09-06 17:44:02 +02:00
Martin Geisler
b8d2a11cdc i18n, hgk: mark command line options for translation 2008-09-06 17:44:01 +02:00
Martin Geisler
4ca32a1fdf i18n, convert: mark command line options for translation 2008-09-06 17:43:59 +02:00
Benoit Boissinot
ebcbcef11c merge with -stable 2008-09-06 17:04:01 +02:00
Rocco Rutte
cc79439de6 highlight: only pygmentize for HTML mimetypes
For non-html mimetypes it doesn't make much sense. This also fixes the
issue that highlight unconditionally adds a <link/> tag for its CSS to
the template's header (which is pointless in text/plain output).
2008-09-05 10:39:57 +02:00
divy@chelsio.com
3a7f22fad0 notify: fix diffstat printing
notify.diff() keeps line breaks in the diff buffer before calling
patch.diffstat().
patch.diffstat() however adds another line break when feeding diffstat input.
The added extra empty line leads to erroneous diffstat output.
This fix removes the line breaks in notify.diff() and adds it back to print them.
2008-09-03 01:49:16 +02:00
Patrick Mezard
94ead662e7 convert: document source and sink identifiers, fix error message 2008-09-02 22:21:19 +02:00
Brendan Cully
36f1ad5346 Use relative imports in inotify.server.
Fixes an import failure I was getting under hgtk and hgweb:
*** failed to import extension inotify: 'module' object has no attribute 'inotify'
2008-08-19 15:36:03 -07:00
Patrick Mezard
a5a7a649cf graphlog: fix calls from outside the repository (issue1285) 2008-09-02 09:25:29 +02:00
Dirkjan Ochtman
e364bcbc41 record: catch PatchErrors from internalpatch and display error message
This resulted in big ugly tracebacks in issue1282, for example.
2008-08-31 11:36:07 +02:00
Dirkjan Ochtman
9d15aadfb0 record: take diff lines for lack of trailing newlines into account (issue1282)
The record extension incorrectly re-calculated the size lines for unified
diff hunks. It counted a '\\ No newline at end of file\n' line towards the
number of lines of trailing context, while it's not actually part of the
context (and certainly isn't added as a line to the resulting output).

Use the local name of a variable that was access through the nonlocal scope
while we're at it. Seeing the variable was a little bewildering.
2008-08-31 11:34:52 +02:00
Peter Arrenbrecht
889ece79c4 mq: fix docs for qrefresh -D (issue1234) 2008-08-20 10:30:53 +02:00
Dennis Schoen
7468181527 fix changegroup.notify hook broken by 644888ebfa31 2008-09-02 15:41:51 +02:00
Patrick Mezard
20286160ce Merge with crew-stable 2008-09-02 09:47:40 +02:00
Martin Geisler
20738acdab i18n: mark strings for translation in transplant extension 2008-08-31 16:12:03 +02:00
Martin Geisler
559d8ac2b4 i18n: mark strings for translation in record extension 2008-08-31 16:12:03 +02:00
Martin Geisler
dc4e1fa6e7 i18n: mark strings for translation in rebase extension 2008-08-31 16:12:03 +02:00
Martin Geisler
f257c2d86e i18n: mark strings for translation in patchbomb extension 2008-08-31 16:12:03 +02:00
Martin Geisler
89b1d0573f i18n: mark strings for translation in interhg extension 2008-08-31 16:12:03 +02:00