1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-05 07:01:11 -08:00
emacs/lisp/vc
Daniel Pittman 9d5c4d0746 Fix interaction between vc-hg find-file-hook and vc state caching
Bad assumptions in the `vc-hg-find-file-hook' prevented it from
working. This correctly them.  (Bug#33129).

2018-10-23  Daniel Pittman  <slippycheeze@google.com>

	* lisp/vc/vc-hg.el (vc-hg-find-file-hook): This function made two
	assumptions about conflicted files that were not accurate,
	preventing conflicts in files ever being detected.

	The first was that the `vc-state' was cache by the time this was
	invoked, which it is not - at least when visiting the file, or
	using `vc-refresh-state'.

	The second was that a file with the ".orig" extension would be
	present, next to the file being visited.  This is the default
	behavior of Mercurial, but can be overridden by the user.

	Since the VC mode-line code will shortly calculate the state for
	display, the optimization of testing for the ".orig" file only
	delayed this work by a few moments.
2018-11-03 10:34:56 +02:00
..
add-log.el Minor rewording of last change 2018-07-21 19:11:32 +03:00
compare-w.el
cvs-status.el
diff-mode.el * lisp/vc/diff-mode.el: Improve diff-font-lock-prettify 2018-10-21 11:05:49 -04:00
diff.el * lisp/vc/diff.el (diff-buffer-with-file): Support indirect buffers. 2018-07-29 00:30:01 +12:00
ediff-diff.el
ediff-help.el
ediff-hook.el
ediff-init.el
ediff-merg.el
ediff-mult.el
ediff-ptch.el
ediff-util.el Let ediff '=' compare against ancestor buffer (Bug#11320) 2018-06-28 22:09:04 -04:00
ediff-vers.el
ediff-wind.el
ediff.el
emerge.el
log-edit.el New option to make 'C-x 4 a' use file-less ChangeLog buffers 2018-07-21 16:02:57 +01:00
log-view.el
pcvs-defs.el
pcvs-info.el file-attributes cleanup 2018-09-23 18:32:59 -07:00
pcvs-parse.el
pcvs-util.el
pcvs.el
smerge-mode.el Speed up smerge-refine-regions by avoiding fsync 2018-07-12 21:45:31 -04:00
vc-annotate.el
vc-bzr.el * lisp/vc-bzr.el (log-view-current-tag-function): Remove unused defvar. 2018-09-26 19:48:27 +02:00
vc-cvs.el file-attributes cleanup 2018-09-23 18:32:59 -07:00
vc-dav.el
vc-dir.el
vc-dispatcher.el
vc-filewise.el
vc-git.el Finish fix for Bug#21559 2018-09-29 12:40:15 +02:00
vc-hg.el Fix interaction between vc-hg find-file-hook and vc state caching 2018-11-03 10:34:56 +02:00
vc-hooks.el file-attributes cleanup 2018-09-23 18:32:59 -07:00
vc-mtn.el
vc-rcs.el file-attributes cleanup 2018-09-23 18:32:59 -07:00
vc-sccs.el
vc-src.el
vc-svn.el file-attributes cleanup 2018-09-23 18:32:59 -07:00
vc.el * lisp/vc/vc.el (vc-retrieve-tag-hook): Remove autoload cookie. 2018-10-09 20:24:45 +02:00