Commit Graph

2775 Commits

Author SHA1 Message Date
Brendan Cully
5d7f00c97d Add portable shell-quoting function; teach mq to use it. 2006-08-05 15:23:26 -07:00
Benoit Boissinot
69b70a588e mailbomb: add a comment and remove the bcc in a more pythonic way 2006-08-06 16:03:02 +02:00
Brendan Cully
b5f7a6230c Add '.' as a shortcut revision name for the working directory parent. 2006-08-04 14:36:03 -07:00
Vadim Gelfer
c5053e3bb6 make error better. 2006-08-05 02:00:09 -07:00
Vadim Gelfer
8b999d6f47 merge with self. 2006-08-04 10:38:17 -07:00
Vadim Gelfer
f34bef85ce fix output of test-backout. 2006-08-04 10:37:40 -07:00
Brendan Cully
956d0c4e17 Test suite for log --follow and --follow-first. 2006-08-03 15:12:15 -07:00
Brendan Cully
e901963dbd Add log option --follow-first to follow only the first parent of
merges.

This can be useful to extract a single line of development.
2006-08-03 11:48:56 -07:00
Brendan Cully
1a2cc77cfa Make log --follow revision range start default to working dir parent. 2006-08-03 13:29:31 -07:00
Vadim Gelfer
e7a19cd577 merge with brendan. 2006-08-03 11:12:02 -07:00
Brendan Cully
03cc700164 Use StatusEntry class instead of repeated status line parsing.
This small cleanup abstracts out repeated instances of
(rev, name) = applied[x].split(':'), making it easier to use
applied or change the status file format.
2006-08-03 11:09:12 -07:00
Brendan Cully
aec3a9ce5b Make log --follow without a file list follow a single head.
This includes all the parents or children (depending on the direction
of the revision range).
2006-08-03 11:06:09 -07:00
Vadim Gelfer
25f77c8e58 mq: make queue.unapplied useful as api 2006-08-02 21:06:12 -07:00
Vadim Gelfer
9f3dbcd014 mq: print matches if patch name not unique 2006-08-02 06:36:27 -07:00
Mathieu Clabaut ext:(%22)
dced35893a Import say a file is not tracked after patching : test case 2006-08-02 09:29:17 +02:00
Vadim Gelfer
7369cfc5b9 mq: simplify save_dirty 2006-08-02 20:33:57 -07:00
Brendan Cully
cd3bd9b901 Add -f option to qfold; improve qfold documentation. 2006-08-02 15:07:37 -07:00
Brendan Cully
a7db3381e3 Clean up qnew help text. 2006-08-02 14:48:59 -07:00
Vadim Gelfer
45763df4fc tests: fix output for test-backout 2006-08-02 13:04:36 -07:00
Vadim Gelfer
338d2303a1 allow None for path of hg.repository 2006-08-02 12:46:00 -07:00
Vadim Gelfer
821fc85964 mq: rename read_series as parse_series, make simpler and faster 2006-08-02 10:48:34 -07:00
Bryan O'Sullivan
688915efdf fix call to commands.setremoteconfig 2006-08-02 09:18:56 -07:00
Vadim Gelfer
3e92464f80 clone: replace long help string of inaky with doc comment. 2006-08-01 19:58:34 -07:00
Inaky Perez-Gonzalez
b5488dcd48 Breakup clone -r extra text help to fit in 80 columns 2006-08-01 11:12:34 -07:00
Inaky Perez-Gonzalez
3c5b91fa37 Expand clone help with hardlink information 2006-08-01 09:50:30 -07:00
Christian Ebert
68ecb33563 fix hg backup option recommendation for auto-merge 2006-08-02 03:17:06 +02:00
Vadim Gelfer
74f5dcdc3d import: make patch apply if run in subdir
fix is same as for mq patch. patch apply code should be merged.
2006-08-01 15:51:13 -07:00
Christian Ebert
e16085a325 hgcommand.vim: requirements & doc self-install more consistent; cosmetics
Check for availability of builtin system().
Set 'compatible' while sourcing script.
File operation during doc self-install:
Escape spaces in ex-commands.
Use quotes in system calls.

Incremented revision number(s).

Size of patch is due to cosmetic cleanups:
Removal of spaces at line endings.
<SID>Prefix to functions when called.
2006-08-02 00:20:28 +02:00
Vadim Gelfer
fb083c6317 fix mq test output. 2006-08-01 15:40:54 -07:00
Vadim Gelfer
dc26ae9fe1 merge patches from brendan cully that did not apply clean against tip. 2006-08-01 15:40:28 -07:00
Brendan Cully
fecf9b2ed3 Add -s option to qseries: display first line of patch header. 2006-08-01 15:24:18 -07:00
Brendan Cully
5cdd0343d1 Check for parent/mod as well as parent.mod in findext.
Debian/Ubuntu ship a system-wide hgrc that loads extensions using
the syntax hgext/extension=, rather than hgext.extension=. Although
the extensions work correctly, hg help <extension> doesn't
understand this form without this patch.
2006-08-01 14:56:54 -07:00
Brendan Cully
b29cf92839 Add more verbose help text to mq commands. 2006-08-01 15:24:12 -07:00
Brendan Cully
00c221cfbb Add -m, -l, -e options to qfold. 2006-08-01 15:24:11 -07:00
Brendan Cully
68e0fb5d2a Add -f option to qdelete, to remove patch file. 2006-08-01 12:21:55 -07:00
Vadim Gelfer
a1413b0539 mq: add qmv as alias for qrename 2006-08-01 10:57:28 -07:00
Brendan Cully
7750dbbb50 New self-explanatory command qrename. 2006-08-01 10:55:06 -07:00
Sébastien Pierre
ed658dff2d [darcs2hg] Windows compatibilty patct
Originally submitted by Daiju Kito
 1. single quote didn't work in several cases
 2. os.unlink tries to delete tmpfile when it's called. It won't wait like unix.
2006-08-01 09:51:36 -04:00
Brendan Cully
7e5a1a4d6a New mq command qfold: Merge patches into the current patch.
Patches should be in the series file but not yet applied.
2006-07-31 20:33:56 -07:00
Brendan Cully
af61c60015 Add command qheader to display the header of a given patch. 2006-07-31 18:39:31 -07:00
Brendan Cully
8d18dc1a62 Add option -e/--edit to qrefresh, to edit the existing header. 2006-07-31 17:55:43 -07:00
Brendan Cully
c05a6aafc0 Change patch header as well as commit message with qrefresh -m or -l. 2006-07-31 18:47:43 -07:00
Brendan Cully
0dab08cb0c Remove pointless reposetup hook from hgk.py 2006-08-01 02:23:05 -07:00
Vadim Gelfer
6569e6bb76 import: switch from application/x-patch to text/x-diff
christian ebert says his mailer was broken.
2006-07-31 12:02:13 -07:00
Alexis S. L. Carvalho
eb9aa4b11b mq: correct the use of super
The first argument passed to super is supposed to be the class where
it's being used, not self.__class__ - the two can be different when
there's inheritance involved.
2006-07-31 14:22:17 -03:00
Vadim Gelfer
fed53854c7 log: add -f/--follow option, to follow rename/copy 2006-07-31 07:31:31 -07:00
Vadim Gelfer
b7a96d1742 clean up hg.py: move repo constructor code into each repo module 2006-07-31 07:11:12 -07:00
Vadim Gelfer
c39398b49b merge with mpm. 2006-07-30 22:52:34 -07:00
Matt Mackall
fb73e75b58 Kill ui.setconfig_remoteopts
This brought too much knowledge about command line particulars into
the ui code. Moved to commands.py.
2006-07-31 00:47:43 -05:00
Vadim Gelfer
fc31092ae7 pull: allow to pull from bundle file without need for bundle: syntax 2006-07-30 21:46:38 -07:00