timeless@mozdev.org
001844931f
en-us: penalize
2012-08-17 13:58:19 -07:00
Martin Geisler
d8334151e6
Remove FSF mailing address from GPL headers
...
The GPLv3 FAQ suggests to upgrade by
[...] replace all your existing v2 license notices (usually at the
top of each file) with the new recommended text available on the GNU
licenses howto. It's more future-proof because it no longer includes
the FSF's postal mailing address.
This removes the postal address, but leaves the version number at 2+.
2012-01-06 16:27:13 +01:00
Azhagu Selvan SP
f5c025b9a9
mercurial.el: fix hg-outgoing path when 'default-push' is not defined
...
hg-outgoing path is set as 'default-push' which prevents it from working in
repos which only have 'default' defined.
Fix provided by Kyujin Shim at
http://alexott.net/en/writings/emacs-vcs/EmacsMercurial.html
2010-10-20 18:15:47 +05:30
Martin Geisler
a0c08172ed
mercurial.el: add forgotten version number
...
The number was accidentally removed in the change from GPLv2 to GPLv2+
in fba10de77fcb.
2010-01-20 16:48:20 +01:00
Matt Mackall
595d66f424
Update license to GPLv2+
2010-01-19 22:20:08 -06:00
Jonathan Kotta
54a1763f72
allow toggling when the cursor is on the correct line instead of just the filename text in hg-commit-toggle-file
2009-05-13 13:07:43 -05:00
Bryan O'Sullivan
548c365ad9
mercurial.el: note new Emacs VC mode support
2008-03-27 12:52:41 -07:00
NIIMI Satoshi
33f14d7efe
mercurial.el: mark-marker() returns non-nil with no active mark on GNU Emacs
2007-10-11 06:10:45 +09:00
NIIMI Satoshi
471e00333a
mercurial.el, mq.el: remove runtime dependencies on CL package
...
* (require 'cl) at compile-time
* don't use map()
2007-10-11 05:58:54 +09:00
Thomas Arendsen Hein
a799589be4
merge with crew-stable
2007-08-07 10:28:14 +02:00
Thomas Arendsen Hein
001b7980f8
Remove trailing spaces
2007-08-07 10:24:33 +02:00
jon.christopher@Rigaku.com
db9543cd23
Re: mercurial.el and hg-version-other-window
...
hg-version-other window is unimplemented in mercurial.el. The version
below works for me, YMMV.
2007-07-14 11:27:58 -05:00
NIIMI Satoshi
ad08d10949
mercurial.el: ignore errors on hg-after-save-hook()
...
Don't signal an error even if running hg command fails. Otherwise,
succeeding hooks won't be called.
2007-05-22 07:24:06 +09:00
NIIMI Satoshi
2d751dee3c
mercurial.el: change default log range to tip:0
...
If the tip revision is smaller than hg-rev-completion-limit (defaults
to 100), "hg log -r tip:-100" fails.
Since performance does not differ between "hg log -l 50 -r tip:0" and
"hg log -l 50 -r tip:-100" even on large repository, default range can
be changed from "tip:-100" to "tip:0" without any drawbacks.
2007-05-22 08:05:16 +09:00
NIIMI Satoshi
1c67345a13
mercurial.el: fix error on hg-read-rev() with small tip, and cleanups
...
* Fix error if tip revision is smaller than hg-rev-completion-limit
If tip revision is 10, "hg log -r -100:tip" fails.
* Remove dependencies on cl package at runtime
Quote from GNU Emacs Lisp Reference Manual, Emacs Lisp Coding Conventions:
> * Please don't require the `cl' package of Common Lisp extensions at
> run time. Use of this package is optional, and it is not part of
> the standard Emacs namespace. If your package loads `cl' at run
> time, that could cause name clashes for users who don't use that
> package.
* Check XEmacs at compile time
Since byte-compiled file is not portable between GNU Emacs and
XEmacs, checking type of emacs can be done at compile time. This
reduces byte-compiler warnings.
* Defvar variables binded dynamically and used across functions
* Combine status output string to state symbol alist into a variable,
and use char instead of string for key of state alist
* Make hg-view-mode as minor-mode
* Define keymaps as conventions
2007-05-07 21:44:11 +09:00
NIIMI Satoshi
30fab1e0c5
mercurial.el: don't raise an error from find-file-hook
...
find-file() shouldn't fail even if unreadable .hg directory is exists.
Not enabling hg-mode is sufficient for that senario.
2007-05-05 15:56:49 +09:00
NIIMI Satoshi
819c1ff3d3
mercurial.el: move defmacro of hg-do-across-repo before use
...
Macros must be defined before use to be byte-compiled properly.
2007-05-05 15:50:40 +09:00
Brendan Cully
15abedecdd
Unconfuse font-lock
2007-05-07 08:42:48 -07:00
Bryan O'Sullivan
e55bd65d54
mercurial.el: deal with more vagaries of "hg status".
...
If we run "hg status" on a file that does not exist, it prints an error
message. Attempt to extract the name of the file.
2006-08-22 15:15:52 -07:00
Bryan O'Sullivan
01df2e50e5
mercurial.el: add hg-cwd
2006-08-22 14:03:10 -07:00
Bryan O'Sullivan
9447cded78
mercurial.el: speed up mode line updates.
2006-08-22 14:02:43 -07:00
Bryan O'Sullivan
154114b444
mercurial.el: add hg-status.
2006-08-22 11:37:18 -07:00
Bryan O'Sullivan
4d1786ec1f
mercurial.el: use parents in modeline, not tip
2006-08-22 11:36:58 -07:00
Bryan O'Sullivan
c4a476da55
mercurial.el: fix hg-chomp.
2006-08-22 11:24:59 -07:00
Bryan O'Sullivan
0127d671dc
mercurial.el: fix calls to goto-char.
2006-08-22 08:54:19 -07:00
Bryan O'Sullivan
093b29e224
mercurial.el: get rid of unportable, unperformant use of replace-regexp.
2006-08-22 08:53:37 -07:00
Giorgos Keramidas
95ed16f229
Use cached hg-root-dir instead of rediscovering
...
by a second call to (hg-root). We have the path
we need already as the value of hg-root-dir.
2006-08-13 20:21:13 +03:00
Giorgos Keramidas
1f91b78691
avoid calling (cd ...) with `nil' as a directory name
...
When (hg-root) cannot determine the current Mercurial root, print an
error message instead of trying to evaluate (cd nil).
2006-07-30 09:37:08 +03:00
FUJIWARA Katsunori
feed3e771b
Emacs: apply "expand-filename" on "default-directory".
...
"default-directory" may has home directory("~") relative path in some
runtime environment(or emacs revision ?), so expand-filename is
required.
2006-07-22 23:35:16 +09:00
FUJIWARA Katsunori
73f0f2e2ee
Emacs: apply kill-local-variable instead of make-local-variable to FORGET
2006-07-22 23:30:19 +09:00
Vadim Gelfer
82a6d82061
mercurial.el: fix misleading indent of code.
...
code was correct, indent was wrong.
2006-06-29 10:35:15 -07:00
Vadim Gelfer
ad8c158ca2
mercurial.el: inhibit backups for files managed by mercurial
2006-06-29 10:27:09 -07:00
Vadim Gelfer
77cf84bc90
merge emacs changes.
2006-06-18 21:15:01 -07:00
Vadim Gelfer
6d81af657d
merge with crew.
2006-06-18 21:04:42 -07:00
FUJIWARA Katsunori
42626859e7
Emacs: follow the revision usage policy of "hg diff" command.
...
This patche makes "parent" as default revision of diff command.
2006-06-18 04:13:33 +09:00
FUJIWARA Katsunori
645be5112b
Emacs: change directory of output buffer to the root of the repository.
2006-06-18 04:02:56 +09:00
FUJIWARA Katsunori
a0c3415d1d
Emacs: use default-directory' if
buffer-file-name' is null.
...
This patch allows you to co-operate with Mercurial in dired buffer.
2006-06-18 03:46:00 +09:00
FUJIWARA Katsunori
778100dd4b
Emacs: use delete-region instead of kill-* functions.
...
This patch eliminates `kill-line' which taints kill-ring,
and `kill-entire-line' which is specific for XEmacs.
2006-06-17 00:06:28 +09: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
Robin Farine
6e0b544ef0
emacs minor mode optional argument
...
With GNU Emacs 21.4.1 and desktop save/restore enabled, loading
"mercurial.el" from ".emacs" breaks Emacs' initialization sequence
when the desktop restore code loads a file under Mercurial control.
The function 'desktop-create-buffer' passes an argument to each
minor mode it activates for the buffer.
2005-09-28 19:42:03 +02:00
Thomas Arendsen Hein
455a56454d
Cleanup of tabs and trailing spaces.
2005-09-21 07:56:19 +02:00
Bryan O'Sullivan
6745f74e0f
mercurial.el: implement hg-pull, and stub in hg-update.
2005-09-09 22:07:10 -07:00
jdc@uwo.ca
0780d896b0
Fix mercurial.el help.
2005-08-31 11:58:15 -07:00
jdc@uwo.ca
cff6ac7682
Adjust hg-strip and hg-chomp regexps.
2005-08-31 11:56:58 -07:00
Bryan O'Sullivan
18fbb99246
Emacs: fix invocations of "hg log" to match current behaviour of log.
2005-08-31 10:54:00 -07:00
Bryan O'Sullivan
00135fa2ee
Emacs: implement hg-incoming, hg-outgoing and hg-push.
2005-08-23 21:53:13 -07:00
Bryan O'Sullivan
de1873f73e
Emacs: fix up hg-log and hg-diff to operate more uniformly.
2005-08-23 16:46:10 -07:00
Bryan O'Sullivan
a8e6cde878
Merge with MPM.
2005-08-23 15:42:06 -07:00