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
Bryan O'Sullivan
cc1aaeb8c2
Merge with MPM.
2005-08-23 15:30:06 -07:00
bos@serpentine.internal.keyresearch.com
d2ff3fcc48
Sync buffers prior to doing a diff.
2005-08-23 15:27:17 -07:00
bos@serpentine.internal.keyresearch.com
f58baa49ba
Emacs: search for hg in path before looking in funny places.
2005-08-23 14:51:52 -07:00
bos@serpentine.internal.keyresearch.com
3ba9b828ed
Emacs: improved GNU Emacs support.
2005-08-22 15:29:55 -07:00
bos@serpentine.internal.keyresearch.com
68be5d4fdf
Emacs support: numerous changes.
...
Most SCM commands now work in derived buffers (e.g. diff viewing
buffers) as well as buffers backed by files.
diff and log now work properly on repositories and files.
Commit support is more solid.
Doc strings are better.
2005-08-22 15:08:20 -07:00
Bryan O'Sullivan
fe8a00152a
Emacs: update mode lines properly after commit.
2005-08-22 03:41:09 -07:00
Bryan O'Sullivan
dab396d542
Emacs: kill commit buffer once it's done with.
2005-08-22 03:27:27 -07:00
Bryan O'Sullivan
2ccf192f2f
Emacs: first cut at commit support.
2005-08-22 03:16:32 -07:00
Bryan O'Sullivan
d11b84dd65
Emacs: document existing functions.
2005-08-21 22:46:57 -08:00
Bryan O'Sullivan
b1076155ac
Emacs support: add hg-revert-buffer.
2005-08-21 21:51:01 -08:00
mpm@selenic.com
e0aefc415d
Make mercurial.el load with GNU emacs
2005-08-19 18:47:05 -08:00
mpm@selenic.com
ac03d564fb
Remove -C alias for --cwd
2005-08-19 16:51:44 -08:00
Bryan O'Sullivan
efcb2fa17c
In-progress Emacs snapshot.
2005-08-19 06:41:29 -08:00
Bryan O'Sullivan
84636de0f5
Initial skeleton for mercurial.el.
2005-08-18 12:27:57 -08:00