Commit Graph

1385 Commits

Author SHA1 Message Date
Patrick Mezard
ec5e4be1e7 convert: work around svn.ra.get_files() not releasing input buffer 2008-11-30 22:01:26 +01:00
Thomas Arendsen Hein
efbb4bc0d2 Improvement to 14ce129cfcd: Use try/except and pass filename on errors
Without the second part, the error message would be
  abort: Is a directory
instead of
  abort: Is a directory: /home/user/.cvspass
2008-11-28 11:38:41 +01:00
Edouard Gomez
88835d384f convert: check existence of ~/.cvspass before reading it 2008-11-27 10:13:20 +01:00
Mads Kiilerich
b9c26e8467 convert cvs: Fix branch name parsing
cvsps version 2.2b1 as found in Fedora 10 outputs the following format:
---------------------
PatchSet 1
Date: 2008/11/26 00:59:46
Author: mk
Branch: HEAD
Tag: (none)
Branches: INITIAL
Log:
Initial revision

Members:
	a:INITIAL->1.1
	b/c:INITIAL->1.1

---------------------

The parser overwrote the Branch value with noise from the misparsed Branches
value.
2008-11-27 22:04:51 +01:00
Brendan Cully
010e2cdb2d Add hgcia to hgext 2008-11-27 11:04:29 -08:00
Dirkjan Ochtman
35a7a2d857 bundlerepo doesn't really have a dirstate, throw AttributeError if requested 2008-11-27 16:07:17 +01:00
Dirkjan Ochtman
d963dd0023 kill some trailing spaces 2008-11-27 16:07:13 +01:00
Alpar Juttner
bc30633124 Graphlog extension adds a --graph option to log/in/out
The --graph option shows the ascii revision graph when used in conjunction
with the incoming, outgoing or log commands.

It also makes sure that incompatible options (e.g. --newest-first) are not
used.
2008-11-21 22:27:11 +00:00
Benoit Boissinot
22d9484189 Catch both IOError and OSError, fix regression introduced by 0018648194a9 2008-11-26 18:23:35 +01:00
Brendan Cully
27542d729d inotify: remove unused imports (thanks pyflakes) 2008-11-25 18:45:08 -08:00
Brendan Cully
6f67d9ec16 color: don't run status twice for -n
Just cut off the status characters.
2008-11-25 18:32:44 -08:00
Brendan Cully
a712d45c18 color: fix status -n 2008-11-25 18:21:00 -08:00
Christian Ebert
2c4205b924 keyword: do not shadow builtin format (detected by pychecker) 2008-11-25 16:30:40 +01:00
Benoit Boissinot
ea0e021c3d protocol: use changegroupsubset() if possible (issue1389)
Due to the fix to the pull race, to avoid sending unnecessary
changesets, use changegroupsubset if possible.
This will increase the load on the server.
2008-11-25 23:26:33 +01:00
Matt Mackall
c163f654f6 Merge with crew 2008-11-25 16:24:22 -06:00
Benoit Allard
f0e30bc7e3 email: add References field in the header
This hopefully helps clients get the threading right.
2008-11-25 23:13:14 +01:00
Brendan Cully
02f74c1e7a mq: recover more gracefully from interrupted qrefresh (issue1216) 2008-11-23 18:08:19 -08:00
Brendan Cully
52891625ce mq: use atomictempfiles during patch refresh 2008-11-23 16:07:47 -08:00
Brendan Cully
d967180a6e mq: create patch header class to abstract header manipulation 2008-11-22 14:04:42 -08:00
Brendan Cully
63fa2faa43 mq: gracefully abort qpush/qgoto to guarded patch (issue1186) 2008-11-23 00:44:31 -08:00
Matt Mackall
4e3875be62 update help on git diffs 2008-11-18 15:35:34 -06:00
Peter Arrenbrecht
f5e17bf442 graphlog: fix regression with filelogs introduced by c19a6e3c8257 2008-11-16 20:55:30 +01:00
Patrick Mezard
66e081318f Merge with crew-stable 2008-11-15 15:57:12 +01:00
Patrick Mezard
ce81a90498 convert: be even more tolerant when detecting svn tags
Former code failed when tracking child directories we assumed were renamed with
their parents but were really created in the tags directory. This happens in
jQuery repository with /tags/ui/1.5b4/release@5455.
2008-11-15 15:51:26 +01:00
Dirkjan Ochtman
18919db71c graphlog: fix python2.3 incompatibility (used genexp, sorted()) 2008-11-15 12:27:40 +01:00
Christian Ebert
d61322a8dd keyword: move common code out of commit condition 2008-11-14 22:29:03 +01:00
Dirkjan Ochtman
f173d61010 keyword: be more efficient about ctx usage 2008-11-14 19:10:09 +01:00
Dirkjan Ochtman
86787fafb1 graphlog: kill whitespace from earlier refactoring 2008-11-14 18:34:47 +01:00
Dirkjan Ochtman
35deddbf97 graphlog: use built-in log output buffering 2008-11-14 13:48:23 +01:00
Peter Arrenbrecht
0aba0de18f graphlog: refactor common grapher code
Extracts the column and edge determination code into a separate function
usable on generic DAGs with at most 2 parents per node.

grapher() is very similar to graphmod.graph(). I shall look into merging
them when I try visualizing patch branches in hgweb.

Started using contexts and renamed a bunch of variables (fewer underscores).
2008-11-14 13:44:10 +01:00
Dirkjan Ochtman
9ef9b3e5db cmdutil: use change contexts for cset-printer and cset-templater 2008-11-14 13:59:25 +01:00
Chris Winter
454f5f9dca patchbomb: add option to send intro email for a single patch (issue1120) 2008-11-13 10:11:32 +01:00
Peter Arrenbrecht
e9db68caeb patchbomb: fix patch name generation in patch series 2008-11-12 19:12:32 +01:00
Peter Arrenbrecht
80b2cbc5cf graphlog: add assertion for allowed n_column_diff range 2008-11-12 16:32:21 +01:00
Peter Arrenbrecht
6c0891c089 graphlog: drop redundant comment (see docstring) 2008-11-12 16:32:35 +01:00
Dirkjan Ochtman
37ad9d0fc7 patchbomb: extract a bunch of nested functions
- clarifies dependencies on variables
- extracts potentially useful utility functions
- no need for separate confirm() function
- error message style conformance
- PEP 8 conformance
2008-11-12 14:36:16 +01:00
Peter Arrenbrecht
a3ac15eea4 patchbomb: make hg email reusable for other patch sources
Adds two internal options, patches and patchnames, which allow other extensions
to email a given set of patches. The pbranch extension needs this to send its
patches which are diffs between topic branches.
2008-11-12 14:07:47 +01:00
Peter Arrenbrecht
c548002043 patchbomb: make options to email command reusable
Makes the option set that controls the actual emailing of the patches
available as patchbomb.emailopts.
2008-11-12 14:01:09 +01:00
Benoit Boissinot
f30c45529e Backed out changeset 131da9defd10 (issue1375) 2008-11-12 09:08:43 +01:00
Benoit Boissinot
e2636d353e inotify: fix replacing a folder with a file (issue1375) 2008-11-11 23:16:59 +01:00
Brendan Cully
5a88518d14 inotify: fix status . in repo.root 2008-11-19 13:00:48 -08:00
Patrick Mezard
b023997f48 patch: pass an opener to patchfile 2008-11-19 13:27:57 +01:00
David Soria Parra
d23187bf3d bookmarks: Use dirstate to determine the current node in addchangegroup
Using the changectx might result in a lookup error during the strip command.
Thefore we use the current dirstate to get the parents of the working directory.
2008-11-05 03:53:34 +01:00
Dirkjan Ochtman
2f6d26d640 patch: turn patch.diff() into a generator
This should even be a little faster than passing in an fp argument.
2008-11-03 16:48:23 +01:00
Dirkjan Ochtman
4af26a1f84 help: commands supporting --git point to the gitdiffs topic (issue1352) 2008-11-03 16:31:47 +01:00
Dirkjan Ochtman
76c4ba2df5 mq: reflow qnew help, add help for options 2008-11-03 16:30:21 +01:00
Benoit Boissinot
740800636a inotify: fix bug in formatting 2008-11-02 22:44:42 +01:00
Gerard Korsten
069ac42a71 inotify: server raising an error when removing a file (issue1371)
When a file is deleted via hg rm <file> the dirstate marks the file with a
status of 'r'. The physical file has been deleted, but the inotify server
tries to do a stat on the file after it's been removed.

Patch catches the exception and correctly call updatestatus()
2008-11-01 14:05:13 +02:00
Dirkjan Ochtman
604b2a1406 kill some trailing spaces 2008-11-01 13:06:36 +01:00
Thomas Arendsen Hein
c6095906cc Do not abort with inotify extension enabled, but not supported by the system.
And remove the "native support is required" message which is generated at an
inappropriate location and is printed more than once when using 'hg status'.
2008-11-07 13:02:04 +01:00
Dirkjan Ochtman
1632f1ef05 graphlog: move functions around, eliminate helper function
Makes it easier to read all of the code.
2008-11-07 11:44:37 +01:00
Peter Arrenbrecht
c463871592 graphlog: split the actual DAG grapher out into a separate method
This allows extensions like pbranch to use asciigraph() to graph dependencies
for patch branches, but could be used for basically any DAG.
2008-11-07 10:37:20 +01:00
Peter Arrenbrecht
f9593dad02 graphlog: rename some vars prior to refactoring 2008-11-07 10:29:43 +01:00
Peter Arrenbrecht
939c6d9fa8 graphlog: make some comment lines more like others in punctuation 2008-11-07 10:29:35 +01:00
Peter Arrenbrecht
46c235b486 patchbomb: fix indentation 2008-11-07 10:18:55 +01:00
Peter Arrenbrecht
3f48887d79 patchbomb: move exportee class to top level
As suggested by djc.
2008-11-07 10:18:12 +01:00
Brendan Cully
05dded9051 mq: use cmdutil.matchfiles instead of match for qnew -f.
Closes issue1368.
2008-10-30 12:38:24 -07:00
Augie Fackler
1d62e6146e zeroconf: Don't break serve if no internet connection is present. 2008-10-29 18:54:46 -05:00
Dirkjan Ochtman
06d26ccb2e merge with mpm 2008-10-29 11:39:32 +01:00
Benoit Boissinot
55e9c314c7 bookmarks: fix strip handling 2008-10-28 20:48:30 +01:00
Benoit Boissinot
0ea9205c93 fix zeroconf handling for hgwebdir (error found by pychecker) 2008-10-28 20:23:22 +01:00
Benoit Boissinot
ea7fe6dacc remove unused variables 2008-10-28 19:25:26 +01:00
Benoit Boissinot
311e4870b2 use our urlopener (proxy handling, etc) instead of urllib 2008-10-27 21:50:16 +01:00
Benoit Boissinot
214af7ec3c factor out the url handling from httprepo
Create url.py to handle all the url handling:
- proxy handling
- workaround various python bugs
- handle username/password embedded in the url
2008-10-27 21:50:01 +01:00
Benoit Boissinot
1af2a5203a merge with dsop 2008-10-27 13:52:55 +01:00
Benoit Boissinot
7c4c2ad96b merge with crew 2008-10-27 13:17:26 +01:00
Patrick Mezard
0147011be6 Merge with crew-stable 2008-10-26 14:02:32 +01:00
Patrick Mezard
844a06bfd6 convert: fix non-ASCII filenames retrieval from git sources (issue 1360) 2008-10-26 13:23:02 +01:00
Dmitriy Taychenachev
c9afc598f9 bookmarks: do nothing if commit was not successful. 2008-10-26 17:08:48 +08:00
Joel Rosdahl
274bad2f13 bookmarks: Strip bookmark names of whitespace, just like tag names 2008-10-25 19:05:52 +02:00
Joel Rosdahl
bfd3d5daa1 bookmarks: Correctly reject newlines in bookmark names
Without this fix, a single newline is a valid bookmark name since
strip() removes it.
2008-10-25 19:05:52 +02:00
Joel Rosdahl
b77bc118fe bookmarks: Require a bookmark name when a revision is specified 2008-10-25 19:05:52 +02:00
Joel Rosdahl
1d75d9e1c8 bookmarks: Improve documentation 2008-10-25 19:05:52 +02:00
Joel Rosdahl
bdb8cd591c bookmarks: Avoid unconditional forwarding of bookmarks for the null revision
This patch fixes the following minor problem:

% hg bookmark -r null test
% hg bookmarks
   test                      -1:000000000000
[...]
% hg commit
% hg bookmarks
 * test                      17:861ce7a241f9

That is: Bookmarks referring to the null revision are always forwarded
to the current revision.
2008-10-25 19:05:52 +02:00
Joel Rosdahl
3cdea78a80 bookmarks: Rename --move to --rename
To me, --move sounds like "make an existing bookmark refer to another
revision", but --move currently means "rename an existing bookmark".
This patch renames the switch to --rename to make it easier to
understand.
2008-10-25 19:05:52 +02:00
Joel Rosdahl
8591a1ba0e bookmarks: Require new bookmark name when renaming 2008-10-25 19:05:52 +02:00
Joel Rosdahl
2c54d20df7 bookmarks: Only save undo.bookmarks if bookmarks exist
Otherwise the command will abort when there is no .hg/bookmarks file.
2008-10-25 19:05:52 +02:00
Joel Rosdahl
88b2c9f687 bookmarks: Avoid long lines 2008-10-25 19:05:42 +02:00
Joel Rosdahl
010e05aba6 bookmarks: Fix spelling and grammar 2008-10-25 16:30:11 +02:00
Joel Rosdahl
4f734fc67a bookmarks: Remove trailing space 2008-10-25 16:29:58 +02:00
Patrick Mezard
54f7c66fa0 convert: read git output in binary mode under Windows (issue 1359) 2008-10-23 14:05:11 +02:00
David Soria Parra
fc2ddf3386 Bookmarks: Add the bookmarks extension
Mercurial bookmarks are local moveable pointers to changesets.
If you commit a changeset that is based on a changeset that has a
bookmark on it, the bookmark is forwarded to the new changeset.

Thanks to Ian Dees, Ronny Pfannschmidt for their patches,
Thanks to ronny, tonfa, prianha, mpm, #mercurial for their comments
and their support that helped me to get things done.
2008-10-22 21:53:27 +02:00
Matt Mackall
6ccb6c0637 zeroconf: don't break on hg showconfig 2008-10-24 11:35:47 -05:00
Thomas Arendsen Hein
912f59bb30 Remove trailing spaces. 2008-10-24 15:00:40 +02:00
Patrick Mezard
a90ccace70 convert: correctly detect missing revlog for root revisions 2008-10-23 23:03:09 +02:00
Patrick Mezard
f10fc4ae24 convert: ignore hg source errors with hg.ignoreerrors (issue 1357)
This flag makes missing revlog errors to be ignored which allow broken
repositories to be fixed by converting them from and to Mercurial.
2008-10-21 21:24:47 +02:00
Dirkjan Ochtman
e085823cf1 clean up trailing spaces 2008-10-20 14:51:55 +02:00
Edouard Gomez
bea37bac1c convert: return remote branches in git source
When converting git repos, all stuff happening on branches
seems to be ignored.

This is caused by the fact a "git clone" of a remote git
repo has all its branches prefixed with "origin/". By
chance, the "origin/master" branch is always linked to a
local "master" branch. So getheads() returns only the
master head, and it ignores all the other heads.

Make sure getheads() returns all heads, forcing remote
branches to be return by git-rev-parse.
2008-10-19 00:32:23 +02:00
Martin Geisler
da335e4675 i18n: import _ instead of gettext 2008-10-21 17:47:49 +02:00
Patrick Mezard
f93bdf76d1 Merge with crew-stable 2008-10-23 15:44:23 +02:00
Matt Mackall
a74ff08b91 inotify: avoid passing potentially stale stat to update 2008-10-22 19:40:32 -05:00
Matt Mackall
e86214ec88 inotify: add debugging mode to inotify
compare inotify results with dirstate results and report any changes
return dirstate results for safety
2008-10-22 19:40:32 -05:00
Matt Mackall
38344e11c6 inotify: auto-start by default when enabled 2008-10-22 19:40:29 -05:00
Matt Mackall
7989382568 inotify: friendlier message when daemon not running 2008-10-22 17:41:41 -05:00
Matt Mackall
e564d351f3 extensions: use new wrapper functions 2008-10-22 17:34:52 -05:00
Matt Mackall
bebeb261d5 findcmd: have dispatch look up strict flag 2008-10-22 17:34:08 -05:00
Thomas Arendsen Hein
614711f636 merge with crew 2008-10-20 18:29:44 +02:00
Christian Ebert
d34f3992ca patchbomb: mime-encode clean utf-8 patches (issue814)
Fixes issue814, but only for utf.
2008-10-20 17:40:29 +02:00
Dirkjan Ochtman
f5ea74b223 clean up trailing spaces, leading spaces in C 2008-10-20 14:57:04 +02:00
Dirkjan Ochtman
664ef048a7 merge with crew-stable 2008-10-20 14:52:58 +02:00
Mads Kiilerich
905ce16584 mq: Fix --qrefresh --short to work with --exclude and --include
pmezard expects
	hg qref -s -X b
to apply the -X to the list of files in the patch, and thus remove b from the
patch.
That's how it worked before c302ef4372b2. That change seemed sensible, but it
wasn't...

mpm says
	(17:22:30) pmezard_: kiilerix1: do you mean that -X should be forbidden with -s ?
	(17:22:54) pmezard_: kiilerix1: and --include too
	(17:23:03) mpm: No because you should be able to say hg qref -s foo* -X foo-bar
so mpm expects
	hg qref -s -X b *
to apply the -X to the list of files in the working directory, and thus don't
include b in the patch

This patch tries to make both usecases work by creating a matchfn which uses
the include/excludes but not the filelist.
2008-10-19 16:31:24 +02:00
Thomas Arendsen Hein
0bafe8661c convert documentation: --config argument with spaces needs quoting. 2008-10-19 15:24:33 +02:00
Brendan Cully
428ac5338a mq: heavy rearrangement of qnew to make it recover reliably from errors.
Closes issue1269.
2008-10-18 21:52:22 -07:00
Brendan Cully
c935fe6e01 mq: abort qnew -f if any file in an explicit list cannot be read 2008-10-18 20:45:53 -07:00
Brendan Cully
eeb6237595 mq: make qimport -f work properly. Closes issue1255.
From Bernhard Leiner.
2008-10-18 17:29:45 -07:00
Brendan Cully
08cb02aa5a mq: let qimport read patches from URLs 2008-10-18 16:40:01 -07:00
Brendan Cully
cc98fdf26c mq: do not invoke editor until just before patch creation. Closes issue1346. 2008-10-18 16:33:10 -07:00
Benoit Boissinot
56d9a3258b merge with crew 2008-10-18 23:20:23 +02:00
Benoit Boissinot
3babcafb3e inotify: fix status not showing "clean" files (issue907)
The inotify server uses 'c' for clean, not 'n'.
2008-10-18 23:06:29 +02:00
Brendan Cully
203e3723e8 Prevent import over an applied patch (closes issue795) 2008-10-18 13:22:29 -07:00
Stefano Tortarolo
7658d9947c rebase: disable rollback after rebasing 2008-10-18 17:00:28 +02:00
Martin Geisler
657a408af8 churn: corrected help output 2008-10-18 16:51:26 +02:00
Dirkjan Ochtman
c5e3760e1d help: better documentation intro for a few extensions 2008-10-18 16:56:39 +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
Martin Geisler
c150a9a698 bookmarks: Include bookmarks in tags. 2008-10-09 08:49:03 +02:00
David Soria Parra
93e9b4e592 bookmarks: Fix indention 2008-12-05 11:12:46 +01:00
Stefano Tortarolo
9061d953b4 rebase: avoid redundant merges (issue1301) 2008-09-16 17:51:14 +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
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
Matt Mackall
e03f4e2f73 util: set_flags shouldn't know about repo flag formats 2008-08-10 21:55:06 -05:00
Thomas Arendsen Hein
1b6356a390 convert: Fix debugging output when running multiple commands with xargs. 2008-08-08 18:37:50 +02:00
Doug Philips
8e9dcfc98a Let the notify extension use [diff] options too. 2008-08-07 09:31:42 +02:00
Kevin Christen
c645a04c2d Add a reset before and after colorized output
This is how GNU's ls --color works, and it clears up problems in xterm and
Windows command prompt windows.
2008-07-15 18:10:37 -05:00
Kevin Christen
86047a7399 Apply color to output of qseries --verbose
Fixes issue 1173.
2008-07-23 20:33:23 -05:00
Patrick Mezard
1bb123d6bf color: improve mq extension detection 2008-08-02 13:49:13 +02:00
Patrick Mezard
dac1504d71 convert: normalize paths sent to svn get_log (issue 1219) 2008-07-27 17:09:33 +02:00
Patrick Mezard
da68d00afc convert: remove leading slash from ra.check_path inputs (issue 1236) 2008-07-25 20:43:41 +02:00
Patrick Mezard
beff6fa2b6 convert: restore previous svn transport parent correctly 2008-07-25 20:37:41 +02:00
Dirkjan Ochtman
1fcc9951d2 churn: fix documentation for churn options 2008-07-25 13:23:59 +02:00
Dhruva Krishnamurthy
efe9469ff7 convert: use git executable only, with subcommands
The latest GIT has some changes in the way it is installed. Only the 'git'
executable need to be in the path. All other commands are treated as sub
commands of 'git'.
2008-07-24 22:44:15 +02:00
Martin OConnor
8a6ec085df Bug:1201 hg convert on CVS working copy produces Traceback
Fix identified by frank@kingswood-consulting.co.uk

Changed usage fron os.environ["HOME"] to expanduser("~/.cvspass") as
this is the
 only usage of this construct in mercurial sources.
2008-06-25 19:41:43 +01:00
Patrick Mezard
42c2e73f4f mq: fix qrefresh losing copy information (issue 1134) 2008-07-07 09:16:09 +02:00
Christian Ebert
5cbc9e210a highlight: convert text to local before passing to pygmentize (issue1341)
Example case:
Display file written in iso-8859-1 with current HGENCODING utf-8.
At the moment only an Error page appears because pygmentize
chokes on the replacement chars.

Alternatives:
1) Turn off highlighting and avoid UnicodeDecodeError
   for files that are not in HGENCODING.
2) [this patch] use util.tolocal to display these files.

Alternative 2) seems ok, as this only concerns display and
readability.

See also: c5f1a58b8b9a, apparently put aside during refactor of
highlight.

Add test for UnicodeDecodeError with iso-8859-1 file contents.
2008-10-17 12:12:33 +02:00
Christian Ebert
586a27bcb7 notify: mime-encode messages
- addresses will be properly encoded
- message bodies will also be encoded as we are not sending
  patches that are meant to be applied
- update test output
- adapt test-keyword to ignore the new headers
2008-07-12 19:12:18 +01:00
Christian Ebert
626bb525a0 patchbomb: mime-encode headers and parts not containing patches
Do nothing for "hg email --test" to preserve display.
2008-07-12 19:12:10 +01:00
Mads Kiilerich
552c248fa5 mq: Allow qrefresh --silent to take parameters
'hg qrefresh --short file.txt' now adds changes made to file.txt to current
patch.

This builds on a patch for implementing --amend by Kirill Smelkov as discussed
in issue933.

FIXME: Why do mq refresh have two matchers if we only need one?
2008-10-17 21:26:39 +02:00
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