Commit Graph

187 Commits

Author SHA1 Message Date
Vadim Gelfer
844d833844 move hgk.py into hgext. now to enable "hg view" is one less step.
edit ~/.hgrc:

[extensions]
hgext.hgk =

cp contrib/hgk ~/bin
2006-06-14 15:41:06 -07:00
Vadim Gelfer
bd8276a666 move purge extension out of hgext.
it is not as clean as other modules in hgext.
can move back after rewrite.
2006-06-04 17:08:02 -07:00
Vadim Gelfer
0dd4907595 merge with crew. 2006-06-01 13:47:34 -07:00
TK Soh
cf3a279096 various fixes to darcs conversion script
1. removed files were missed
2. hidden files in top directory were not added/removed correctly
3. suppressed spurious warning on adding new files.
4. hg changeset now checked in with original author and date
5. __file__ not supported by pdb.py
2006-05-29 16:46:31 +08:00
Vadim Gelfer
edc115c48d contrib: move hg-menu.vim into contrib/vim directory 2006-05-27 20:45:22 -07:00
Manpreet Singh
acca4070a9 contrib: patch review plugin for vim 7.0
The plugin takes an 'hg export'ed patch (in fact any
single or multi file patch) and opens multiple tabs
containing vim diff/merge windows for each affected
file in the patch allowing full visual code reviews.
2006-05-27 20:44:53 -07:00
Sébastien Pierre
57e471e17a darcs2hg.py: import darcs project into mercurial
For now, the tags are not taken into account (so you have to reenter
the tags by hand)
2006-05-27 15:04:40 -07:00
Vadim Gelfer
44fdf5e0a9 contrib: add restricted shell. 2006-05-23 09:33:09 -07:00
Marco Barisione
7b55b5bf7d Automatically add the path of hg to %PATH% using add_path 2006-05-22 14:12:41 +02:00
Lee Cantey
a743462e0d Update configuration note with mercurial.ini change from Thomas 2006-05-18 11:48:03 -07:00
Vadim Gelfer
059e0b08c7 merge emacs patches. 2006-05-18 22:46:27 -07:00
FUJIWARA Katsunori
db4f956aa0 Emacs: separate limitations of revision range and shown changesets.
For revision range limitation,
use "-r" opt with range notation at "hg log" invocation, and
use hg-rev-completion-limit as default value.
For shown changesets limitation,
use "-l" opt at "hg log" invocation, and
use hg-log-limit as default value.
2006-05-18 22:44:36 -07:00
FUJIWARA Katsunori
b1ae07c169 Emacs: adapt read-file-name invocation for (non-X)Emacs 21.4.
this patch deters hg-read-file-name from passing hg-file-history to
read-file-name as 6th parameter in non-X Emacs environment.
2006-05-18 22:43:09 -07:00
Lee Cantey
3070d57782 Add section for configuration notes with initial note about the default editor 2006-05-18 10:09:16 -07:00
Thomas Arendsen Hein
82dbbf6d45 Fix hg view if author's name contains unmatched quotes. (issue248)
This was caused by the often seen Tcl list vs. string programming error.
2006-05-17 14:46:12 +02:00
Lee Cantey
b2b411d7f9 Update Windows release notes and install script for v0.9 2006-05-12 21:25:58 -07:00
Lee Cantey
019412ec07 Update release notes and copyright year for Windows installer. 2006-05-05 22:13:56 -07:00
Vadim Gelfer
c1238a617f convert-repo: fix reversed time zone offset 2006-04-19 11:29:41 -07:00
Lee Cantey
bfac2dd926 update windows readme to document msys/mingw rxvt problems. 2006-04-19 10:56:44 -07:00
Thomas Arendsen Hein
61dd59387f Use the new format of setting tags in view extension (Debian bug #361897) 2006-04-11 12:44:13 +02:00
Alexis S. L. Carvalho
c5f6f508f5 bash_completion: completion for commands provided by extensions
Make the bash_completion function call _hg_cmd_$cmd to generate
completion candidates for $cmd if that function exists.

Add basic completion functions for:

- mq:
  - qpop
  - qpush
  - qdelete
  - qsave
  - qcommit
  - strip

- hbisect:
  - bisect

- patchbomb:
  - email

- gpg:
  - sign
2006-04-03 14:56:00 +02:00
Alexis S. L. Carvalho
bb83bf89db bash_completion: small optimization
Right now we always call "hg help $cmd" to get the canonical name of $cmd
(i.e. to go from "co" to "update").

This patch optimistically assumes that $cmd is already the canonical form
and tries to generate completions for it.  If that fails, it falls back
to canonicalizing $cmd and trying again.

This means that:

- if a command or alias is explicitly handled by the
  _hg_command_specific function, things get somewhat faster

- as long as the canonical $cmd is handled by _hg_command_specific, all
  its aliases and abbreviations are also handled.
2006-04-02 18:20:52 +02:00
Thomas Arendsen Hein
7bd3e367e7 Make 'hg tags -q' only list tag names without revision numbers and hashes,
and change bash_completion to use this.
2006-04-01 23:57:24 +02:00
Alexis S. L. Carvalho
b5be2f0b92 add --options to debugcomplete and change bash_completion to use it
make debugcomplete print one item per line (this is not needed for the
bash_completion script, but should be easier to use in other scripts)
2006-04-01 22:50:12 +02:00
Hollis Blanchard
483cd8bfdc hgk "committer:" bug
I've been having an hgk problem with this tree:
http://xenbits.xensource.com/ext/linux-ppc-2.6.hg, specifically changeset
93c590d23a53.

The problem seems to be that the commit message contains a "committer:" line,
which triggers a (relatively unused?) case in hgk.py... Both cases need the
dates at the end of the line.
2006-03-15 03:19:16 +01:00
Thomas Arendsen Hein
63d0e7a57c New version/release in mercurial.spec, patchbomb is now in hgext. 2006-03-12 15:11:11 +01:00
Xiaofeng Ling
3ce0ba8182 fix contrib/mercurial.spec for hgext 2006-03-12 15:07:40 +01:00
Thomas Arendsen Hein
0a049bc1ef Make bash_completion more robust for e.g. broken hgrc or old hg installations. 2006-03-12 12:29:03 +01:00
Benoit Boissinot
8c2989d646 new command debugcomplete
add a new command debugcomplete, it lists all the possible
completion for the specified command.
make the bash_completion script uses it instead of the awk code
2006-03-12 11:32:03 +01:00
Thomas Arendsen Hein
c8d9d88df5 Moved bisect extension to hgext folder. 2006-03-08 19:30:30 +01:00
Thomas Arendsen Hein
0437032c16 Added copyright information to hbisect.py 2006-03-08 19:25:03 +01:00
Thomas Arendsen Hein
8bb6736d79 Make bisect extension work with python2.3 2006-03-08 05:31:20 +01:00
Thomas Arendsen Hein
a881a92ada Fixed spacing/indentation, removed #! script header, added short description. 2006-03-08 05:16:36 +01:00
Thomas Arendsen Hein
793e55438b Fixed contrib/hbisect.py to work with the new opener behaviour. 2006-03-08 05:07:20 +01:00
Lee Cantey
30c4e31573 Remove patchbomb from list of contrib files to install since it's now an extension.
Innosetup script was referencing old contrib location.
Also cosmetic change to group related files.
2006-03-06 21:03:46 -08:00
Alexis S. L. Carvalho
9a000b91a7 Really fix bash_completion on Solaris. Maybe. Hopefully.
Use substr instead of sub.
2006-03-01 14:52:28 +01:00
Alexis S. L. Carvalho
6ba2866bba Fix bash_completion on Solaris
TK Soh noticed that the awk that ships with Solaris doesn't allow you
to define new functions.  According to
http://www.shelldorado.com/articles/awkcompat.html
it looks like it also doesn't have some other stuff that we were using,
like deletion of an array element and gsub.

Rewrite the parsing of hg --debug help to work around that. This
version doesn't filter aliases that are simple abbreviations for debug
commands (not a big problem, since there are none right now).
2006-02-28 11:49:35 -06:00
Benoit Boissinot
f98eafd479 bisect: fix for recent changes disallowing "false" merges 2006-02-19 18:59:20 +01:00
Matt Mackall
3c42236268 Revert convert-repo changes 2006-02-13 12:48:28 -06:00
lcantey@gmail.com
207fed5cdc Update version strings and add release notes to Windows specific files 2006-02-03 11:29:39 +01:00
Vadim Gelfer
74c20c0bae merge with crew. 2006-02-03 00:52:31 -08:00
Vadim Gelfer
65a53c316b make stuff for macos x binary package.
it is now easy to make prebuilt binary for macos x.  i have no hosting
space.  i hope someone else can make binaries.
2006-02-03 00:50:28 -08:00
Thomas Arendsen Hein
df5b521a79 Cleanup of spacing in bash_completion 2006-02-02 08:16:17 +01:00
Thomas Arendsen Hein
d64ca73426 Use user specified path to hg in bash_completion
e.g. for multiple installs with different versions or extensions.
2006-02-02 07:50:20 +01:00
Vadim Gelfer
5ddda972ae turn patchbomb script into an extension module.
command name is now 'hg email'.
2006-01-31 08:06:35 -08:00
Matt Mackall
08e52a57b8 convert-repo: use commit rather than rawcommit 2006-01-29 18:38:56 +13:00
Matt Mackall
f7a7ecf39e convert-repo: automatically create empty map file 2006-01-29 17:22:03 +13:00
mason@suse.com
1ddefaa316 Remove duplicate bunidiff code from hgdiff, importing from mdiff.py instead 2006-01-28 17:16:15 +13:00
Alexis S. L. Carvalho
12832e1570 bash_completion: ignore hg help error messages
They are usually not useful when you're completing stuff and end up
cluttering the screen.
2006-01-27 12:15:39 +01:00
Alexis S. L. Carvalho
01b4cbf805 bash_completion: always use single quotes with compgen -W
This avoids a bug in bash 2.05a
2006-01-27 12:11:14 +01:00